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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50b1af
sub esp, 0x54
mov eax, dword [esp + 0x5c]
test eax, 4
je 0x50aed3
mov ecx, 8
mov edx, 1
mov ebx, 1
jmp 0x50aef7
test eax, 2
je 0x50aeeb
mov ecx, 4
mov edx, 2
mov ebx, 1
jmp 0x50aef7
mov ecx, 2
mov edx, 4
xor ebx, ebx
mov byte [esp + 0x27], bl
test eax, 8
je 0x50af08
shl ecx, 4
or edx, 0x20
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov ebx, ecx
sar ecx, 0x1f
mov ebp, dword [esp + 0x68]
add ebp, ebx
mov edi, dword [esp + 0x6c]
adc ecx, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
call fcn.00502b50
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x50afe8
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50af63
xor eax, eax
xor ecx, ecx
jmp 0x50afc1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
lea edx, [0x5fb520]
mov dword [esp], edx
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x620538]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x7f7690]
test ecx, ecx
jne 0x50afab
mov ecx, dword [esp + 0x38]
jmp 0x50afb6
call fcn.004672a0
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, eax
lea eax, [0x669ddc]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x54
ret
mov dword [esp + 0x28], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
call fcn.00503030
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x50b0c7
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call fcn.00502a60
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x50b052
xor eax, eax
xor ecx, ecx
jmp 0x50b0a0
lea eax, [0x5fb520]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xd
lea ecx, [0x61e030]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x7f7690]
test ecx, ecx
jne 0x50b08a
mov ecx, dword [esp + 0x3c]
jmp 0x50b095
call fcn.004672a0
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, eax
lea eax, [0x669ddc]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x54
ret
mov dword [esp + 0x34], eax
lea eax, [0x7f74f8]
mov dword [esp], eax
call fcn.00470530
lea eax, [0x603800]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
movzx ecx, byte [esp + 0x27]
mov byte [eax + 8], cl
mov ecx, dword [0x7cc568]
lea edx, [0x5f1e40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0040f0f0
mov eax, dword [esp + 0xc]
test byte [eax], al
mov ecx, dword [0x7f7690]
test ecx, ecx
jne 0x50b13a
mov ecx, dword [esp + 0x40]
jmp 0x50b14a
call fcn.004672b0
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
lea eax, [0x7f74f8]
mov dword [esp], eax
call fcn.004708b0
lea eax, [0x7f7320]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x54
ret
call fcn.00465ea0
jmp fcn.0050aea0