Function at 0x57d3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0xc], edx
push ebx
push esi
push edi
mov ebx, dword [eax + 0xc]
mov ecx, ebx
mov edi, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], ebx
call fcn.005a8450
mov ecx, ebx
mov dword [esp + 0x3c], eax
call fcn.005a8450
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov al, byte [ecx + 4]
mov edx, dword [ecx + 0x18]
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0x70
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
je 0x57d5be
cmp byte [edi + 0x1e], 0
mov esi, 1
mov dword [esp + 0x50], esi
jne 0x57d5be
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
cmp esi, dword [eax]
mov eax, dword [esp + 0x24]
jg 0x57d5be
mov edx, dword [edx + 0xc]
xor ecx, ecx
test eax, eax
jle 0x57d4a7
add edx, 0xe
mov ebx, eax
nop
movzx eax, word [edx]
cmp eax, esi
je 0x57d49f
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x57d490
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jne 0x57d59a
cmp byte [edi + 0x1e], 0
je 0x57d4be
xor esi, esi
xor eax, eax
jmp 0x57d54b
cmp byte [edi + 0xe2], 0
je 0x57d504
mov eax, 0x41
cmp ax, word [edi + 0xe0]
ja 0x57d504
mov esi, dword [edi + 0xec]
test esi, esi
je 0x57d504
mov eax, dword [esi]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x57d51e
mov dword [edi + 0xe8], eax
jmp 0x57d51e
push 0x41
call fcn.005bbcf0
mov esi, eax
add esp, 4
test esi, esi
jne 0x57d518
mov byte [edi + 0x1e], 1
mov eax, esi
test esi, esi
je 0x57d549
push 0x41
push 0
push esi
call fcn.004a75b0
add esp, 0xc
mov byte [esi], 0x81
or eax, 0xffffffff
lea ecx, [esi + 4]
mov word [esi + 0x28], ax
lea eax, [esi + 0x40]
mov dword [ecx], eax
mov byte [eax], 0
mov dword [esi + 0x38], 1
jmp 0x57d54e
mov esi, eax
lea ecx, [eax + 4]
test esi, esi
je 0x57d5b2
mov edx, dword [esp + 0x2c]
mov eax, 0x800
or word [esi + 2], ax
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
push esi
call fcn.00599790
mov ecx, dword [esp + 0x60]
mov edx, eax
mov esi, dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x2c], edx
mov eax, dword [edx + 0xc]
mov word [eax + ecx + 0xe], si
mov eax, dword [esp + 0x24]
inc eax
add ecx, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], ecx
jmp 0x57d59e
mov edx, dword [esp + 0x2c]
inc esi
cmp byte [edi + 0x1e], 0
mov dword [esp + 0x50], esi
jne 0x57d5be
mov ecx, dword [esp + 0x18]
jmp 0x57d473
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax*4]
test edi, edi
je 0x57d668
cmp byte [edi + 0x1e], 0
je 0x57d61f
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, eax
push 0
mov dword [ecx + 0x18], eax
mov ecx, dword [esi]
call fcn.0059a300
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp byte [esp + 0x13], 0x70
mov dword [ecx + 0x18], eax
jne 0x57d822
mov dword [esp + 0x2c], 0
jmp 0x57da53
cmp byte [edi + 0xe2], 0
je 0x57d668
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x57d668
mov edx, dword [edi + 0xec]
mov dword [esp + 0x4c], edx
test edx, edx
je 0x57d668
mov eax, dword [edx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x57d664
mov dword [edi + 0xe8], eax
mov esi, edx
jmp 0x57d68b
push ecx
call fcn.005bbcf0
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x57d681
test edi, edi
je 0x57d681
mov byte [edi + 0x1e], 1
mov esi, eax
test eax, eax
je 0x57d5db
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [edx + 0xc]
cmp dword [esp + 0x24], ecx
jle 0x57d6b4
mov ebx, dword [esp + 0x24]
add edx, 0xe
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, ebx
jl 0x57d6a1
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
lea ecx, [esi + ecx*4]
test edi, edi
je 0x57d713
cmp byte [edi + 0x1e], 0
jne 0x57d5db
cmp byte [edi + 0xe2], 0
je 0x57d713
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x57d713
mov edx, dword [edi + 0xec]
mov dword [esp + 0x38], edx
test edx, edx
je 0x57d713
mov eax, dword [edx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x57d736
mov dword [edi + 0xe8], eax
jmp 0x57d736
push ecx
call fcn.005bbcf0
mov edx, eax
add esp, 4
mov dword [esp + 0x38], edx
test edx, edx
jne 0x57d736
test edi, edi
je 0x57d72e
mov byte [edi + 0x1e], 1
test edx, edx
je 0x57d5e3
lea eax, [esi + 3]
mov word [edx + 6], si
lea eax, [edx + eax*4]
mov dword [edx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [edx + 4], al
xor edx, edx
mov dword [esp + 0x5c], edx
test esi, esi
jle 0x57d5e3
mov ebx, dword [esp + 0x38]
xor edi, edi
add ebx, 0xc
mov ecx, 0x100
nop dword [eax + eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
mov esi, dword [edi + eax]
test word [esi + 2], cx
je 0x57d785
mov ecx, dword [esi + 0x14]
jmp 0x57d7e4
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + edx*4]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x64], eax
test edx, edx
je 0x57d7b4
mov ecx, dword [esp + 0x14]
push eax
call fcn.00580070
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x57d7d4
mov eax, dword [esp + 0x64]
jmp 0x57d7b6
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
cmp eax, dword [edx]
jge 0x57d7d4
mov edx, dword [edx + 0xc]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
call fcn.0059ba70
mov ecx, eax
mov edx, dword [esp + 0x5c]
mov eax, 0x100
or word [esi + 2], ax
mov dword [esi + 0x14], ecx
mov eax, dword [esp + 0x2c]
mov dword [ebx], ecx
add ebx, 4
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 8]
mov al, byte [edi + eax + 0xc]
add edi, 0x14
mov byte [edx + ecx], al
inc edx
mov ecx, 0x100
mov dword [esp + 0x5c], edx
cmp edx, dword [esp + 0x24]
jl 0x57d770
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
jmp 0x57d5e3
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
lea ecx, [eax + 1]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
cmp ecx, eax
jg 0x57d890
xor edx, edx
lea ecx, [esi + 0x70]
nop dword [eax]
mov esi, dword [ecx]
mov edi, dword [esp + 0x58]
cmp esi, dword [esp + 0x2c]
jl 0x57d86f
mov ebx, dword [esp + 0x2c]
dec ebx
add eax, ebx
mov ebx, dword [esp + 0x44]
cmp esi, eax
jle 0x57d888
mov eax, dword [esp + 0x64]
inc edx
add ecx, 0x18
cmp edx, 0xa
jl 0x57d850
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
add dword [edx + 0x3c], ecx
sub dword [edx + 0x38], ecx
jmp 0x57d89f
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esi + 0x48], eax
mov esi, dword [ebx + 0xc]
mov eax, esi
cmp dword [ebx + 0x10], esi
jg 0x57d8b7
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57d8f0
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov eax, dword [esp + 0x40]
lea ecx, [eax + 4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x64], ecx
test edi, edi
je 0x57d960
cmp byte [edi + 0x1e], 0
je 0x57d915
mov dword [esp + 0x20], 0
jmp 0x57da4b
cmp byte [edi + 0xe2], 0
je 0x57d960
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x57d960
mov esi, dword [edi + 0xec]
mov dword [esp + 0x5c], esi
test esi, esi
je 0x57d960
mov eax, dword [esi]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x57d95a
mov dword [edi + 0xe8], eax
mov dword [esp + 0x20], esi
jmp 0x57d98b
push ecx
call fcn.005bbcf0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x57d979
test edi, edi
je 0x57d979
mov byte [edi + 0x1e], 1
mov dword [esp + 0x5c], eax
mov esi, eax
test eax, eax
je 0x57da47
mov ecx, dword [esp + 0x64]
push ecx
push 0
push esi
call fcn.004a75b0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov word [esi + 6], cx
lea eax, [ecx + 3]
lea eax, [esi + eax*4]
mov dword [esi + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [esi + 4], al
xor esi, esi
test ecx, ecx
jle 0x57da4b
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x50], esi
lea ecx, [edi + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
nop dword [eax]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x57da00
push esi
mov ecx, ebx
call fcn.00580070
mov ecx, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x57da21
jmp 0x57da02
xor eax, eax
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
cmp esi, dword [edx]
jge 0x57da21
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov eax, dword [esp + 0x50]
mov edx, dword [edx + eax]
call fcn.0059ba70
mov ecx, dword [esp + 0x48]
add dword [esp + 0x50], 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [edi + 8]
mov dword [esp + 0x48], ecx
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x40]
jl 0x57d9e0
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
jmp 0x57da4b
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, eax
push 0x2cf570
mov dword [eax + 0x1c], 0
mov dword [ecx + 0x24], 0
mov ecx, esi
push dword [eax + 0x18]
call fcn.0059c200
mov eax, dword [esp + 0x30]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x57da97
push 0x2cf570
push dword [eax + 0x18]
mov edx, eax
mov ecx, esi
call fcn.0059c200
add esp, 8
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x30], 0
jne 0x57dc73
mov ecx, esi
call fcn.005979f0
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x28], 0
je 0x57dc69
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
inc eax
mov dword [esp + 0x48], ecx
mov dword [ecx], eax
mov dword [edx + 0x30], eax
mov esi, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], esi
test esi, esi
jne 0x57dafb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.005a8940
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], esi
mov dword [ecx + 0xc], esi
jmp 0x57daff
mov ecx, dword [esp + 0x14]
test esi, esi
je 0x57dc65
mov edx, dword [edx + 0x28]
push eax
call fcn.005965d0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], ecx
cmp ecx, eax
je 0x57db55
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x57db55
push eax
push dword [esp + 0x68]
mov edx, 0xf
call fcn.005a85a0
mov edx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x34]
add edx, 0x48
mov dword [esp + 0x48], edx
push eax
mov edx, 0x15
mov ecx, esi
call fcn.005a8610
add esp, 4
mov edx, 0x72
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.005a85a0
mov edx, dword [esp + 0x20]
add esp, 8
cmp dword [edx + 0x2c], 0
je 0x57dc65
mov eax, dword [esp + 0x48]
inc dword [eax]
mov ecx, dword [eax]
mov dword [edx + 0x34], ecx
inc dword [eax]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x48], ecx
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00596500
add esp, 4
mov edx, 0x15
mov ecx, esi
push dword [esp + 0x48]
call fcn.005a8610
add esp, 4
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x48]
call fcn.005a8610
add esp, 4
mov dword [esp + 0x64], eax
mov edx, 7
mov ecx, esi
push dword [esp + 0x48]
push 0
call fcn.005a85a0
mov edx, dword [esi + 0xc]
add esp, 8
mov eax, dword [esp + 0x64]
cmp edx, eax
jle 0x57dbff
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x48]
mov edx, 0x56
mov ecx, dword [esp + 0x44]
lea esi, [eax + 1]
push esi
push eax
push dword [esp + 0x3c]
call fcn.005a86f0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov edx, 0x70
push dword [esp + 0x34]
call fcn.005a8610
add esp, 4
mov dword [esp + 0x64], eax
mov edx, 7
push esi
mov esi, dword [esp + 0x48]
mov ecx, esi
push 0xffffffffffffffff
call fcn.005a85a0
mov edx, dword [esi + 0xc]
add esp, 8
mov eax, dword [esp + 0x64]
cmp edx, eax
jle 0x57dc61
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp dword [edx + 0x30], 0
je 0x57dd86
cmp byte [esp + 0x13], 0x70
jne 0x57dd86
mov eax, dword [esi + 0x48]
inc eax
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x30], eax
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x34]
test eax, eax
je 0x57dc9e
lea ecx, [eax + 1]
mov dword [esp + 0x5c], ecx
jmp 0x57dca5
mov eax, dword [edx + 0x30]
mov dword [esp + 0x5c], eax
mov esi, dword [ebx + 0xc]
mov eax, esi
cmp dword [ebx + 0x10], esi
jg 0x57dcbd
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57dcf6
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57dd09
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57dd41
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x57dda1
mov edx, esi
mov ecx, edi
call fcn.0059abf0
cmp word [esi + 2], 0
jl 0x57dda1
test edi, edi
je 0x57dd98
cmp esi, dword [edi + 0xf0]
jb 0x57dd98
cmp esi, dword [edi + 0xf4]
jae 0x57dd98
mov eax, dword [edi + 0xec]
mov dword [esi], eax
dec dword [edi + 0xe4]
mov dword [edi + 0xec], esi
jmp 0x57dda1
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
jmp 0x57dd45
push esi
call fcn.005bb990
add esp, 4
mov esi, dword [esp + 0x18]
mov dword [esi + 0x28], 0
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x57ddf6
mov edx, esi
mov ecx, edi
call fcn.0059abf0
cmp word [esi + 2], 0
jl 0x57ddf6
test edi, edi
je 0x57dded
cmp esi, dword [edi + 0xf0]
jb 0x57dded
cmp esi, dword [edi + 0xf4]
jae 0x57dded
mov eax, dword [edi + 0xec]
mov dword [esi], eax
dec dword [edi + 0xe4]
mov dword [edi + 0xec], esi
jmp 0x57ddf6
push esi
call fcn.005bb990
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov word [esp + 0x80], 0xa
mov dword [esp + 0x88], 0
mov dword [eax + 0x2c], 0
mov ecx, dword [esi + 0x48]
inc ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], ecx
mov word [esp + 0x70], 0xa
mov dword [esp + 0x78], 0
lea eax, [ecx + 1]
mov dword [esp + 0x7c], 0
lea edx, [eax + 1]
mov dword [esp + 0x40], eax
lea eax, [edx + 1]
mov dword [esp + 0x74], edx
mov dword [esp + 0x34], eax
add eax, 2
mov dword [esi + 0x48], eax
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x5c], eax
mov eax, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], edi
cmp dword [ebx + 0x10], edi
jg 0x57de94
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57de91
mov dword [esp + 0x64], 1
jmp 0x57decd
mov eax, dword [ebx + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.00579d20
mov esi, dword [ebx + 0xc]
add esp, 4
cmp dword [ebx + 0x10], esi
jg 0x57df06
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57df3e
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57df51
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57df89
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov edi, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x70]
mov dword [ecx + 0x34], 0
mov ecx, dword [esp + 0x14]
push eax
call fcn.00579d20
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57dfd8
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e010
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e023
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e05b
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
push dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0xfffffffffffffff0
push dword [esp + 0x28]
lea eax, [esi + 1]
push dword [esp + 0x38]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x98]
push eax
call fcn.0057ecb0
mov edi, eax
add esp, 0x1c
mov al, byte [esp + 0x13]
mov dword [esp + 0x44], edi
cmp al, 0x70
je 0x57e09e
cmp al, 0x6f
jne 0x57e0d0
push dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffef
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x6c]
push dword [ebp + 8]
push eax
call fcn.0057ecb0
mov dword [esp + 0x7c], eax
add esp, 0x1c
mov al, byte [esp + 0x13]
cmp al, 0x71
je 0x57e23f
cmp al, 0x72
je 0x57e23f
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x30], edi
cmp dword [ebx + 0x10], edi
jg 0x57e102
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57e102
mov edi, 1
mov dword [esp + 0x30], edi
jmp 0x57e136
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e149
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e181
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e194
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e1cc
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e1df
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e213
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [esp + 0x44]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x44], edx
cmp dword [ebx + 0x10], edx
jg 0x57e2b5
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57e2b1
mov dword [esp + 0x44], 1
jmp 0x57e2ed
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x10], esi
jg 0x57e261
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57e261
mov esi, 1
mov dword [esp + 0x30], esi
jmp 0x57e299
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
cmp byte [esp + 0x13], 0x72
jne 0x57e217
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], esi
jmp 0x57e3cb
mov edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x14]
lea ecx, [edx + edx*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e300
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e335
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
inc edx
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e348
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e380
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e393
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e3cb
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x1c], esi
cmp dword [ebx + 0x10], esi
jg 0x57e3ed
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57e3ed
mov esi, 1
mov dword [esp + 0x1c], esi
jmp 0x57e426
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
inc edx
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x57e439
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e471
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x57e484
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e4bc
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x57e4cf
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e507
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov al, byte [esp + 0x13]
cmp al, 0x70
jne 0x57e51d
mov edi, esi
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x20], esi
jmp 0x57e634
cmp al, 0x72
jne 0x57e534
mov ecx, dword [ebx + 0xc]
mov edi, esi
inc esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
jmp 0x57e67c
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x57e54e
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57e54e
mov edi, 1
jmp 0x57e586
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e599
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e5d1
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e5ee
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57e5ee
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x57e626
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
cmp byte [esp + 0x13], 0x6f
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x20], esi
jne 0x57e67c
cmp dword [ebx + 0x10], esi
jg 0x57e644
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e67c
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e68f
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e6c7
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e6da
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e712
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e725
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e75d
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x64]
cmp edx, eax
jle 0x57e772
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e785
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e7bd
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e7d0
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e808
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e81b
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e853
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e866
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e89e
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e8b1
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e8e9
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e8fc
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57e934
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x57e94d
mov eax, dword [esp + 0x54]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57e967
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57e967
mov esi, 1
jmp 0x57e99f
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx]
test edx, edx
je 0x57e9e5
cmp byte [ecx + 0x1e], 0
jne 0x57e9e5
test esi, esi
jns 0x57e9b6
mov esi, dword [ebx + 0xc]
dec esi
lea eax, [esi + esi*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.005a7ff0
mov eax, dword [esp + 0x50]
add esp, 4
test eax, eax
jne 0x57e9dc
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x57ea30
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf1
jmp 0x57ea30
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x57ea30
test ecx, ecx
je 0x57ea17
cmp edx, dword [ecx + 0xf0]
jb 0x57ea17
cmp edx, dword [ecx + 0xf4]
jae 0x57ea17
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x57ea20
push edx
call fcn.005bb990
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
cmp dword [ebx + 0x10], esi
jg 0x57ea5d
mov ecx, ebx
call fcn.005a8760
test eax, eax
je 0x57ea5d
mov esi, 1
jmp 0x57ea95
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx]
test edx, edx
je 0x57eadb
cmp byte [ecx + 0x1e], 0
jne 0x57eadb
test esi, esi
jns 0x57eaac
mov esi, dword [ebx + 0xc]
dec esi
lea eax, [esi + esi*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.005a7ff0
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x57ead2
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x57eb26
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x57eb26
mov edx, dword [esp + 0x38]
test edx, edx
je 0x57eb26
test ecx, ecx
je 0x57eb0d
cmp edx, dword [ecx + 0xf0]
jb 0x57eb0d
cmp edx, dword [ecx + 0xf4]
jae 0x57eb0d
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x57eb16
push edx
call fcn.005bb990
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x57eb39
mov ecx, ebx
call fcn.005a8760
test eax, eax
jne 0x57eb6d
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
test ecx, ecx
je 0x57eb89
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esi + 0x38]
jle 0x57eb89
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x57eba2
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x57ebce
mov eax, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x57ebc0
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x57ebb7
push dword [ecx]
xor edx, edx
mov ecx, esi
call fcn.00580cd0
add esp, 4
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x57ec9d
mov esi, dword [esp + 0x58]
mov edx, edi
mov ecx, esi
call fcn.00582900
test esi, esi
je 0x57ec22
cmp edi, dword [esi + 0xf0]
jb 0x57ec22
cmp edi, dword [esi + 0xf4]
jae 0x57ec22
mov eax, dword [esi + 0xec]
mov dword [edi], eax
dec dword [esi + 0xe4]
mov eax, dword [esp + 0x28]
mov dword [esi + 0xec], edi
mov dword [ebx + 0x1c], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x2e6ed0], 0
je 0x57ec93
mov eax, dword [0x2e9800]
test eax, eax
je 0x57ec3e
push eax
call dword [0x2e6f18]
add esp, 4
push edi
call dword [0x2e6ef4]
mov ecx, dword [0x2e9688]
neg eax
add ecx, eax
add esp, 4
mov dword [0x2e9688], ecx
cmp ecx, dword [0x2e96ac]
jle 0x57ec66
mov dword [0x2e96ac], ecx
push edi
call dword [0x2e6eec]
mov eax, dword [0x2e9800]
add esp, 4
test eax, eax
je 0x57ec9d
push eax
call dword [0x2e6f20]
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [ebx + 0x1c], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x2e6eec]
add esp, 4
mov eax, dword [esp + 0x28]
pop edi
mov dword [ebx + 0x1c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret