Function at 0x504f20
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 0x505cdc
sub esp, 0x174
mov edx, dword [esp + 0x188]
mov ecx, dword [esp + 0x1a0]
cmp edx, ecx
jg 0x504f67
mov ecx, edx
mov eax, dword [esp + 0x184]
mov edx, dword [esp + 0x18c]
jmp 0x504fdb
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.00507980
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1a0]
cmp ebx, ecx
jle 0x50500f
lea edx, [0x65ec80]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00448270
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1a0]
mov ecx, ebx
mov edx, ecx
test ebx, ebx
jbe 0x505cd2
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 0x50504b
shl edi, 1
imul ebp, ebp
lea edx, [ebp + 1]
imul esi, edx
mov edx, dword [esp + 0x8c]
cmp edi, 0x20
jl 0x505039
mov dword [esp + 0x88], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x64], esi
nop
lea eax, [0x65ec80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483c0
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.00503270
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.00507980
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1a0]
cmp ebx, eax
jle 0x505257
mov edx, dword [esp + 0x5c]
cmp ebx, edx
jg 0x50517c
mov ebp, ebx
mov esi, dword [esp + 0x9c]
jmp 0x505209
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x74], eax
cmp ebx, 1
jne 0x5051ce
lea eax, [0x65ec80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483c0
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 0x505209
lea eax, [0x65ec80]
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.004483c0
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 0x50520f
mov eax, ebx
cmp esi, ecx
je 0x505251
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.004601c0
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 0x505268
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, [0x65ec80]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.004483c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov dword [eax], 1
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0045faa0
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.00500ab0
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.00500ab0
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 0x505514
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.00500ab0
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 0x50554b
jae 0x505cc6
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 0x50542a
jmp 0x505cba
mov ebp, dword [esp + 0x180]
cmp ebp, eax
jl 0x505564
mov esi, eax
mov edi, dword [esp + 0x178]
jmp 0x5055f4
cmp eax, 1
jne 0x5055b2
lea eax, [0x65ec80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483c0
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 0x5055f4
lea ecx, [0x65ec80]
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.004483c0
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 0x505608
mov ebx, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x98], edi
cmp edi, edx
je 0x505648
mov dword [esp], edi
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.004601c0
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 0x505657
mov ebx, esi
jmp 0x5056f3
cmp esi, 1
jne 0x5056ab
lea eax, [0x65ec80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483c0
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 0x5056f3
lea eax, [0x65ec80]
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.004483c0
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 0x505713
mov edx, dword [esp + 0x8c]
lea ebx, [edx - 1]
mov edx, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
test ebx, ebx
jl 0x505754
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x194]
cmp edx, ebx
jbe 0x505cb1
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 0x505a76
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.00500ab0
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.00500730
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x50581b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x9c]
jmp 0x505948
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.00500430
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.00500730
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x5058cc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x9c]
jmp 0x505948
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.00507980
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, ecx
jmp 0x50594e
mov ecx, ebp
test ecx, ecx
jle 0x505961
lea ebp, [ecx - 1]
cmp ebx, ebp
jbe 0x505986
mov esi, dword [eax + ecx*4 - 4]
test esi, esi
je 0x50594c
cmp ecx, edx
ja 0x505981
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x1b0], edx
add esp, 0x174
ret
call fcn.0045f8f0
mov eax, ebp
mov ecx, ebx
call fcn.0045f8b0
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.00500ab0
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 0x505701
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x6c]
cmp ebx, ecx
jne 0x505a9e
test edx, edx
je 0x50598f
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.00500ab0
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.00500ab0
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.00500ab0
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.00500ab0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
jmp 0x50598f
mov eax, ebx
mov ecx, edx
call fcn.0045f8b0
mov eax, ebp
mov ecx, 0x10
call fcn.0045f8b0
mov eax, ebp
mov ecx, 0x10
call fcn.0045f8b0
xor eax, eax
mov ecx, ebx
call fcn.0045f8b0
nop
call fcn.0045e420
jmp fcn.00504f20