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

Disassembly:
push 0xc
mov eax, 0x516048
call fcn.004ab43d
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x48
mov ecx, esi
mov dword [ebx + 4], 9
call fcn.00487dc0
mov dword [ebp + 0xc], eax
and eax, 0xffffc000
push 0x2000000
push eax
xor edi, edi
push edi
mov dword [ebp + 8], eax
call fcn.00405b41
mov ecx, eax
call fcn.0040513c
mov dword [esi + 0x98], eax
cmp eax, edi
jne 0x480d8f
push 0x14
call fcn.00498a73
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x480d73
push 0x4c00
push dword [ebp + 8]
mov ecx, eax
push edi
call fcn.00411cf7
mov edi, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x98], edi
call fcn.00405b41
mov ecx, dword [eax + 0x1c]
push edi
call fcn.00406e0f
xor edi, edi
jmp 0x480d96
mov dword [eax + 0x10], 0x4c00
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x5004
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], edi
call dword [eax + 0x18]
test eax, eax
je 0x480dc4
movzx eax, word [ebp + 0xc]
test eax, eax
je 0x480dc4
xor edi, edi
inc edi
mov dword [ebp + 8], edi
jmp 0x480dc7
xor edi, edi
inc edi
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x5008
call dword [eax + 0x18]
test eax, eax
je 0x480dea
movzx eax, word [ebp + 0xc]
test eax, eax
je 0x480dea
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], edi
jne 0x480dfd
cmp dword [ebp - 0x10], edi
jne 0x480dfd
mov dword [ebx + 0x50], 2
jmp 0x480e05
mov dword [ebx + 0x50], edi
cmp dword [ebp + 8], edi
jne 0x480e0b
and dword [ebp + 8], 0
jmp 0x480e0e
mov dword [ebp + 8], edi
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
shl edi, 0xa
lea edx, [edi + 0x4014]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x480e47
mov eax, dword [ebp + 0xc]
and eax, 0x1f
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
test eax, eax
jge 0x480e44
fadd dword [0x51d860]
fstp dword [ebx + 0x18]
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
add edx, 0x10
shl edx, 0xa
push edx
call dword [eax + 0x18]
test eax, eax
je 0x480e83
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 0x1f
mov dword [ebx + 0x1c], ecx
mov ecx, eax
shr ecx, 5
and ecx, 0x1f
shr eax, 0xa
and eax, 0x3f
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
lea edx, [edi + 0x4298]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x480eab
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0x1ff
mov dword [ebx + 0x2c], eax
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
add edi, 0x4004
push edi
call dword [eax + 0x18]
test eax, eax
je 0x480ed9
mov eax, dword [ebp + 0xc]
shr eax, 0x1e
mov dword [ebx + 0x3c], eax
test eax, eax
jne 0x480ed9
mov dword [ebx + 0x3c], 1
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x5e00
call dword [eax + 0x18]
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
shr edi, 4
push 0x5e04
and edi, 1
call dword [eax + 0x18]
test eax, eax
je 0x480f65
sub edi, 0
mov eax, dword [ebp + 0xc]
je 0x480f30
dec edi
jne 0x480f4e
mov ecx, eax
and ecx, 0x1f
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
test ecx, ecx
jge 0x480f4b
fadd dword [0x51d860]
jmp 0x480f4b
mov ecx, eax
and ecx, 0x1f
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
test ecx, ecx
jge 0x480f45
fadd dword [0x51d860]
fmul qword [0x528e48]
fstp dword [ebx + 0xc]
and eax, 0x1f
push eax
push str.1:_d
lea eax, [ebx + 0x78]
push 0x20
push eax
call fcn.00404c23
add esp, 0x10
call fcn.00405b41
cmp dword [eax + 0x18], 0
je 0x480fa9
call fcn.00405b41
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x621
mov ecx, eax
call fcn.00488fc6
test eax, eax
je 0x480fa9
mov eax, dword [ebp - 0x14]
and eax, 0x7f
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jge 0x480fa6
fadd dword [0x51d860]
fstp dword [ebx + 0x44]
call fcn.004ab515
ret