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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x56ce1f
sub esp, 0x124
mov ebx, dword [esp + 0x130]
test ebx, ebx
je 0x56c064
mov ebp, dword [esp + 0x13c]
test ebp, ebp
je 0x56c052
mov esi, dword [esp + 0x128]
lea edi, [esi + ebx*4 - 4]
mov eax, esi
mov esi, dword [esp + 0x134]
lea ecx, [esi + ebp*4 - 4]
cmp ecx, edi
jne 0x56c04e
mov edx, ebp
mov ebp, dword [esp + 0x140]
jmp 0x56c09b
test ebx, ebx
jmp 0x56c079
test ebx, ebx
mov eax, dword [esp + 0x128]
mov esi, dword [esp + 0x134]
jmp 0x56c079
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x134]
je 0x56c0be
mov edi, dword [esp + 0x148]
test edi, edi
je 0x56c0ac
lea ecx, [eax + ebx*4 - 4]
mov edx, ebp
mov ebp, dword [esp + 0x140]
lea edi, [ebp + edi*4 - 4]
cmp edi, ecx
jne 0x56c0a3
xor ebx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x56c0ce
mov ecx, dword [esp + 0x12c]
jmp 0x56c0ce
mov edx, ebp
mov ebp, dword [esp + 0x140]
mov ecx, dword [esp + 0x12c]
jmp 0x56c0ce
mov edx, ebp
mov ebp, dword [esp + 0x140]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x70], ebx
mov edi, dword [esp + 0x150]
cmp edi, 1
jne 0x56c10e
mov ebx, dword [esp + 0x14c]
cmp dword [ebx], 1
jne 0x56c115
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x164], eax
add esp, 0x124
ret
mov ebx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x144]
test ebx, ebx
je 0x56c6e9
mov edi, dword [esp + 0x138]
test edi, edi
je 0x56c6c5
cmp edi, 1
jne 0x56c193
cmp dword [esi], 1
jne 0x56c193
nop
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x56c16d
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], 1
mov dword [esp + 0x164], ecx
add esp, 0x124
ret
cmp ebx, 1
jne 0x56c2f0
cmp dword [ebp], 1
jne 0x56c2f0
mov ebx, dword [esp + 0x150]
test ebx, ebx
jne 0x56c28e
mov ecx, dword [esp + 0x70]
cmp edi, ecx
jg 0x56c1c1
mov edx, edi
jmp 0x56c237
cmp edi, 1
jne 0x56c202
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
mov edi, 1
mov ecx, 1
jmp 0x56c237
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 8], eax
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
mov edi, edx
mov ecx, dword [esp + 0x50]
cmp edx, edi
jl 0x56c23d
mov edx, edi
cmp esi, eax
je 0x56c272
mov dword [esp + 0x100], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], edi
mov dword [esp], eax
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0046d170
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], edi
mov dword [esp + 0x164], ecx
add esp, 0x124
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x154]
mov dword [esp + 0x20], eax
call fcn.00570ae0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x124
ret
mov ecx, dword [esp + 0x150]
test ecx, ecx
je 0x56c49d
mov ebp, dword [esp + 0x70]
cmp ecx, ebp
jg 0x56c30f
cmp ebx, 1
jmp 0x56c3b0
cmp ecx, 1
jne 0x56c363
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x144]
cmp ecx, 1
mov edx, dword [esp + 0x13c]
mov ebx, ecx
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x138]
mov ebp, 1
mov ecx, 1
jmp 0x56c3b0
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x4c], edx
mov dword [esp + 8], edx
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x144]
cmp ecx, 1
mov edx, dword [esp + 0x13c]
mov ebx, ecx
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x138]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x150]
jle 0x56c489
movzx ebx, byte [esp + 0x158]
test bl, bl
je 0x56c3ce
mov ebx, dword [esp + 0x144]
jmp 0x56c489
mov ebx, dword [esp + 0x14c]
mov edx, dword [ebx]
test edx, 1
jne 0x56c403
nop
mov edx, dword [esp + 0x150]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
jmp 0x56ccd1
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x150]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x2c], eax
call fcn.0056de90
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x124
ret
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x140]
jmp 0x56c4b3
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0x68]
cmp edi, ebx
jle 0x56c556
cmp edi, 1
jne 0x56c50e
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x140]
mov esi, dword [esp + 0x134]
mov edi, 1
mov ebx, 1
jmp 0x56c556
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 8], eax
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x140]
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x138]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x138]
cmp ebx, edi
jl 0x56c567
mov ebx, edi
cmp esi, eax
je 0x56c5b0
mov dword [esp + 0x60], edi
mov dword [esp + 0xfc], eax
mov dword [esp], eax
mov dword [esp + 4], esi
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0046d170
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x140]
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x144]
mov edx, dword [ebp + ebx*4 - 4]
mov dword [esp + 0x74], edx
nop
nop
cmp edx, 0x10000
jb 0x56c5e8
shr edx, 0x10
mov dword [esp + 0xac], eax
mov eax, 0x10
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xac]
jmp 0x56c5ff
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb4]
cmp edx, 0x100
jb 0x56c616
shr edx, 8
mov esi, dword [esp + 0x88]
add esi, 8
jmp 0x56c61d
mov esi, dword [esp + 0x88]
cmp edx, 0x100
jae 0x56ccad
lea ebp, [0x7eb118]
movzx ebp, byte [ebp + edx]
lea ebp, [ebp + esi - 0x20]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x54], ebp
lea esi, [ebp + 1]
mov edx, ecx
mov ecx, esi
mov ebp, dword [esp + 0x74]
shl ebp, cl
mov dword [esp + 0xf4], ebp
mov ebp, dword [esp + 0x54]
add ebp, 0xffffffe1
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ecx, 0x20
sbb esi, esi
mov ecx, ebp
mov ebp, dword [esp + 0xf4]
and ebp, esi
mov esi, dword [esp + 0x68]
xor esi, esi
mov dword [esp + 0x58], esi
xor esi, esi
mov dword [esp + 0x5c], esi
xor esi, esi
mov dword [esp + 0xf8], esi
xor esi, esi
mov dword [esp + 0x7c], esi
xor esi, esi
mov dword [esp + 0x78], esi
xor esi, esi
mov dword [esp + 0x104], esi
xor esi, esi
mov dword [esp + 0x84], esi
xor esi, esi
mov dword [esp + 0x80], esi
xor esi, esi
mov dword [esp + 0x108], esi
mov esi, dword [esp + 0x68]
jmp 0x56c767
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x164], eax
add esp, 0x124
ret
nop
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x56c719
lea eax, [0x7779c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], 1
mov dword [esp + 0x164], ecx
add esp, 0x124
ret
mov ebp, dword [esp + 0x90]
dec ebp
shl ebx, 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
mov esi, edx
mov edi, ecx
mov edx, dword [esp + 0x150]
mov ecx, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x144]
test ecx, ecx
jle 0x56c9aa
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], edi
mov dword [esp + 0x120], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x74], ebp
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
call fcn.0056a910
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
test ebx, 0x80000000
jne 0x56c803
mov ebp, dword [esp + 0x150]
test ebp, ebp
mov esi, dword [esp + 0xf0]
mov edi, dword [esp + 0xec]
mov esi, dword [esp + 0x120]
mov dword [esp + 0xf8], esi
mov esi, dword [esp + 0xf0]
jmp 0x56c8ad
mov dword [esp + 0xe8], edx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x11c], eax
mov ebx, dword [esp + 0x120]
mov dword [esp], ebx
mov ebx, dword [esp + 0xec]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x20], esi
call fcn.00569940
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x150]
test ebx, ebx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x150]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xe4]
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0xf8], ebp
mov ebp, dword [esp + 0x150]
je 0x56c73f
mov dword [esp + 0x118], eax
mov dword [esp + 0xe0], edx
mov dword [esp + 0xdc], ecx
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x104]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x154]
mov dword [esp + 0x2c], esi
call fcn.00570c70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x80]
mov edi, dword [esp + 0x108]
mov dword [esp + 0xf8], edi
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x118]
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], eax
mov eax, ecx
mov edi, dword [esp + 0x80]
mov ecx, ebp
mov dword [esp + 0x80], edx
mov ebp, dword [esp + 0x150]
mov edx, esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x74]
jmp 0x56c73f
lea ebp, [ebx - 2]
mov ecx, dword [esp + 0x140]
jmp 0x56c9c5
dec ebp
mov ecx, dword [esp + 0x140]
mov ebx, dword [esp + 0x144]
test ebp, ebp
jl 0x56c9f4
cmp ebx, ebp
jbe 0x56cca4
mov dword [esp + 0x98], ebp
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0xa4], eax
xor eax, eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa4]
jmp 0x56ca60
jmp 0x56c9f7
dec edi
test edi, edi
jle 0x56ca03
mov ebx, dword [eax + edi*4 - 4]
test ebx, ebx
je 0x56c9f6
cmp edi, esi
ja 0x56ca23
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], edi
mov dword [esp + 0x164], esi
add esp, 0x124
ret
mov ecx, edi
mov edx, esi
call fcn.0046c890
mov ebp, dword [esp + 0x8c]
inc ebp
shl ebx, 1
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov ebp, dword [esp + 0x98]
mov esi, edx
mov edi, ecx
mov ecx, ebx
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0x144]
mov ebx, dword [esp + 0x8c]
cmp ebx, 0x20
jge 0x56c9b6
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], edi
mov dword [esp + 0x114], eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
call fcn.0056a910
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
test ebx, 0x80000000
jne 0x56cafd
mov ebp, dword [esp + 0x150]
test ebp, ebp
mov esi, dword [esp + 0xd8]
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0x114]
mov dword [esp + 0xf8], esi
mov esi, dword [esp + 0xd8]
jmp 0x56cba7
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x110], eax
mov dword [esp + 0xcc], edx
mov ebx, dword [esp + 0x114]
mov dword [esp], ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x20], esi
call fcn.00569940
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x150]
test ebx, ebx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x150]
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0xd0]
mov ebp, dword [esp + 0x110]
mov dword [esp + 0xf8], ebp
mov ebp, dword [esp + 0x150]
je 0x56ca2c
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x10c], eax
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x104]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x154]
mov dword [esp + 0x2c], esi
call fcn.00570c70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x80]
mov edi, dword [esp + 0x108]
mov dword [esp + 0xf8], edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x10c]
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], eax
mov eax, ecx
mov edi, dword [esp + 0x80]
mov ecx, ebp
mov dword [esp + 0x80], edx
mov ebp, dword [esp + 0x150]
mov edx, esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x74]
jmp 0x56ca2c
mov eax, ebp
mov ecx, ebx
call fcn.0046c850
mov eax, edx
mov ecx, 0x100
call fcn.0046c860
lea esi, [edi + 1]
mov edi, dword [esp + 0x138]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x94]
cmp edx, edi
jbe 0x56ce15
mov esi, dword [ebx + edi*4]
test esi, esi
je 0x56ccb9
dec edx
cmp edi, edx
jne 0x56cd81
lea edx, [esi - 1]
test esi, edx
jne 0x56cd81
shl edi, 5
bsf edx, esi
add edx, edi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x134]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.0056d410
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x124
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x134]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x150]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x2c], eax
call fcn.0056ce30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x124
ret
mov eax, edi
mov ecx, edx
call fcn.0046c860
nop
call fcn.0046b3d0
jmp fcn.0056bff0