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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x500267
sub esp, 0x90
lea eax, [0x7af880]
mov dword [esp], eax
call fcn.0040b570
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x98]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [edi + 8], eax
mov eax, dword [0xa8c6b0]
test eax, eax
jne 0x500256
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 2
mov ecx, dword [0xa8c6b0]
lea eax, [edi + 0x18]
test ecx, ecx
jne 0x500243
mov dword [edi + 0xc], eax
mov dword [esp + 0x48], edi
lea eax, [esp + 4]
mov dword [esp + 0x50], eax
xor ecx, ecx
xor edx, edx
lea ebx, [0xa8c444]
jmp 0x5000b1
mov edi, dword [esp + 0x48]
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], ebx
mov dword [esp], edi
call fcn.00447540
movzx eax, byte [esp + 0x2c]
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x50]
call fcn.0045ca7c
test al, al
je 0x50021b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00500280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
cmp dword [esp + 0xc], 7
jne 0x50013e
cmp dword [edx], 0x746e7572
jne 0x50013e
cmp word [edx + 4], 0x6d69
jne 0x50013e
cmp byte [edx + 6], 0x65
jne 0x50013e
cmp ecx, 5
jne 0x50013e
cmp dword [eax], 0x696e6170
jne 0x50013e
cmp byte [eax + 4], 0x63
jne 0x50013e
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov edx, dword [esp + 0x44]
jmp 0x5000a7
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x54]
mov edx, eax
xor eax, eax
call fcn.0045c5cb
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x34]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x5001e1
mov eax, dword [esp + 0x44]
mov ebp, dword [0xa8c6b0]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x5001ad
lea esi, [esp + 0x54]
call fcn.0045caae
mov ecx, edx
mov edx, eax
mov eax, ebx
jmp 0x5000a7
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebx
lea eax, [0x7b76c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00410dc0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
jmp 0x5001a2
lea eax, [0x7b76c0]
mov dword [esp], eax
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004431f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x34]
jmp 0x500189
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
add esp, 0x90
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045c330
mov edi, edx
jmp 0x50008f
mov eax, dword [esp + 0x94]
call fcn.0045c330
jmp 0x50006d
call fcn.0045ade0
jmp fcn.00500010