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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xf8]
cmp eax, dword [ecx + 8]
jbe 0x50bade
sub esp, 0x178
mov edx, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x18c]
cmp edx, ebx
jl 0x50ad87
mov ecx, ebx
mov eax, dword [esp + 0x188]
mov edx, dword [esp + 0x190]
jmp 0x50adfb
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 + 0x188]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x190]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], ecx
call fcn.0050db40
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1a4]
cmp ebx, ecx
jle 0x50ae2f
lea edx, [0x64ed40]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00449f00
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1a4]
mov edx, ebx
mov ecx, edx
test ebx, ebx
jbe 0x50bad4
mov dword [esp + 0x90], edx
mov ebp, dword [esp + 0x1a0]
mov ebp, dword [ebp]
lea esi, [ebp - 2]
xchg esi, ebx
neg ebx
xchg esi, ebx
dec ebp
mov edi, 1
jmp 0x50ae6b
shl edi, 1
imul ebp, ebp
lea edx, [ebp + 1]
imul esi, edx
mov edx, dword [esp + 0x90]
cmp edi, 0x20
jl 0x50ae59
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0x64], esi
nop
nop
mov dword [esp + 0x7c], 0
mov dword [esp + 0x7c], 1
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
shl ebx, 6
mov dword [esp + 0x18], ebx
call fcn.00508640
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
lea ebx, [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1a0]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x2c], ebp
call fcn.0050db40
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1a4]
cmp ebx, eax
jle 0x50b053
mov edx, dword [esp + 0x5c]
cmp ebx, edx
jg 0x50af78
mov ebp, ebx
mov esi, dword [esp + 0xa0]
jmp 0x50b005
mov dword [esp + 0x74], eax
mov dword [esp + 0xa4], ecx
cmp ebx, 1
jne 0x50afca
lea eax, [0x64ed40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x1a4]
mov esi, eax
mov ebx, 1
mov edx, 1
mov eax, dword [esp + 0x74]
jmp 0x50b005
lea eax, [0x64ed40]
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.0044a050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x1a4]
mov esi, eax
mov ebx, ebp
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
cmp ebx, eax
jg 0x50b00b
mov eax, ebx
cmp esi, ecx
je 0x50b04d
mov dword [esp + 0xb0], esi
mov dword [esp + 0x88], 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.00463000
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x1a4]
mov esi, dword [esp + 0xb0]
mov eax, edx
mov ecx, esi
jmp 0x50b064
mov ebp, ebx
mov ebx, eax
mov esi, ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0xa4], esi
lea edi, [0x64ed40]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.0044a050
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov dword [eax], 1
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.004628e0
mov eax, dword [esp + 0xb8]
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 + 0x1a4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xa4]
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 + 0x1a0]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x1a8]
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.00505de0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
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 + 0x1a0]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
call fcn.00505de0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a8]
mov ebx, dword [esp + 0x1a0]
mov ebp, 2
jmp 0x50b310
mov dword [esp + 0x90], esi
mov ebp, dword [esp + esi*4 + 0xac]
mov ecx, dword [esp + esi*4 + 0xb0]
mov esi, dword [esp + esi*4 + 0xb4]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xcc]
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 + 0xb4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
call fcn.00505de0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x90]
mov dword [esp + ebx*4 + 0xb8], eax
mov dword [esp + ebx*4 + 0xbc], ecx
mov dword [esp + ebx*4 + 0xc0], edx
mov eax, dword [esp + 0x70]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a8]
mov ebx, dword [esp + 0x1a0]
cmp ebp, 0x10
jge 0x50b347
jae 0x50bac8
mov dword [esp + 0x70], ebp
lea esi, [ebp + ebp*2]
mov edi, dword [esp + esi*4 + 0xb8]
mov edx, dword [esp + esi*4 + 0xbc]
mov ebx, dword [esp + esi*4 + 0xc0]
dec ebp
cmp ebp, 0x10
jb 0x50b226
jmp 0x50babc
mov ebp, dword [esp + 0x184]
cmp ebp, eax
jl 0x50b360
mov esi, eax
mov edi, dword [esp + 0x17c]
jmp 0x50b3f0
cmp eax, 1
jne 0x50b3ae
lea eax, [0x64ed40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a8]
mov ebx, dword [esp + 0x1a0]
mov esi, dword [esp + 0x1a4]
mov edi, eax
mov ebp, 1
mov eax, 1
jmp 0x50b3f0
lea ecx, [0x64ed40]
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.0044a050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1a8]
mov ebx, dword [esp + 0x1a0]
mov esi, dword [esp + 0x1a4]
mov edi, eax
mov ebp, dword [esp + 0x50]
mov eax, esi
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
cmp eax, ebx
jg 0x50b404
mov ebx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x9c], edi
cmp edi, edx
je 0x50b444
mov dword [esp], edi
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00463000
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x1a4]
mov edi, dword [esp + 0x9c]
mov edx, dword [esp + 0x5c]
cmp esi, edx
jg 0x50b453
mov ebx, esi
jmp 0x50b4ef
cmp esi, 1
jne 0x50b4a7
lea eax, [0x64ed40]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a050
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x1a4]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x9c]
mov edx, 1
mov esi, 1
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
jmp 0x50b4ef
lea eax, [0x64ed40]
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.0044a050
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x1a4]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x9c]
mov edx, dword [esp + 0x4c]
mov esi, ebx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x198]
dec ebx
mov dword [esp + 0x6c], ebx
jmp 0x50b50f
mov edx, dword [esp + 0x90]
lea ebx, [edx - 1]
mov edx, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
test ebx, ebx
jl 0x50b550
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x198]
cmp edx, ebx
jbe 0x50bab3
mov dword [esp + 0x90], ebx
mov edx, dword [esp + 0x194]
mov ebx, dword [edx + ebx*4]
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x94]
jmp 0x50b872
mov ebx, dword [esp + 0xa0]
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 + 0x1a4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1a0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
call fcn.00505de0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], 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 + 0x1a0]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x14], esi
call fcn.00505a60
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x50b617
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0xa0]
jmp 0x50b744
mov eax, dword [esp + 0xa0]
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 + 0x1a0]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x20], edx
call fcn.00505760
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa0], 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 + 0x1a0]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x14], esi
call fcn.00505a60
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x50b6c8
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0xa0]
jmp 0x50b744
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 + 0xa0]
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 + 0x1a0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x2c], eax
call fcn.0050db40
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, ecx
jmp 0x50b74a
mov ecx, ebp
test ecx, ecx
jle 0x50b75d
lea ebp, [ecx - 1]
cmp ebx, ebp
jbe 0x50b782
mov esi, dword [eax + ecx*4 - 4]
test esi, esi
je 0x50b748
cmp ecx, edx
ja 0x50b77d
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x178
ret
call fcn.00462750
mov eax, ebp
mov ecx, ebx
call fcn.00462710
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0xb4], edi
mov ecx, dword [esp + 0x60]
shr ecx, 0x1c
lea ecx, [ecx + ecx*2]
mov ebx, dword [esp + ecx*4 + 0xb8]
mov edx, dword [esp + ecx*4 + 0xbc]
mov ecx, dword [esp + ecx*4 + 0xc0]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0xa0]
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 + 0x88]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x64]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
call fcn.00505de0
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 + 0x194]
mov dword [esp + 0x68], eax
mov eax, ecx
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
cmp edx, 0x20
jge 0x50b4fd
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x90]
mov ecx, dword [esp + 0x6c]
cmp ebx, ecx
jne 0x50b89a
test edx, edx
je 0x50b78b
mov dword [esp + 0xa8], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ebp
mov ecx, dword [esp + 0xa0]
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 + 0x1a0]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x1a8]
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x64]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
call fcn.00505de0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], 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 + 0xa8]
mov dword [esp], ebx
mov ebx, dword [esp + 0x84]
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 + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
call fcn.00505de0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0xa0]
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 + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
call fcn.00505de0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], 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 + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x88]
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 + 0x1a0]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
call fcn.00505de0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
jmp 0x50b78b
mov eax, ebx
mov ecx, edx
call fcn.00462710
mov eax, ebp
mov ecx, 0x10
call fcn.00462710
mov eax, ebp
mov ecx, 0x10
call fcn.00462710
xor eax, eax
mov ecx, eax
call fcn.00462710
nop
call fcn.00461280
jmp fcn.0050ad40