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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xf4]
cmp eax, dword [ecx + 8]
jbe 0x50842c
sub esp, 0x174
mov edx, dword [esp + 0x188]
mov ecx, dword [esp + 0x1a0]
cmp edx, ecx
jg 0x5076b7
mov ecx, edx
mov eax, dword [esp + 0x184]
mov edx, dword [esp + 0x18c]
jmp 0x50772b
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x184]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x2c], edx
call fcn.0050a0d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1a0]
cmp ebx, ecx
jle 0x50775f
lea edx, [0x6124c0]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00447550
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1a0]
mov ecx, ebx
mov edx, ecx
test ebx, ebx
jbe 0x508422
mov dword [esp + 0x8c], edx
mov ebp, dword [esp + 0x19c]
mov ebp, dword [ebp]
lea esi, [ebp - 2]
xchg esi, ebx
neg ebx
xchg esi, ebx
dec ebp
mov edi, 1
jmp 0x50779b
shl edi, 1
imul ebp, ebp
lea edx, [ebp + 1]
imul esi, edx
mov edx, dword [esp + 0x8c]
cmp edi, 0x20
jl 0x507789
mov dword [esp + 0x88], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x64], esi
nop
lea eax, [0x6124c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov dword [eax], 1
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x1a0]
shl ecx, 6
mov dword [esp + 0x18], ecx
call fcn.005059c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x5c], edx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x19c]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x2c], ebp
call fcn.0050a0d0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1a0]
cmp ebx, eax
jle 0x5079a7
mov edx, dword [esp + 0x5c]
cmp ebx, edx
jg 0x5078cc
mov ebp, ebx
mov esi, dword [esp + 0x9c]
jmp 0x507959
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x74], eax
cmp ebx, 1
jne 0x50791e
lea eax, [0x6124c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x1a0]
mov esi, eax
mov ebx, 1
mov edx, 1
mov eax, dword [esp + 0x74]
jmp 0x507959
lea eax, [0x6124c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 8], ecx
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x1a0]
mov esi, eax
mov ebx, ebp
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
cmp ebx, eax
jg 0x50795f
mov eax, ebx
cmp esi, ecx
je 0x5079a1
mov dword [esp + 0xa8], esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x78], edx
mov dword [esp], esi
mov dword [esp + 4], ecx
shl eax, 2
mov dword [esp + 8], eax
call fcn.0045ee00
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x1a0]
mov esi, dword [esp + 0xa8]
mov eax, edx
mov ecx, esi
jmp 0x5079b8
mov ebp, ebx
mov ebx, eax
mov esi, ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0xa0], esi
lea edi, [0x6124c0]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov dword [eax], 1
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0045e6e0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x19c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x1a4]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x64]
neg eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call fcn.00503200
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
call fcn.00503200
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x19c]
mov ebp, 2
jmp 0x507c64
mov dword [esp + 0x8c], esi
mov ebp, dword [esp + esi*4 + 0xa8]
mov ecx, dword [esp + esi*4 + 0xac]
mov esi, dword [esp + esi*4 + 0xb0]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
call fcn.00503200
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x8c]
mov dword [esp + ebx*4 + 0xb4], eax
mov dword [esp + ebx*4 + 0xb8], ecx
mov dword [esp + ebx*4 + 0xbc], edx
mov eax, dword [esp + 0x70]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x19c]
cmp ebp, 0x10
jge 0x507c9b
jae 0x508416
mov dword [esp + 0x70], ebp
lea esi, [ebp + ebp*2]
mov edi, dword [esp + esi*4 + 0xb4]
mov edx, dword [esp + esi*4 + 0xb8]
mov ebx, dword [esp + esi*4 + 0xbc]
dec ebp
cmp ebp, 0x10
jb 0x507b7a
jmp 0x50840a
mov ebp, dword [esp + 0x180]
cmp ebp, eax
jl 0x507cb4
mov esi, eax
mov edi, dword [esp + 0x178]
jmp 0x507d44
cmp eax, 1
jne 0x507d02
lea eax, [0x6124c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x19c]
mov esi, dword [esp + 0x1a0]
mov edi, eax
mov ebp, 1
mov eax, 1
jmp 0x507d44
lea ecx, [0x6124c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [eax + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 8], edx
call fcn.004476a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x19c]
mov esi, dword [esp + 0x1a0]
mov edi, eax
mov ebp, dword [esp + 0x50]
mov eax, esi
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
cmp eax, ebx
jg 0x507d58
mov ebx, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x98], edi
cmp edi, edx
je 0x507d98
mov dword [esp], edi
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045ee00
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x1a0]
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x5c]
cmp esi, edx
jg 0x507da7
mov ebx, esi
jmp 0x507e43
cmp esi, 1
jne 0x507dfb
lea eax, [0x6124c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004476a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x1a0]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x98]
mov edx, 1
mov esi, 1
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x64]
jmp 0x507e43
lea eax, [0x6124c0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 8], eax
call fcn.004476a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x1a0]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
mov esi, ebx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x194]
dec ebx
mov dword [esp + 0x6c], ebx
jmp 0x507e63
mov edx, dword [esp + 0x8c]
lea ebx, [edx - 1]
mov edx, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
test ebx, ebx
jl 0x507ea4
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x194]
cmp edx, ebx
jbe 0x508401
mov dword [esp + 0x8c], ebx
mov edx, dword [esp + 0x190]
mov ebx, dword [edx + ebx*4]
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x90]
jmp 0x5081c6
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0xac]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
call fcn.00503200
mov eax, dword [esp + 0x38]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x1a4]
mov dword [esp + 0x14], esi
call fcn.00502e80
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x507f6b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x9c]
jmp 0x508098
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x20], edx
call fcn.00502b80
mov eax, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x1a4]
mov dword [esp + 0x14], esi
call fcn.00502e80
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x50801c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x9c]
jmp 0x508098
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x2c], eax
call fcn.0050a0d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, ecx
jmp 0x50809e
mov ecx, ebp
test ecx, ecx
jle 0x5080b1
lea ebp, [ecx - 1]
cmp ebx, ebp
jbe 0x5080d6
mov esi, dword [eax + ecx*4 - 4]
test esi, esi
je 0x50809c
cmp ecx, edx
ja 0x5080d1
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x1b0], edx
add esp, 0x174
ret
call fcn.0045e570
mov eax, ebp
mov ecx, ebx
call fcn.0045e530
mov dword [esp + 0xb0], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x88], ebp
mov ecx, dword [esp + 0x60]
shr ecx, 0x1c
lea ecx, [ecx + ecx*2]
mov ebx, dword [esp + ecx*4 + 0xb4]
mov edx, dword [esp + ecx*4 + 0xb8]
mov ecx, dword [esp + ecx*4 + 0xbc]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x19c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1a0]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x64]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
call fcn.00503200
mov eax, dword [esp + 0x68]
add eax, 4
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x60]
shl ebx, 4
mov edx, dword [esp + 0x190]
mov dword [esp + 0x68], eax
mov eax, ecx
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
cmp edx, 0x20
jge 0x507e51
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x6c]
cmp ebx, ecx
jne 0x5081ee
test edx, edx
je 0x5080df
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa4], edi
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x19c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1a0]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x64]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
call fcn.00503200
mov eax, dword [esp + 0x38]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a4]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
call fcn.00503200
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a4]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
call fcn.00503200
mov eax, dword [esp + 0x38]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a4]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
call fcn.00503200
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
jmp 0x5080df
mov eax, ebx
mov ecx, edx
call fcn.0045e530
mov eax, ebp
mov ecx, 0x10
call fcn.0045e530
mov eax, ebp
mov ecx, 0x10
call fcn.0045e530
xor eax, eax
mov ecx, ebx
call fcn.0045e530
nop
call fcn.0045d0a0
jmp fcn.00507670