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

Disassembly:
push 0xffffffffffffffff
push 0x60cb33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
mov ebx, ecx
push edi
test esi, esi
mov dword [esp + 0x20], ebx
je 0x56a4ec
lea eax, [esi + 0x50]
test eax, eax
je 0x56a4d6
mov eax, dword [esi + 0xf0]
test eax, eax
jle 0x56a4d6
push 0
mov ecx, esi
call fcn.00571410
mov ecx, dword [ebx + 0x100]
push eax
call fcn.00410f00
mov edi, eax
test edi, edi
mov dword [esp + 0x2c], edi
je 0x569d28
mov al, byte [0x75e858]
test al, 1
jne 0x569795
or al, 1
mov esi, 0x750848
mov byte [0x75e858], al
mov ebp, 0x400
mov ecx, esi
call fcn.0056a510
add esi, 0x34
dec ebp
jne 0x56976a
mov ecx, 0x750830
call fcn.0056a550
push 0x56a5c0
call fcn.005fb76b
mov esi, dword [esp + 0xd8]
add esp, 4
mov ecx, dword [0x6288f0]
mov edx, dword [esi + 0x1a0]
or eax, 0xffffffff
test ecx, edx
ja 0x569dea
lea edx, [esp + 0x54]
lea ecx, [esp + 0x50]
push edx
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xf0]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
lea eax, [esi + 0x50]
mov ecx, ebx
push eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.0056a5d0
test eax, eax
je 0x569d28
mov ecx, dword [0x6633d4]
mov edx, dword [esp + 0x54]
push edx
mov ecx, dword [ecx + 0x420]
call fcn.005ebae0
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x138]
test eax, eax
jle 0x569908
lea ebp, [eax - 1]
test ebp, ebp
jl 0x569908
mov ecx, dword [esp + 0xd4]
push ebp
call fcn.00572010
mov ecx, dword [ebx + 0x100]
push eax
call fcn.00410f00
mov esi, eax
test esi, esi
je 0x5698fa
fld dword [esi + 0x3c]
call fcn.005faa4c
fld dword [esi + 0x38]
push eax
call fcn.005faa4c
push eax
mov ecx, edi
call fcn.0052c580
mov ecx, dword [esp + 0x10]
and eax, 0xff
cmp eax, ecx
jne 0x5698fa
mov eax, dword [esi]
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x80]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
mov edx, dword [edi]
lea eax, [esp + 0x84]
push eax
call dword [edx + 0x23c]
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
push esi
push edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.004a8060
add esp, 0x3c
cmp eax, 1
je 0x569b5c
dec ebp
jns 0x569842
mov esi, dword [esp + 0xd4]
mov ecx, 0x3400
xor eax, eax
mov edi, 0x750848
mov dword [0x750838], 0x7f7fffff
mov dword [0x750830], 0x7f7fffff
mov dword [0x750840], 0x7f7fffff
mov dword [0x75083c], 0xbf800000
mov dword [0x750834], 0xbf800000
mov dword [0x750844], 0xbf800000
mov dword [esp + 0x18], eax
rep stosd dword es:[edi], eax
mov dword [0x75d848], eax
mov dword [0x75e850], eax
cmp dword [ebx + 0x2b8], eax
jle 0x569d09
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 0x2bc]
add eax, ecx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x569ce0
mov al, byte [eax + 0xb]
mov edx, dword [esp + 0xd0]
mov esi, eax
and esi, 0xff
cmp esi, edx
je 0x5699a2
cmp edx, 0xffffffff
jne 0x569ce0
test al, al
je 0x569ce0
push ecx
mov ecx, dword [ebx + 0x100]
call fcn.00410f00
mov esi, eax
test esi, esi
je 0x569ce0
mov eax, dword [esi + 0xc]
cmp byte [eax + 0xa2], 2
je 0x569ce0
mov edx, dword [ebx + 0x100]
mov eax, dword [eax + 0x9c]
push eax
mov ecx, dword [edx + 0x5278]
mov edx, dword [ecx]
call dword [edx + 0x1c]
cmp eax, 1
je 0x569ce0
cmp byte [esi + 0x48], 2
ja 0x569ce0
fld dword [esi + 0x30]
fcomp dword [0x61b584]
fnstsw ax
test ah, 0x40
jne 0x569ce0
mov ecx, dword [esi + 8]
cmp byte [ecx + 4], 0x50
je 0x569a5c
mov eax, dword [ebx + 0x100]
mov edx, dword [esi]
mov ecx, dword [eax + 0xf0]
push ecx
mov ecx, esi
call dword [edx + 0xfc]
test al, al
je 0x569ce0
cmp al, 0x80
jne 0x569a49
mov edx, dword [esi + 8]
mov al, byte [edx + 0x6d]
test al, al
je 0x569ce0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28c]
cmp eax, 1
je 0x569ce0
cmp dword [esp + 0x1c], 1
jne 0x569a81
push esi
mov ecx, ebx
call fcn.00560f60
cmp eax, 1
je 0x569ce0
mov ecx, dword [esi + 8]
cmp byte [ecx + 4], 0x2d
je 0x569ce0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x569be1
push esi
mov ecx, ebx
call fcn.00560f60
test eax, eax
jne 0x569be1
mov eax, dword [esi + 8]
cmp word [eax + 0x10], 0x2d
je 0x569be1
cmp word [eax + 0x16], 0x1b
jne 0x569ce0
mov edx, dword [0x6633d4]
mov byte [esp + 0x17], 0
fld dword [esi + 0x38]
mov eax, dword [edx + 0x420]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x4c], eax
call fcn.005faa4c
lea ebp, [eax - 3]
add eax, 3
cmp ebp, eax
jg 0x569ce0
mov al, byte [esp + 0x17]
test al, al
jne 0x569be1
test ebp, ebp
jl 0x569bc1
mov ecx, dword [esp + 0x4c]
cmp ebp, dword [ecx + 8]
jge 0x569bc1
fld dword [esi + 0x3c]
call fcn.005faa4c
lea edi, [eax - 3]
add eax, 3
cmp edi, eax
jg 0x569bc1
test edi, edi
jl 0x569b4a
mov edx, dword [esp + 0x4c]
cmp edi, dword [edx + 0xc]
jge 0x569b4a
mov ebx, dword [esp + 0x2c]
push edi
push ebp
mov ecx, ebx
call fcn.0052c580
mov dl, al
mov ecx, ebx
mov byte [esp + 0x2b], dl
call fcn.0052c670
mov cl, byte [esp + 0x2b]
cmp cl, al
je 0x569bb8
fld dword [esi + 0x3c]
inc edi
call fcn.005faa4c
add eax, 3
cmp edi, eax
jle 0x569b1b
jmp 0x569bbd
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xd4]
mov dword [ecx], 1
mov dword [edx], 0
mov ecx, dword [eax + 0x138]
dec ecx
cmp ebp, ecx
jne 0x569b92
mov dword [eax + 0x138], 0
mov edx, dword [0x6288f0]
mov edi, dword [eax + 0x1a0]
not edx
and edi, edx
mov ecx, ebx
mov dword [eax + 0x1a0], edi
mov eax, dword [esi + 4]
push eax
call fcn.005602a0
jmp 0x56a4ee
mov byte [esp + 0x17], 1
mov ebx, dword [esp + 0x20]
fld dword [esi + 0x38]
inc ebp
call fcn.005faa4c
add eax, 3
cmp ebp, eax
jle 0x569ae4
mov al, byte [esp + 0x17]
test al, al
je 0x569ce0
mov ecx, dword [esp + 0xe0]
mov eax, 1
cmp ecx, eax
jne 0x569c0f
cmp dword [esp + 0x1c], eax
jne 0x569c0f
mov ecx, esi
call fcn.0052c670
mov ecx, dword [esp + 0x10]
and eax, 0xff
cmp eax, ecx
je 0x569ce0
cmp dword [esp + 0x50], 1
jne 0x569c48
mov edi, dword [esp + 0x58]
test edi, edi
je 0x569c48
mov ecx, edi
call fcn.0052c570
test eax, eax
je 0x569c48
mov ecx, edi
call fcn.0052c570
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx + 0xc0]
test eax, eax
je 0x569ce0
mov al, byte [0x75e858]
test al, 2
jne 0x569c7f
mov dl, al
xor eax, eax
or dl, 2
push 0x56a590
mov byte [0x75e858], dl
mov dword [0x750820], eax
mov dword [0x750824], eax
mov dword [0x750828], eax
mov dword [0x75082c], eax
call fcn.005fb76b
add esp, 4
mov edx, dword [esi]
lea eax, [esp + 0x5c]
push 0x750820
push eax
mov ecx, esi
call dword [edx + 0x23c]
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, ebx
call fcn.005679b0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 0xf0]
push esi
push edx
lea edx, [esp + 0x4c]
push edx
push 0x750820
push eax
lea eax, [ecx + 0x50]
push eax
mov ecx, 0x750830
call fcn.005689f0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0x2b8]
inc ecx
add eax, 0x2c
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jl 0x569970
mov esi, dword [esp + 0xd4]
push ebx
mov ecx, 0x750830
call fcn.00568f30
push ebx
mov ecx, 0x750830
call fcn.00569180
mov eax, dword [0x75d848]
test eax, eax
jg 0x569d42
mov eax, dword [0x6288f0]
mov ecx, dword [esi + 0x1a0]
not eax
and ecx, eax
mov dword [esi + 0x1a0], ecx
jmp 0x56a4ec
mov edi, dword [ebx + 0x20c0]
lea eax, [ebx + 0x2094]
cmp edi, eax
je 0x569dea
mov ecx, dword [esp + 0xd0]
mov eax, dword [edi + 0x14]
cmp eax, ecx
jne 0x569dd9
mov edx, dword [0x6633d4]
mov ecx, dword [edx + 0x420]
mov eax, dword [ecx + 0x10]
cmp eax, 0xdbba0
jbe 0x569d86
mov edx, dword [edi + 0x28]
sub eax, 0xdbba0
cmp edx, eax
jb 0x569dd9
mov edx, dword [edi + 0x10]
push edx
call fcn.005ebae0
test eax, eax
je 0x569dd9
push eax
mov ecx, ebx
call fcn.00560ef0
test eax, eax
je 0x569dd9
fld dword [edi + 0x1c]
call fcn.005faa4c
mov esi, dword [edi + 0x18]
mov ebp, eax
fld dword [edi + 0x24]
mov ebx, ebp
sub ebx, esi
call fcn.005faa4c
mov ecx, eax
add ebp, esi
sub ecx, esi
add esi, eax
push esi
push ebp
push ecx
push ebx
mov ecx, 0x750830
call fcn.00569570
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0xd4]
mov edi, dword [edi + 0x2c]
lea eax, [ebx + 0x2094]
cmp edi, eax
jne 0x569d56
mov eax, dword [esi + 0xf0]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x10], 0x41800000
jle 0x569e55
mov eax, dword [esp + 0xd4]
mov ebx, eax
lea edi, [eax + 0x50]
mov ecx, dword [0x6633d4]
mov edx, dword [edi]
push edx
mov ecx, dword [ecx + 0x420]
call fcn.005ebae0
mov esi, eax
test esi, esi
je 0x569e47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x569e47
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x128]
fstp dword [esp + 0x10]
mov eax, dword [ebx + 0xf0]
inc ebp
add edi, 4
cmp ebp, eax
jl 0x569e0a
mov eax, dword [esp + 0xd4]
mov ecx, dword [0x6288f0]
test dword [eax + 0x1a0], ecx
jbe 0x569e72
mov ecx, dword [eax + 0x254]
jmp 0x569e74
xor ecx, ecx
mov edx, dword [0x75d848]
mov dword [esp + 0x24], ecx
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jge 0x56a0e3
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0xd4]
lea edx, [ecx*4 + 0x75d84c]
xor ebp, ebp
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp esi, eax
jle 0x569edf
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0x20]
sub eax, edx
mov edx, dword [ecx + 0x100]
mov ecx, dword [edx + 0xf0]
mov edx, dword [ecx + 0x8c]
cmp eax, dword [edx + 0x118]
jae 0x56a108
mov eax, dword [0x6633d4]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x420]
mov eax, dword [edx]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov edx, dword [eax*4 + 0x750848]
push edx
call fcn.005ebae0
mov esi, eax
cmp esi, ebp
je 0x56a0ba
mov dword [ebx + 0x10], ebp
mov ecx, dword [0x75e84c]
mov edx, dword [0x75e850]
lea eax, [ebx + 4]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [esi]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call dword [edx + 0x23c]
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [edi]
mov dword [ecx + 8], eax
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call dword [edx + 0x23c]
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
push esi
push edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.004a8060
add esp, 0x3c
cmp eax, 1
je 0x56a127
mov eax, dword [esp + 0xe4]
mov dword [ebx + 0x10], ebp
cmp eax, 1
jne 0x56a02d
fld dword [esi + 0x38]
call fcn.005faa4c
fld dword [esi + 0x3c]
mov ebp, eax
call fcn.005faa4c
fld dword [esi + 0x40]
mov dword [esp + 0x44], eax
call fcn.005faa4c
push 0xffffffffffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x4c], eax
call fcn.004a7200
mov ecx, dword [esi + 4]
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x17
push 0x16
push 1
push 0
push ecx
push eax
mov eax, dword [esp + 0x68]
sub esp, 0xc
mov ecx, esp
mov edx, dword [edi]
mov dword [esp + 0xf8], 0
mov dword [ecx], ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 8], eax
mov ecx, edi
call dword [edx + 0x1cc]
cmp eax, 1
je 0x56a1c1
lea ecx, [esp + 0x74]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004a7270
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc8], 1
mov eax, dword [edx]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
cmp dword [eax*4 + 0x750864], 1
jne 0x56a092
mov ecx, dword [esi + 0xc]
mov edx, dword [edi]
lea eax, [esp + 0x30]
push eax
mov eax, dword [ecx + 0x9c]
mov ecx, dword [esp + 0x14]
push 0x1b
push eax
mov eax, dword [esi + 4]
push ebp
push ecx
push eax
mov ecx, edi
call dword [edx + 0x1c8]
cmp eax, 1
je 0x56a361
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
mov dword [esp + 0xc8], 0xffffffff
je 0x56a0ae
push ecx
call fcn.005faa32
add esp, 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [0x75d848]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jl 0x569ea2
mov eax, dword [esp + 0xd4]
mov ecx, dword [0x6288f0]
mov edx, dword [eax + 0x1a0]
not ecx
and edx, ecx
mov dword [eax + 0x1a0], edx
mov dword [eax + 0x254], 0
jmp 0x56a4ec
mov ecx, dword [0x6288f0]
mov eax, dword [ebx + 0x1a0]
or eax, ecx
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x254], esi
jmp 0x56a4ec
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx*4 + 0x75d84c]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov edx, dword [eax*4 + 0x750864]
mov eax, dword [esp + 0xdc]
mov dword [eax], edx
mov edx, dword [esp + 0xe8]
mov dword [edx], ebp
mov eax, dword [0x6288f0]
mov edi, dword [ebx + 0x1a0]
not eax
and edi, eax
mov dword [ebx + 0x1a0], edi
mov dword [ebx + 0x254], ebp
mov eax, dword [ecx*4 + 0x75d84c]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov eax, dword [eax*4 + 0x75084c]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x2bc]
lea eax, [esi + eax*4 + 0x10]
mov esi, dword [eax]
inc esi
mov dword [eax], esi
mov eax, dword [ecx*4 + 0x75d84c]
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*4]
mov eax, dword [eax*4 + 0x75084c]
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
mov ecx, dword [edx + 0x2bc]
lea eax, [ecx + eax*4]
jmp 0x56a4ee
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp*4 + 0x75d84c]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0xe8]
mov ecx, dword [eax*4 + 0x750864]
mov eax, dword [esp + 0xdc]
mov dword [eax], ecx
mov dword [edx], 1
cmp dword [eax], 0
je 0x56a2d6
mov eax, dword [edi]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x28]
push edx
push ecx
push 1
mov ecx, edi
call dword [eax + 0x1d0]
test eax, eax
jne 0x56a2d6
mov edx, dword [edi]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x28]
push ecx
push eax
push 0x16
mov ecx, edi
call dword [edx + 0x1d0]
test eax, eax
jne 0x56a2d6
mov edx, dword [edi]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x28]
push ecx
push eax
push 0x17
mov ecx, edi
call dword [edx + 0x1d0]
test eax, eax
jne 0x56a2d6
mov edx, dword [esp + 0x10]
lea ecx, [ebx + 4]
push ecx
push eax
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, dword [esi]
lea ecx, [esp + 0xcc]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
mov edx, dword [edi]
lea eax, [esp + 0xd0]
push eax
call dword [edx + 0x23c]
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
push esi
push edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.004a8060
add esp, 0x3c
test eax, eax
je 0x56a2d6
mov ecx, dword [esp + 0xe8]
mov dword [ecx], 0
mov edx, dword [0x6288f0]
mov esi, dword [ebx + 0x1a0]
not edx
and esi, edx
mov dword [esp + 0xc8], 0xffffffff
mov dword [ebx + 0x1a0], esi
mov dword [ebx + 0x254], 0
mov eax, dword [ebp*4 + 0x75d84c]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [edx*4 + 0x75084c]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2bc]
lea eax, [eax + edx*4 + 0x10]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
mov eax, dword [ebp*4 + 0x75d84c]
mov ecx, dword [ecx + 0x2bc]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov eax, dword [eax*4 + 0x75084c]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea esi, [ecx + eax*4]
lea ecx, [esp + 0x74]
call fcn.004a7270
mov eax, esi
jmp 0x56a4ee
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x138], ebp
cmp eax, ebp
jle 0x56a449
mov ebp, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x3c]
lea edx, [ebp - 1]
lea ecx, [eax - 1]
cmp edx, ecx
jle 0x56a3f1
cmp ebp, eax
jl 0x56a39d
lea edi, [eax + 0x20]
cmp edi, ebp
jg 0x56a39f
mov edi, ebp
lea edx, [edi*4]
push edx
call fcn.005faa3d
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x56a3ed
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
jle 0x56a3d8
cmp eax, edi
jge 0x56a3d8
mov ecx, dword [esp + 0x30]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [ebp + eax*4 - 4], edx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jl 0x56a3bf
mov eax, dword [esp + 0x30]
push eax
call fcn.005faa32
add esp, 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], edi
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + edx]
mov ecx, dword [esp + 0x20]
push eax
mov ecx, dword [ecx + 0x100]
call fcn.00410f00
mov edi, eax
test edi, edi
je 0x56a42a
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x20]
push edx
call fcn.00560d00
mov eax, dword [edi + 4]
mov ecx, ebx
push eax
call fcn.00572030
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
inc ebp
add ecx, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
lea ecx, [ebp - 1]
cmp ecx, eax
jl 0x56a384
mov edx, dword [esi + 4]
mov ecx, ebx
push edx
call fcn.00572030
mov eax, dword [esp + 0x1c]
push 0
mov eax, dword [eax*4 + 0x75d84c]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0xe0]
mov eax, dword [edx*4 + 0x750864]
mov edx, dword [esp + 0xec]
mov dword [ecx], eax
mov ecx, ebx
mov dword [edx], 0
mov eax, dword [0x6288f0]
mov edi, dword [ebx + 0x1a0]
not eax
and edi, eax
mov dword [ebx + 0x1a0], edi
mov dword [ebx + 0x254], 0
call fcn.00572010
mov ecx, dword [esp + 0x20]
push eax
call fcn.005602a0
mov esi, eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0xc8], 0xffffffff
je 0x56a4d2
push eax
call fcn.005faa32
add esp, 4
mov eax, esi
jmp 0x56a4ee
mov ecx, dword [0x6288f0]
mov eax, dword [esi + 0x1a0]
not ecx
and eax, ecx
mov dword [esi + 0x1a0], eax
xor eax, eax
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret 0x1c