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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4faee8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push edi
push eax
mov ecx, esi
call fcn.00480790
add esp, 8
test eax, eax
je 0x480b1e
mov ecx, dword [esi]
cmp word [ecx], 0x2f
je 0x480942
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, edx
add dword [esi], 2
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00480790
add esp, 8
test eax, eax
je 0x480aee
fldz
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
fld st(0)
xor ebx, ebx
xor ecx, ecx
cmp edx, ebx
jbe 0x480b33
mov eax, esi
cmp dword [eax + 8], ebx
jne 0x480a13
fadd qword [eax]
inc ecx
add eax, 0x10
cmp ecx, edx
jb 0x480992
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x480b35
xor ecx, ecx
cmp dword [edi + 8], ebx
jbe 0x4809d1
xor edx, edx
mov eax, dword [edi]
fld qword [eax + edx]
add eax, edx
fdiv st(1)
inc ecx
add edx, 0x10
fstp qword [eax]
cmp ecx, dword [edi + 8]
jb 0x4809b9
mov esi, dword [esp + 0x28]
fstp st(0)
mov dword [esp + 0x80], 0xffffffff
cmp esi, ebx
je 0x4809ff
mov ecx, dword [esi - 4]
push fcn.0047aa90
lea ebx, [esi - 4]
push ecx
push 0x10
push esi
call fcn.004ba650
push ebx
call fcn.0049b6ce
add esp, 4
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp word [eax], 0x2f
je 0x480940
jmp 0x480923
fstp st(0)
fstp st(0)
fld1
mov dword [esp + 0x3c], ebx
fstp qword [esp + 0x34]
mov dword [esp + 0x40], ebx
push 0x20
mov byte [esp + 0x84], 2
call fcn.0049b694
add esp, 4
cmp eax, ebx
je 0x480a58
mov dword [eax + 4], ebx
mov dword [eax], vtable.DivItem.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov ebx, eax
xor esi, esi
mov dword [esp + 0x40], ebx
cmp ebx, esi
je 0x480a65
inc dword [ebx + 4]
push edi
lea ecx, [ebx + 8]
call fcn.0047d730
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x14]
call fcn.0047d730
mov eax, dword [edi]
mov dword [edi + 8], esi
cmp eax, esi
je 0x480aa6
mov edx, dword [eax - 4]
lea ebx, [eax - 4]
push fcn.0047aa90
push edx
push 0x10
push eax
call fcn.004ba650
push ebx
call fcn.0049b6ce
add esp, 4
mov dword [edi], esi
mov dword [edi + 4], esi
mov eax, dword [ebp + 8]
fld qword [eax + 0x38]
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp]
push ecx
call fcn.0047e100
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov byte [esp + 0x80], 0
cmp ecx, esi
je 0x480ae3
dec dword [ecx + 4]
cmp dword [ecx + 4], esi
jg 0x480adf
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x28]
xor ebx, ebx
jmp 0x4809d3
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x480b1e
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047aa90
push ecx
push 0x10
push eax
call fcn.004ba650
push esi
call fcn.0049b6ce
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fstp st(0)
mov dword [esp + 0x80], 0xffffffff
cmp esi, ebx
je 0x480b1e
mov edx, dword [esi - 4]
push fcn.0047aa90
lea edi, [esi - 4]
push edx
push 0x10
push esi
call fcn.004ba650
push edi
call fcn.0049b6ce
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret