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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x50ea45
sub esp, 0x128
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov eax, dword [esp + 0x148]
test eax, eax
je 0x50e6f3
lea eax, [0x623fe0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00408790
mov eax, dword [esp + 8]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [0x50ec80]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x78]
mov dword [esp], ecx
call fcn.0043b310
test eax, eax
jne 0x50e6e7
lea eax, [0x6242a0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00408790
mov eax, dword [esp + 8]
mov dword [esp + 0xa0], eax
lea ecx, [0x64e800]
mov dword [esp], ecx
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x50eb30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x13c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x140]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x50e4db
mov ecx, dword [esp + 0x138]
jmp 0x50e4e9
call fcn.0046beb0
mov ecx, dword [esp + 0x138]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x148]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14c]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x50e528
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x12c]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
jmp 0x50e554
call fcn.0046bee0
mov ecx, dword [esp + 0x144]
mov dword [edi], ecx
mov edx, dword [esp + 0x12c]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0xa0]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x9c]
mov dword [edi + 0xc], ebp
mov dword [esp + 0xb4], eax
mov dword [eax + 0x10], ecx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebp
lea edi, [esp + 0xec]
xor eax, eax
call fcn.0046c0bb
lea edi, [esp + 0x100]
call fcn.0046c0bb
mov ecx, dword [esp + 0x130]
mov dword [esp], ecx
mov ebp, dword [esp + 0x134]
mov dword [esp + 4], ebp
call fcn.00502ae0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xa4], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call fcn.0043b310
test eax, eax
jne 0x50e6db
lea eax, [0x6401a0]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x50eae0]
mov dword [eax], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x50e5fa
mov ecx, dword [esp + 0xb4]
jmp 0x50e608
call fcn.0046beb0
mov ecx, dword [esp + 0xb4]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xb0]
mov dword [eax + 8], edx
mov edx, dword [0x8cc0e0]
test edx, edx
jne 0x50e628
mov edx, dword [esp + 0xa4]
jmp 0x50e636
call fcn.0046beb0
mov edx, dword [esp + 0xa4]
mov dword [edi], edx
mov dword [eax + 0xc], edx
mov dword [esp], eax
call fcn.00447d90
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
test eax, eax
sete dl
setg bl
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ebp
or ebx, edx
test bl, bl
jne 0x50e66e
xor eax, eax
mov ecx, 0x11e1a300
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004c5370
mov eax, dword [esp + 8]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [0x50eaa0]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x30]
mov dword [esp], ecx
call fcn.0043b310
test eax, eax
jne 0x50e6cf
jmp 0x50e771
call fcn.0043b8a0
add esp, 0x128
ret
call fcn.0043b8a0
add esp, 0x128
ret
call fcn.0043b8a0
add esp, 0x128
ret
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x14], eax
call fcn.0050ecc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ebx
call fcn.0043b8a0
add esp, 0x128
ret
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
lea edi, [esp + 0x114]
xor eax, eax
call fcn.0046c0bb
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], edx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc8], ecx
lea edx, [esp + 0x114]
mov dword [esp + 0xcc], edx
lea edx, [esp + 0xc8]
mov dword [esp], edx
lea edx, [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.0044e580
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x50e8e7
lea edi, [esp + 0xd8]
lea esi, [esp + 0x114]
call fcn.0046c59e
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x50e9e2
movzx ecx, byte [esp + 0xe8]
test cl, cl
je 0x50e85a
lea edi, [esp + 0xec]
lea esi, [esp + 0x114]
call fcn.0046c59e
jmp 0x50e86d
lea edi, [esp + 0x100]
lea esi, [esp + 0x114]
call fcn.0046c59e
movzx ecx, byte [esp + 0xfd]
test cl, cl
je 0x50e889
movzx ecx, byte [esp + 0x111]
test cl, cl
jne 0x50e9a4
movzx ecx, byte [esp + 0xe8]
test cl, cl
je 0x50e771
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x50ea2c
lea ecx, [eax + 4]
mov dword [esp], ecx
call fcn.0046a300
movzx eax, byte [esp + 4]
test al, al
je 0x50e771
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004c5460
jmp 0x50e771
mov eax, dword [esp + 0x130]
mov dword [esp], eax
mov ecx, dword [esp + 0x134]
mov dword [esp + 4], ecx
call fcn.00502ae0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0xb0], edx
mov dword [esp], eax
call fcn.0043b230
test eax, eax
jne 0x50ea20
lea eax, [0x640200]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x50ea50]
mov dword [eax], ecx
mov edx, dword [0x8cc0e0]
test edx, edx
jne 0x50e958
mov edx, dword [esp + 0xb4]
jmp 0x50e966
call fcn.0046beb0
mov edx, dword [esp + 0xb4]
mov dword [edi], edx
mov dword [eax + 4], edx
mov ebx, dword [esp + 0xb0]
mov dword [eax + 8], ebx
mov ebx, dword [0x8cc0e0]
test ebx, ebx
jne 0x50e986
mov ebx, dword [esp + 0xac]
jmp 0x50e994
call fcn.0046beb0
mov ebx, dword [esp + 0xac]
mov dword [edi], ebx
mov dword [eax + 0xc], ebx
mov dword [esp], eax
call fcn.00447d90
jmp 0x50e771
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
call fcn.0043b8a0
add esp, 0x128
ret
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
call fcn.0043b8a0
add esp, 0x128
ret
call fcn.0043b8a0
add esp, 0x128
ret
lea eax, [0x62efe0]
mov dword [esp], eax
lea eax, [0x700d8c]
mov dword [esp + 4], eax
call fcn.0043c340
nop
call fcn.0046aab0
jmp fcn.0050e3b0