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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x58029f
sub esp, 0x124
mov ebx, dword [esp + 0x130]
test ebx, ebx
je 0x57f4e4
mov ebp, dword [esp + 0x13c]
test ebp, ebp
je 0x57f4d2
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 0x57f4ce
mov edx, ebp
mov ebp, dword [esp + 0x140]
jmp 0x57f51b
test ebx, ebx
jmp 0x57f4f9
test ebx, ebx
mov eax, dword [esp + 0x128]
mov esi, dword [esp + 0x134]
jmp 0x57f4f9
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x13c]
mov esi, dword [esp + 0x134]
je 0x57f53e
mov edi, dword [esp + 0x148]
test edi, edi
je 0x57f52c
lea ecx, [eax + ebx*4 - 4]
mov edx, ebp
mov ebp, dword [esp + 0x140]
lea edi, [ebp + edi*4 - 4]
cmp edi, ecx
jne 0x57f523
xor ebx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x57f54e
mov ecx, dword [esp + 0x12c]
jmp 0x57f54e
mov edx, ebp
mov ebp, dword [esp + 0x140]
mov ecx, dword [esp + 0x12c]
jmp 0x57f54e
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 0x57f58e
mov ebx, dword [esp + 0x14c]
cmp dword [ebx], 1
jne 0x57f595
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 0x57fb69
mov edi, dword [esp + 0x138]
test edi, edi
je 0x57fb45
cmp edi, 1
jne 0x57f613
cmp dword [esi], 1
jne 0x57f613
nop
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x57f5ed
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046ca20
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 0x57f770
cmp dword [ebp], 1
jne 0x57f770
mov ebx, dword [esp + 0x150]
test ebx, ebx
jne 0x57f70e
mov ecx, dword [esp + 0x70]
cmp edi, ecx
jg 0x57f641
mov edx, edi
jmp 0x57f6b7
cmp edi, 1
jne 0x57f682
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046ca20
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
mov edi, 1
mov ecx, 1
jmp 0x57f6b7
lea eax, [0x6e11e0]
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.0046ca20
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 0x57f6bd
mov edx, edi
cmp esi, eax
je 0x57f6f2
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.00472440
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.00583ed0
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 0x57f91d
mov ebp, dword [esp + 0x70]
cmp ecx, ebp
jg 0x57f78f
cmp ebx, 1
jmp 0x57f830
cmp ecx, 1
jne 0x57f7e3
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046ca20
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 0x57f830
lea eax, [0x6e11e0]
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.0046ca20
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 0x57f909
movzx ebx, byte [esp + 0x158]
test bl, bl
je 0x57f84e
mov ebx, dword [esp + 0x144]
jmp 0x57f909
mov ebx, dword [esp + 0x14c]
mov edx, dword [ebx]
test edx, 1
jne 0x57f883
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 0x580151
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.005812a0
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 0x57f933
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 0x57f9d6
cmp edi, 1
jne 0x57f98e
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046ca20
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 0x57f9d6
lea eax, [0x6e11e0]
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.0046ca20
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 0x57f9e7
mov ebx, edi
cmp esi, eax
je 0x57fa30
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.00472440
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 0x57fa68
shr edx, 0x10
mov dword [esp + 0xac], eax
mov eax, 0x10
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xac]
jmp 0x57fa7f
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb4]
cmp edx, 0x100
jb 0x57fa96
shr edx, 8
mov esi, dword [esp + 0x88]
add esi, 8
jmp 0x57fa9d
mov esi, dword [esp + 0x88]
cmp edx, 0x100
jae 0x58012d
lea ebp, [0x747434]
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 0x57fbe7
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 0x57fb99
lea eax, [0x6e11e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046ca20
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 0x57fe2a
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.0057dd90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
test ebx, 0x80000000
jne 0x57fc83
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 0x57fd2d
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.0057cdc0
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 0x57fbbf
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.00584060
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 0x57fbbf
lea ebp, [ebx - 2]
mov ecx, dword [esp + 0x140]
jmp 0x57fe45
dec ebp
mov ecx, dword [esp + 0x140]
mov ebx, dword [esp + 0x144]
test ebp, ebp
jl 0x57fe74
cmp ebx, ebp
jbe 0x580124
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 0x57fee0
jmp 0x57fe77
dec edi
test edi, edi
jle 0x57fe83
mov ebx, dword [eax + edi*4 - 4]
test ebx, ebx
je 0x57fe76
cmp edi, esi
ja 0x57fea3
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.00471b70
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 0x57fe36
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.0057dd90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
test ebx, 0x80000000
jne 0x57ff7d
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 0x580027
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.0057cdc0
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 0x57feac
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.00584060
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 0x57feac
mov eax, ebp
mov ecx, ebx
call fcn.00471b30
mov eax, edx
mov ecx, 0x100
call fcn.00471b40
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 0x580295
mov esi, dword [ebx + edi*4]
test esi, esi
je 0x580139
dec edx
cmp edi, edx
jne 0x580201
lea edx, [esi - 1]
test esi, edx
jne 0x580201
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.00580820
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.005802b0
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.00471b40
nop
call fcn.004706b0
jmp fcn.0057f470