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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x50b150
sub esp, 0xb0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x50b102
mov ecx, dword [eax]
lea edx, [0x809b20]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.00438ab0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0044c954
lea eax, [0x80e1a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
lea ebp, [esp + 0x80]
mov dword [esp + 8], ebp
call fcn.0040b900
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
jmp 0x50ad8d
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [edx + ecx*4], ebx
lea ecx, [esp + 0x80]
mov dword [esp], ecx
call fcn.0040bb80
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x80]
test ebx, ebx
je 0x50ade2
mov ebx, dword [ebx]
lea ebp, [ecx + 1]
cmp ebp, eax
jle 0x50ad63
mov dword [esp + 0x38], ebx
lea ebx, [0x809b20]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ebx, dword [esp + 0x38]
mov eax, ecx
mov ecx, dword [esp + 0x30]
jmp 0x50ad63
mov dword [esp + 0x5c], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bd570
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
jmp 0x50ae2c
mov ebp, dword [esp + 0x48]
inc ebp
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov eax, ebp
mov ebp, dword [esp + 0x30]
cmp eax, ebp
jge 0x50b0d0
mov dword [esp + 0x48], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], ebx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + eax*4]
lea ebx, [0x80e1a0]
mov dword [esp], ebx
mov ebp, dword [esp + 0xc4]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.0040cc60
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x68]
call fcn.0044ce34
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x50ae96
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x50af52
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xbc]
lea edx, [ecx + eax]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xc0]
cmp edx, ebp
ja 0x50af05
mov esi, dword [esp + 0xb8]
test edx, edx
jl 0x50b149
cmp edx, ebp
ja 0x50b149
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xb8], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0044d060
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xb8]
jmp 0x50ae1f
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ebx
lea eax, [0x80a6a0]
mov dword [esp], eax
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00438c30
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
jmp 0x50aebe
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.004f9e10
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
lea ecx, [0x809c60]
mov dword [esp], ecx
call fcn.00409d90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
mov edx, dword [0xc6f140]
test edx, edx
jne 0x50b0bd
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
movzx ebx, byte [ecx + 0x14]
movzx ebp, byte [ecx + 0x15]
test bl, bl
je 0x50b0b5
mov ebx, dword [0xc1a0f4]
add eax, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x50afc2
mov eax, dword [eax]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0xc8]
mov byte [esp + 0x18], al
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xbc], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xb8], esi
lea edi, [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004f25b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x50b06e
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
jmp 0x50ae1f
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xdc], eax
add esp, 0xb0
ret
mov eax, dword [eax + 4]
jmp 0x50afba
lea edi, [eax + 4]
mov edx, eax
mov eax, ecx
call fcn.0044c860
mov eax, edx
jmp 0x50af9e
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], eax
add esp, 0xb0
ret
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
add esp, 0xb0
ret
call fcn.00426870
ud2
call fcn.0044b100
jmp fcn.0050acc0