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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov al, byte [0x8f86ec]
test al, al
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x4c], ebx
je 0x503fc4
cmp dword [ebx], 0
jle 0x503fc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0x20], 0
call fcn.00444fe0
mov ecx, dword [ebx + 0x378]
lea eax, [ebx + 0x378]
add esp, 8
cmp ecx, eax
mov dword [esp + 0x10], ecx
je 0x503f96
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 8]
lea eax, [ecx + 8]
cmp edi, eax
je 0x503f82
jmp 0x503d80
mov eax, dword [edi + 0x80]
lea esi, [edi + 0x80]
cmp eax, esi
je 0x503f71
mov eax, dword [edi + 0x7c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x98]
push 0
inc edx
push 1
push eax
mov dword [esp + 0x24], edx
call fcn.00503400
add esp, 0xc
test eax, eax
mov dword [ebx + 0x38c], eax
je 0x503f71
lea edx, [esp + 0x94]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x78]
push ecx
push edx
mov dword [esp + 0x24], 0
call fcn.006bcc00
movzx eax, word [edi + 0x1c]
mov ecx, dword [ebx + 0x38c]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.006ceee0
add esp, 0x1c
test al, al
je 0x503f6c
mov esi, dword [esi]
lea eax, [edi + 0x80]
cmp esi, eax
mov dword [esp + 0x1c], 0
je 0x503f6c
nop
mov eax, dword [edi + 0x7c]
cmp eax, dword [esp + 0x1c]
je 0x503e2d
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 8]
add eax, 0xc8
mov eax, dword [eax]
test eax, eax
setne bl
test bl, bl
je 0x503ef5
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esi + 0x6a]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.004fdfe0
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x70], edx
push ecx
mov edx, eax
push edx
mov dword [esp + 0x7c], 0x3f800000
call fcn.006bd920
fld dword [esi + 0xc]
fld dword [esp + 0x50]
mov eax, dword [esp + 0x34]
fmul st(1)
add esp, 0x20
or eax, 2
mov dword [esp + 0x14], eax
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fstp st(0)
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x80]
push ecx
push esi
call fcn.004fef50
add esp, 0x18
mov dl, bl
neg dl
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
sbb edx, edx
and edx, eax
neg bl
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x8c]
sbb ebx, ebx
and ebx, ecx
push ebx
push edx
push eax
lea ecx, [esp + 0x8c]
push ecx
push esi
mov ecx, 0x9877cc
call fcn.006c1160
mov esi, dword [esi]
lea eax, [edi + 0x80]
cmp esi, eax
jne 0x503e20
mov ebx, dword [esp + 0x4c]
call fcn.006da2f0
mov ecx, dword [esp + 0x10]
mov edi, dword [edi]
lea eax, [ecx + 8]
cmp edi, eax
jne 0x503d80
mov eax, dword [ecx]
lea ecx, [ebx + 0x378]
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x503d61
mov edx, dword [0x916a50]
mov eax, dword [0x916a54]
mov ecx, dword [esp + 0x18]
push 0xc8
push edx
mov edx, dword [ebx]
push 0x1f4
push eax
push 0x2e
push ecx
push 0x400
push edx
call fcn.006c6770
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4