Function at 0x579d20
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x5c], edi
mov esi, dword [ebx]
mov dword [esp + 0x18], esi
test edi, edi
je 0x579fb4
cmp byte [esi + 0x1e], 0
jne 0x579fb4
cmp dword [ebx + 0x40], 0
jne 0x579fb4
push 0x2c
lea eax, [esp + 0x94]
push 0
push eax
call fcn.004a75b0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 4
ja 0x579d93
mov edx, dword [edi + 0x18]
mov ecx, esi
call fcn.00599410
mov ecx, 0xfffe
mov dword [edi + 0x18], 0
and word [edi + 6], cx
push 0
mov edx, edi
mov ecx, ebx
call fcn.0057bb40
mov eax, dword [edi + 0x18]
add esp, 4
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x4c], eax
jne 0x57b3a1
cmp byte [esi + 0x1e], 0
jne 0x57b3a1
movzx eax, word [edi + 6]
mov ecx, ebx
shr eax, 2
and eax, 1
mov dword [esp + 0x28], eax
call fcn.00580230
mov esi, eax
mov dword [esp + 0x58], esi
test esi, esi
je 0x57b39d
mov edx, dword [edi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
test edx, edx
jne 0x579f4d
mov eax, dword [esp + 0x4c]
nop
movsx eax, word [eax]
cmp ecx, eax
jge 0x579f4d
mov edx, dword [esp + 0x4c]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [edx + eax*8]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
test edx, edx
je 0x579f39
cmp byte [eax + 0x1c], 0
jne 0x579f39
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov ecx, edi
call fcn.0059b630
mov eax, dword [ebx + 0x208]
mov edx, edi
add eax, dword [esp + 0x40]
mov ecx, ebx
mov dword [ebx + 0x208], eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0057ca00
add esp, 0xc
test eax, eax
je 0x579ea4
cmp dword [esp + 0x24], 0
je 0x579e9b
or word [edi + 6], 4
mov dword [esp + 0x28], 1
or eax, 0xffffffff
mov dword [esp + 0x3c], eax
jmp 0x579ef0
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
push eax
mov word [esp + 0xc8], 9
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call fcn.00579d20
mov eax, dword [esp + 0x20]
add esp, 4
mov byte [eax + 0x1c], 1
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x1e], 0
jne 0x57b399
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov ecx, edi
call fcn.0059b630
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
sub dword [ebx + 0x208], eax
mov eax, dword [edi + 8]
cmp byte [ecx], 4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
jbe 0x579f3d
mov eax, dword [edi + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [edi + 0x1c]
inc ecx
mov dword [esp + 0x3c], ecx
test edx, edx
je 0x579e00
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
movzx eax, word [edi + 6]
and eax, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], eax
test edx, edx
je 0x579fd6
cmp dword [edi + 0x24], 0
jne 0x579fc0
xor edx, edx
mov eax, edi
xor ecx, ecx
mov dword [eax + 0x20], edx
inc ecx
mov dword [eax + 0x24], edi
mov edx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x579f87
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x579fc0
cmp ecx, eax
jle 0x579fc0
push 0x2d0c00
push ebx
call fcn.005b9110
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, edi
mov ecx, ebx
call fcn.0057f160
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ecx]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.00581bf0
add esp, 4
test eax, eax
jne 0x57b39d
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x57a022
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
push 0
call fcn.0059a300
mov dword [esp + 0x3c], eax
add esp, 4
mov dword [edi + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, 0xfffe
and word [edi + 6], ax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x57a066
mov edx, eax
mov ecx, ebx
call fcn.00581640
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 0x44]
push 0xfffffffffffffff0
push eax
mov dword [edx + 8], ecx
mov ecx, esi
inc dword [ebx + 0x44]
mov eax, dword [edx]
push 0
add eax, 2
push eax
push dword [edx + 8]
mov edx, 0x28
call fcn.005a8530
add esp, 0x14
mov dword [esp + 0x1c], eax
mov dword [edi + 0x40], eax
jmp 0x57a06e
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x57a08e
mov ecx, dword [esp + 0x3c]
mov edx, 0x28
push dword [ecx]
mov ecx, esi
push dword [eax + 4]
call fcn.005a85a0
add esp, 8
mov ecx, esi
call fcn.005a8450
push eax
mov edx, edi
mov dword [esp + 0xc4], eax
mov ecx, ebx
call fcn.005800c0
add esp, 4
cmp dword [esp + 0x14], 0
je 0x57a0e0
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x68], eax
inc eax
mov dword [ebx + 0x44], eax
mov edx, dword [edi]
call fcn.00581640
push 0xfffffffffffffff0
push eax
push 0
push 0
push dword [esp + 0x78]
mov edx, 0x28
mov ecx, esi
call fcn.005a8530
add esp, 0x14
jmp 0x57a0e8
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x38]
jne 0x57a182
test edx, edx
jne 0x57a186
push edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x68]
mov ecx, ebx
call fcn.00571ba0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x57b39d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], eax
test edx, edx
js 0x57a154
test eax, eax
jne 0x57a154
push 1
mov ecx, esi
call fcn.005a7c90
mov eax, dword [esp + 0x54]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x40], 0xffffffff
push dword [ecx + 0x14]
mov edx, edi
push dword [ecx + 0x10]
mov ecx, ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [esp + 0x58]
call fcn.00581750
mov ecx, dword [esp + 0x60]
add esp, 0x20
call fcn.00571590
jmp 0x57b33e
test edx, edx
je 0x57a1c0
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x57a1a6
add ecx, 0x10
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x57a194
mov esi, dword [esp + 0x58]
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
test eax, eax
jle 0x57a1c0
add ecx, 0x10
xor edx, edx
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], dx
test eax, eax
jg 0x57a1b2
mov ecx, esi
call fcn.005a8450
mov ecx, dword [esp + 0x38]
xorps xmm0, xmm0
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x90]
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xf0], eax
test ecx, ecx
je 0x57a228
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], 0
mov eax, dword [ecx + 0xc]
jle 0x57a296
mov edi, eax
xor esi, esi
mov ebx, ecx
nop dword [eax]
nop word [eax + eax]
mov edx, dword [edi]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x283860
mov dword [esp + 0x84], 0x283830
mov dword [esp + 0x8c], eax
call fcn.0059d620
inc esi
lea edi, [edi + 0x14]
cmp esi, dword [ebx]
jl 0x57a250
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x57a2f6
cmp dword [ecx], 0
mov eax, dword [ecx + 0xc]
jle 0x57a2f6
mov ebx, eax
xor edi, edi
mov esi, ecx
nop dword [eax]
mov edx, dword [ebx]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x283860
mov dword [esp + 0x84], 0x283830
mov dword [esp + 0x8c], eax
call fcn.0059d620
inc edi
lea ebx, [ebx + 0x14]
cmp edi, dword [esi]
jl 0x57a2b0
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x57a330
lea ecx, [esp + 0xd4]
mov dword [esp + 0x80], 0x283860
mov dword [esp + 0x8c], ecx
mov edx, eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], 0x283830
call fcn.0059d620
mov eax, dword [esp + 0xa4]
xor edx, edx
mov dword [esp + 0xac], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0xb4], edx
jle 0x57a3e3
xor ecx, ecx
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
mov eax, dword [esp + 0xb0]
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
test eax, eax
je 0x57a3c2
mov edi, dword [eax + 0xc]
xor esi, esi
cmp dword [eax], esi
jle 0x57a3c2
mov ebx, eax
mov edx, dword [edi]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x283860
mov dword [esp + 0x84], 0x283830
mov dword [esp + 0x8c], eax
call fcn.0059d620
inc esi
lea edi, [edi + 0x14]
cmp esi, dword [ebx]
jl 0x57a380
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
inc edx
add ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
cmp edx, dword [esp + 0xb4]
jl 0x57a360
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x1e], 0
jne 0x57b399
mov edx, dword [esp + 0x38]
test edx, edx
je 0x57aed6
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x94], eax
inc eax
mov dword [ebx + 0x44], eax
call fcn.00581640
push 0xfffffffffffffff0
push eax
push 0
push dword [esp + 0xa8]
mov edx, 0x28
mov dword [esp + 0x3c], eax
push dword [esp + 0xa4]
mov ecx, esi
call fcn.005a8530
mov dword [esp + 0x44], eax
add esp, 0x14
mov eax, dword [ebx + 0x48]
mov ecx, esi
inc eax
mov dword [esp + 0x44], eax
add eax, 2
mov dword [ebx + 0x48], eax
call fcn.005a8450
inc dword [ebx + 0x48]
mov ecx, esi
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x14], eax
call fcn.005a8450
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x1c], eax
lea eax, [edx + 1]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x38]
add edx, dword [eax]
mov dword [ebx + 0x48], edx
lea ecx, [edx + 1]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
add ecx, edx
inc eax
mov dword [ebx + 0x48], ecx
push eax
push 0
mov edx, 7
mov ecx, esi
call fcn.005a85a0
push dword [esp + 0x4c]
mov edx, 7
mov ecx, esi
push 0
call fcn.005a85a0
push dword [esp + 0x2c]
mov edx, 2
mov ecx, esi
push dword [esp + 0x28]
call fcn.005a85a0
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x38]
push 0
push eax
push dword [esp + 0x80]
mov ecx, ebx
call fcn.00571ba0
add esp, 0x24
mov dword [esp + 0x24], eax
test eax, eax
je 0x57b39d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x57a510
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], 0
jmp 0x57a80e
cmp dword [esp + 0xa4], 0
mov eax, dword [eax]
mov dword [esp + 0x60], 1
mov dword [esp + 0x6c], eax
lea edi, [eax + 1]
mov dword [esp + 0x70], edi
mov edx, edi
jle 0x57a568
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
add esi, 0xc
cmp dword [esi], edx
lea eax, [edi + 1]
lea esi, [esi + 0x18]
cmovl eax, edi
mov edi, eax
lea eax, [edx + 1]
cmovl eax, edx
mov edx, eax
sub ebx, 1
jne 0x57a542
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x70], edi
mov edx, edi
mov ecx, ebx
call fcn.005952e0
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.005979f0
mov edx, dword [esp + 0x38]
push 0
push edx
mov edx, dword [esp + 0x28]
call fcn.00596020
mov ecx, dword [esp + 0x74]
mov edx, 0x34
add ecx, dword [esp + 0x40]
push ecx
push dword [esp + 0xa0]
mov ecx, esi
call fcn.005a85a0
mov ecx, dword [esp + 0x7c]
add esp, 0x10
inc ecx
mov dword [esp + 0x20], 0
cmp dword [esp + 0xa4], 0
mov dword [esp + 0x6c], ecx
jle 0x57a68b
mov edi, dword [esp + 0x38]
add edi, ecx
xor edx, edx
mov dword [esp + 0x78], edx
nop word [eax + eax]
mov eax, dword [esp + 0xa0]
cmp dword [edx + eax + 0xc], ecx
jl 0x57a66a
push 0
push edi
push dword [edx + eax + 4]
mov ecx, ebx
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.00597c00
add esp, 0x10
mov dword [esp + 0x34], eax
cmp edi, eax
je 0x57a65c
mov eax, dword [esi + 0xc]
mov dword [esp + 0x74], eax
cmp dword [esi + 0x10], eax
jg 0x57a628
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57a65c
mov eax, dword [esp + 0x74]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0xf
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 [esi + 0x6e], 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
inc ecx
mov dword [esp + 0x6c], ecx
inc edi
mov eax, dword [esp + 0x20]
add edx, 0x18
inc eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0xa4]
jl 0x57a5e0
mov edi, dword [esp + 0x70]
mov al, byte [ebx + 0x15]
test al, al
jne 0x57a69a
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
jmp 0x57a6a6
dec al
mov byte [ebx + 0x15], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x18]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov eax, ecx
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x10], ecx
jg 0x57a6ca
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57a6ff
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x1e
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x10], ecx
jg 0x57a725
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57a75f
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x43
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 [esi + 0x6e], 0
jmp 0x57a763
mov edx, dword [esp + 0x20]
test edx, edx
je 0x57a791
cmp byte [ebx + 0x15], 8
jae 0x57a791
xor ecx, ecx
lea eax, [ebx + 0x60]
cmp dword [eax + 0x10], edx
je 0x57a78d
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x57a772
movzx eax, byte [ebx + 0x15]
mov dword [ebx + eax*4 + 0x18], edx
inc byte [ebx + 0x15]
jmp 0x57a791
mov byte [eax + 9], 1
cmp edi, dword [ebx + 0x38]
jle 0x57a7a0
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x24]
call fcn.00571590
mov edi, dword [esi + 0xc]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x10], edi
jg 0x57a7c7
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57a7ff
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x3f
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 [esi + 0x6e], 0
mov ecx, ebx
mov byte [esp + 0x91], 1
call fcn.005979f0
mov eax, dword [esi + 0xc]
mov ecx, ebx
mov dword [esp + 0x78], eax
call fcn.005979f0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 0
mov edi, dword [eax]
test edi, edi
jle 0x57a8ff
mov edi, dword [esp + 0x7c]
xor edx, edx
mov dword [esp + 0x70], edx
jmp 0x57a844
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x60], 0
je 0x57a8a7
mov eax, dword [esp + 0x94]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x10], eax
jg 0x57a871
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57a8da
mov eax, dword [esp + 0x34]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x57a8da
mov byte [esp + 0x90], 1
mov ecx, ebx
mov eax, dword [eax + 0xc]
push edi
mov edx, dword [edx + eax]
call fcn.005965d0
add esp, 4
cmp eax, edi
je 0x57a8da
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x57a8da
push edi
push eax
mov edx, 0xf
call fcn.005a85a0
add esp, 8
mov ecx, dword [esp + 0x28]
inc edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
inc eax
add edx, 0x14
mov dword [esp + 0x20], eax
mov ecx, dword [ecx]
mov dword [esp + 0x70], edx
cmp eax, ecx
jl 0x57a840
mov edi, ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], edx
cmp dword [esi + 0x10], edx
jg 0x57a921
mov ecx, esi
call fcn.005a8760
test eax, eax
je 0x57a91d
mov edx, 1
jmp 0x57a95c
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [esi + 0xc]
mov ebx, dword [esp + 0xbc]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffffa
push dword [esp + 0x30]
mov ecx, esi
call fcn.005a7a80
mov edi, dword [esi + 0xc]
add esp, 8
cmp dword [esi + 0x10], edi
jg 0x57a97f
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57a9b1
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
lea eax, [edi + 1]
mov dword [ecx + 8], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov edx, dword [esp + 0x7c]
push dword [eax]
push dword [esp + 0xc0]
call fcn.00597790
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x10], ecx
jg 0x57a9e7
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57aa2a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
add edx, 2
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x10], ecx
jg 0x57aa45
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57aa82
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x70
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x10], ecx
jg 0x57aa9d
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57aad5
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
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 [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
cmp edx, edi
jle 0x57aae6
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.0057b430
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x57ab07
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57ab3f
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
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 [esi + 0x6e], 0
cmp dword [esp + 0x60], 0
je 0x57ab9e
mov edi, dword [esi + 0xc]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x10], edi
jg 0x57ab64
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57abb7
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0x42
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 [esi + 0x6e], 0
jmp 0x57abb7
mov ecx, dword [esp + 0x24]
call fcn.00571590
mov edx, dword [esp + 0x30]
mov ecx, esi
push 1
call fcn.005a7c90
add esp, 4
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x57abca
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57ac09
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
add edx, 2
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
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 [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x57ac1c
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57ac54
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 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 [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x10], edi
jg 0x57ac6b
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57aca4
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
inc edx
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 [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x57acb7
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57acf6
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
add edx, 2
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x57ad0f
mov eax, dword [esp + 0x64]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x57ad22
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57ad58
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
lea eax, [edi + 2]
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
cmp dword [esi + 0x10], ecx
jg 0x57ad73
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57adb6
mov ecx, dword [esp + 0x30]
inc dword [esi + 0xc]
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
add edx, 2
mov ebx, dword [esp + 0x48]
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.0057b7a0
mov edx, dword [esp + 0x40]
inc edi
push 8
push edi
mov ecx, ebx
call fcn.005958d0
push dword [esp + 0x34]
mov ecx, ebx
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x70]
mov edx, edi
push dword [esp + 0x7c]
push dword [esp + 0x68]
push 0
push 0
push dword [edi]
call fcn.00581750
mov ecx, dword [esi + 0xc]
add esp, 0x28
mov dword [esp + 0x30], ecx
cmp dword [esi + 0x10], ecx
jg 0x57ae14
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57ae53
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
add edx, 2
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x57ae6c
mov eax, dword [esp + 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.0057b8f0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
cmp dword [esi + 0x10], ecx
jg 0x57ae99
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57b325
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 3
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 [esi + 0x6e], 0
jmp 0x57b325
cmp dword [edi + 0xc], 0
mov dword [esp + 0x28], 0
jne 0x57b178
mov eax, dword [edi]
cmp dword [eax], 1
jne 0x57b178
mov ecx, dword [edi + 8]
cmp word [ecx], 1
jne 0x57b178
cmp dword [ecx + 0x18], 0
jne 0x57b178
mov ecx, dword [ecx + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
test byte [ecx + 0x22], 0x10
mov edx, dword [eax]
jne 0x57b178
cmp byte [edx], 0x99
jne 0x57b178
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 4]
test byte [eax + 3], 0x20
je 0x57b178
test byte [edx + 2], 0x10
jne 0x57b178
mov edx, dword [ecx + 0x40]
mov ecx, 0xfff0bdc0
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x57af85
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [eax + 4], ecx
jle 0x57af85
mov eax, dword [eax + 8]
mov edi, dword [ebx]
add eax, 0xc
nop dword [eax]
cmp dword [eax], edx
je 0x57af7d
inc ecx
add eax, 0x10
cmp ecx, dword [edi + 4]
jl 0x57af70
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 0x44]
mov edx, ecx
mov dword [esp + 0x64], eax
mov ecx, ebx
inc eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x24], eax
call fcn.0058e3f0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x57afee
xor edx, edx
test edx, edx
je 0x57afc3
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jge 0x57afc5
mov edx, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x57afb7
test edx, edx
je 0x57afee
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 0xc]
jge 0x57afee
mov eax, dword [edx + 0x14]
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.0058e170
mov dword [esp + 0x68], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x30], ecx
cmp dword [esi + 0x10], ecx
jg 0x57b00e
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57b047
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x68]
test edx, edx
je 0x57b0bb
cmp dword [esi + 0x14], 0
mov ecx, dword [esi]
je 0x57b088
cmp byte [ecx + 0x1e], 0
jne 0x57b088
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.005a7ff0
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x60]
jmp 0x57b0b8
test ecx, ecx
je 0x57b0b2
cmp edx, dword [ecx + 0xf0]
jb 0x57b0b2
cmp edx, dword [ecx + 0xf4]
jae 0x57b0b2
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x57b0bb
push edx
call fcn.005bb990
add esp, 4
mov eax, dword [esp + 0xb0]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x10], ecx
jg 0x57b0e4
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57b11c
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1f
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 [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], ecx
cmp dword [esi + 0x10], ecx
jg 0x57b13b
mov ecx, esi
call fcn.005a8760
test eax, eax
jne 0x57b2e0
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x2a
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 [esi + 0x6e], 0
jmp 0x57b2e0
mov eax, dword [edi]
mov dword [esp + 0x14], 0
cmp dword [eax], 1
jne 0x57b249
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
cmp byte [ecx], 0x99
jne 0x57b249
mov eax, 0x1000
test word [ecx + 2], ax
jne 0x57b249
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x57b249
cmp dword [eax], 1
jne 0x57b249
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp byte [eax], 0x9a
jne 0x57b249
mov eax, dword [ecx + 4]
mov edx, 0x2d02c8
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.005b8fb0
test eax, eax
jne 0x57b1e8
mov byte [esp + 0x13], 1
jmp 0x57b1ff
mov ecx, dword [esp + 0x30]
mov edx, 0x2d02cc
call fcn.005b8fb0
test eax, eax
jne 0x57b249
mov byte [esp + 0x13], 2
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push 0
call fcn.0059a300
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], edx
test edx, edx
je 0x57b24e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edx
cmp byte [eax + 0x1e], 0
jne 0x57b24e
mov eax, dword [edx + 0xc]
cmp byte [esp + 0x13], 1
mov dword [esp + 0x28], edx
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x57b24e
mov byte [esp + 0x13], 0
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.0057b8f0
movzx eax, byte [esp + 0x13]
mov ecx, ebx
mov edx, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x68]
call fcn.00571ba0
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
jne 0x57b295
mov esi, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [esp + 0x28]
call fcn.00599410
jmp 0x57b3a1
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.0057b430
cmp dword [esp + 0x14], 0
jne 0x57b2c9
cmp byte [esp + 0x13], 0
je 0x57b2c9
mov eax, dword [esp + 0x24]
mov edx, 1
mov ecx, esi
push dword [eax + 0x14]
push 0
call fcn.005a85a0
add esp, 8
mov ecx, dword [esp + 0x24]
call fcn.00571590
lea edx, [esp + 0x90]
mov ecx, ebx
call fcn.0057b7a0
mov edx, dword [esp + 0x40]
mov ecx, ebx
push 8
push dword [esp + 0x58]
mov dword [esp + 0x58], 0
call fcn.005958d0
mov eax, dword [esp + 0x5c]
mov edx, edi
push eax
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [edi]
call fcn.00581750
mov edx, dword [esp + 0x50]
add esp, 0x28
mov ecx, dword [esp + 0x18]
call fcn.00599410
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x57b33e
mov eax, dword [esp + 0x54]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
cmp dword [esp + 0x50], 0
je 0x57b35b
mov eax, dword [esp + 0x3c]
mov edx, edi
push dword [ebp + 8]
mov ecx, ebx
push dword [eax]
push esi
call fcn.00581110
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x57b377
mov eax, dword [esp + 0xc0]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp byte [eax], 5
jne 0x57b393
push dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov ecx, ebx
call fcn.00580cd0
add esp, 4
mov esi, dword [esp + 0x18]
jmp 0x57b3a6
mov esi, eax
jmp 0x57b3a1
mov esi, dword [esp + 0x18]
mov edi, 1
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x57b3d7
cmp ecx, dword [esi + 0xf0]
jb 0x57b3d7
cmp ecx, dword [esi + 0xf4]
jae 0x57b3d7
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
jmp 0x57b3e0
push ecx
call fcn.005bb990
add esp, 4
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x57b418
cmp ecx, dword [esi + 0xf0]
jb 0x57b418
cmp ecx, dword [esi + 0xf4]
jae 0x57b418
mov eax, dword [esi + 0xec]
mov dword [ecx], eax
mov eax, edi
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call fcn.005bb990
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret