Function at 0x503a50
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x10109818]
sub esp, 0x19c
mov eax, dword [ecx]
push ebx
push ebp
push esi
push edi
call dword [eax + 0xf8]
mov edi, dword [esp + 0x1b4]
test eax, eax
je 0x501b3c
push 0x100effa0
push edi
push 0x100fe8b8
push 0x100f7114
push 4
lea ecx, [esp + 0x28]
call fcn.00446f30
mov ecx, eax
call fcn.00449280
mov ecx, eax
call fcn.00449280
mov ecx, eax
call fcn.00449280
lea ecx, [esp + 0x14]
call fcn.00448f50
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push edi
call dword [0x100df084]
mov esi, eax
cmp esi, 0xffffffff
jne 0x501b88
call dword [0x100df274]
mov ecx, dword [0x10109818]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x501f4e
push ebx
push 0x100fd760
push edi
push 0x100fe908
jmp 0x501f19
lea eax, [esp + 0x16c]
push 0x40
push eax
call fcn.00500820
mov ebp, dword [0x100df210]
add esp, 8
mov eax, 0x5a4d
mov dword [esp + 0x1a8], 0x40
mov word [esp + 0x16c], ax
lea eax, [esp + 0x20]
push 0
push eax
push 0x40
lea eax, [esp + 0x178]
push eax
push esi
call ebp
test eax, eax
jne 0x501bff
call dword [0x100df274]
mov ecx, dword [0x10109818]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x501f4e
push ebx
push 0x100fd760
push edi
push 0x100fe958
jmp 0x501f19
lea eax, [esp + 0x74]
push 0xf8
push eax
call fcn.00500820
mov ecx, dword [esp + 0x1b8]
xor edx, edx
add esp, 8
mov dword [esp + 0x74], 0x4550
mov dword [esp + 0x9c], 0x1000
mov dword [esp + 0xa0], 0x1000
movzx eax, word [ecx + 0x16]
mov ebx, dword [ecx + 0x50]
mov word [esp + 0x8a], ax
add ebx, 0x2000
movzx eax, word [ecx + 4]
mov word [esp + 0x78], ax
mov eax, 2
mov word [esp + 0x7a], ax
mov eax, 0xe0
mov word [esp + 0x88], ax
movzx eax, word [ecx + 0x18]
mov word [esp + 0x8c], ax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0xa8], eax
movzx eax, word [ecx + 0x5c]
mov word [esp + 0xd0], ax
mov eax, ebx
div dword [0x101096b0]
mov dword [esp + 0xb0], 0x1000
mov dword [esp + 0xac], 0x1000
mov dword [esp + 0x90], 0x1000
mov dword [esp + 0xc8], 0x1000
mov dword [esp + 0xe8], 0x10
test edx, edx
jne 0x501cdb
mov dword [esp + 0xc4], ebx
jmp 0x501cea
inc eax
imul eax, dword [0x101096b0]
mov dword [esp + 0xc4], eax
movzx eax, word [ecx + 0x40]
mov word [esp + 0xb4], ax
movzx eax, word [ecx + 0x42]
mov word [esp + 0xb6], ax
movzx eax, word [ecx + 0x44]
mov word [esp + 0xb8], ax
movzx eax, word [ecx + 0x46]
mov word [esp + 0xba], ax
movzx eax, word [ecx + 0x48]
mov word [esp + 0xbc], ax
movzx eax, word [ecx + 0x4a]
mov word [esp + 0xbe], ax
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 0x60]
mov dword [esp + 0xd4], eax
mov eax, dword [ecx + 0x64]
mov dword [esp + 0xd8], eax
mov eax, dword [ecx + 0x68]
mov dword [esp + 0xdc], eax
mov eax, dword [ecx + 0x6c]
push 0
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x24]
push eax
push 0xf8
lea eax, [esp + 0x80]
push eax
push esi
call ebp
mov ebx, dword [0x100df1d8]
xor eax, eax
mov dword [esp + 0x25], eax
xorps xmm0, xmm0
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
lea eax, [esp + 0x24]
push 0x100fe6ac
push eax
mov byte [esp + 0x2c], 0
movdqu xmmword [esp + 0x34], xmm0
movdqu xmmword [esp + 0x44], xmm0
call ebx
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x34], 0x1000
push eax
push 0x28
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0x1000
push eax
push esi
mov dword [esp + 0x4c], 0x1000
mov dword [esp + 0x40], 0x1000
mov dword [esp + 0x5c], 0xe0000060
call ebp
test eax, eax
je 0x501bd0
xor eax, eax
mov byte [esp + 0x4c], 0
mov dword [esp + 0x4d], eax
xorps xmm0, xmm0
mov word [esp + 0x51], ax
mov byte [esp + 0x53], al
lea eax, [esp + 0x4c]
push 0x100fe6bc
push eax
movdqu xmmword [esp + 0x5c], xmm0
movdqu xmmword [esp + 0x6c], xmm0
call ebx
mov eax, dword [esp + 0xc4]
add eax, 0xffffe000
mov dword [esp + 0x58], 0x2000
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x24]
push eax
push 0x28
lea eax, [esp + 0x58]
mov dword [esp + 0x68], 0
push eax
push esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x84], 0xc0000080
call ebp
test eax, eax
je 0x501bd0
mov ebx, dword [0x100df0d8]
push 0
push 0
push dword [esp + 0x40]
push esi
call ebx
push 0
lea eax, [esp + 0x24]
mov byte [esp + 0x17], 0xc3
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push esi
call ebp
test eax, eax
je 0x501bd0
push 0
push 0
push 0x1000
push esi
call ebx
cmp eax, 0xffffffff
jne 0x501ed8
call dword [0x100df274]
mov ecx, dword [0x10109818]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x501f4e
push ebx
push 0x100fd760
push edi
push 0x100fe9b0
jmp 0x501f19
push 1
push 0
push dword [esp + 0x3c]
push esi
call ebx
cmp eax, 0xffffffff
je 0x501eac
push esi
call dword [0x100df0d4]
test eax, eax
jne 0x501f52
call dword [0x100df274]
mov ecx, dword [0x10109818]
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x501f4e
push ebx
push 0x100fd760
push edi
push 0x100fea10
push 0x100f7114
push 0
lea ecx, [esp + 0x2c]
call fcn.00446f30
mov ecx, eax
call fcn.00449280
mov ecx, eax
call fcn.00449280
mov ecx, eax
call fcn.00449280
mov ecx, eax
call fcn.00449150
lea ecx, [esp + 0x14]
call fcn.00448f50
xor edi, edi
jmp 0x501f57
mov edi, 1
test esi, esi
je 0x501f66
cmp esi, 0xffffffff
je 0x501f66
push esi
call fcn.004f57c0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret
jmp 0x501ae0