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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x503e5f
sub esp, 0xac
mov eax, dword [esp + 0xb0]
test byte [eax], al
mov dword [esp], eax
call fcn.00451ee0
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov dword [esp], 4
lea ecx, [0x74fd04]
mov dword [esp + 4], ecx
call fcn.004262e0
test eax, eax
jne 0x503e52
call fcn.0047d8f0
lea edi, [esp + 0x44]
mov esi, esp
call fcn.0044cd6e
mov edi, esp
lea esi, [esp + 0x44]
call fcn.0044cd6e
mov dword [esp + 0x14], 0x7b8a800
mov dword [esp + 0x18], 0xfffffff2
call fcn.0047ce60
lea esi, [esp + 0x1c]
lea edi, [esp + 0x58]
call fcn.0044cd6e
mov eax, dword [esp + 0xb0]
lea esi, [eax + 0x18]
mov dword [esp + 0x40], esi
mov edi, esp
call fcn.0044cd6e
lea edi, [esp + 0x14]
lea esi, [esp + 0x58]
call fcn.0044cd6e
call fcn.0047bbc0
movzx eax, byte [esp + 0x28]
test al, al
jne 0x503e45
mov eax, dword [0x9cadb0]
test eax, eax
jne 0x503e22
mov edi, dword [esp + 0x40]
lea esi, [esp + 0x44]
call fcn.0044cd6e
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x503df0
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x3c], ecx
lea edx, [0x6cdc40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00405e80
mov eax, dword [0x9cadb0]
mov ecx, dword [esp + 0xb0]
lea edx, [ecx + 0x2c]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x503ddf
mov dword [ecx + 0x2c], ebx
lea eax, [0x6cd240]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00405e80
mov eax, dword [0x9cadb0]
mov ecx, dword [esp + 0xb0]
lea edx, [ecx + 0x30]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x503dc7
mov dword [ecx + 0x30], ebx
xor eax, eax
mov edx, dword [esp + 0x3c]
jmp 0x503cad
mov ebx, dword [esp + 0x38]
lea edx, [ebx + 0x20]
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
cmp eax, ebx
jge 0x503dba
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
lea edi, [esp + 0x8c]
mov esi, edx
call fcn.0044cd50
lea edi, [esp + 0x6c]
lea esi, [esp + 0x8c]
call fcn.0044cd50
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x2c]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x30], ebx
mov dword [esp + 4], ecx
lea ecx, [0x6cdc40]
mov dword [esp], ecx
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.004098f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x30]
mov dword [esp + 4], ecx
lea ecx, [0x6cd240]
mov dword [esp], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
call fcn.004085c0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x503c98
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x30], ebx
mov dword [esp + 4], ecx
lea ecx, [0x6cd240]
mov dword [esp], ecx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 8], ebp
call fcn.00408fc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x9cadb0]
test ecx, ecx
jne 0x503da5
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
jmp 0x503c98
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040ecd0
jmp 0x503c98
nop
call fcn.00426b00
add esp, 0xac
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040ecd0
mov ecx, dword [esp + 0xb0]
jmp 0x503c90
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040ecd0
jmp 0x503c50
mov dword [esp], 0
call fcn.00504450
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
jne 0x503e15
mov eax, ecx
mov ecx, edx
jmp 0x503c0c
nop
call fcn.00426b00
add esp, 0xac
ret
lea eax, [0x7163c0]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0040ede0
jmp 0x503bf6
nop
call fcn.00426b00
add esp, 0xac
ret
nop
call fcn.00426b00
add esp, 0xac
ret
call fcn.0044ae20
jmp fcn.00503b10