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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5104d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x65d4c0]
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.00490a70
add esp, 8
test eax, eax
je 0x490dfe
mov ecx, dword [esi]
cmp word [ecx], 0x2f
je 0x490c22
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.00490a70
add esp, 8
test eax, eax
je 0x490dce
fldz
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
fld st(0)
xor ebx, ebx
xor ecx, ecx
cmp edx, ebx
jbe 0x490e13
mov eax, esi
cmp dword [eax + 8], ebx
jne 0x490cf3
fadd qword [eax]
inc ecx
add eax, 0x10
cmp ecx, edx
jb 0x490c72
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x490e15
xor ecx, ecx
cmp dword [edi + 8], ebx
jbe 0x490cb1
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 0x490c99
mov esi, dword [esp + 0x28]
fstp st(0)
mov dword [esp + 0x80], 0xffffffff
cmp esi, ebx
je 0x490cdf
mov ecx, dword [esi - 4]
push fcn.0047a8b0
lea ebx, [esi - 4]
push ecx
push 0x10
push esi
call fcn.004cec6d
push ebx
call fcn.004ae2c3
add esp, 4
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp word [eax], 0x2f
je 0x490c20
jmp 0x490c03
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.004ae294
add esp, 4
cmp eax, ebx
je 0x490d38
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 0x490d45
inc dword [ebx + 4]
push edi
lea ecx, [ebx + 8]
call fcn.00489aa0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x14]
call fcn.00489aa0
mov eax, dword [edi]
mov dword [edi + 8], esi
cmp eax, esi
je 0x490d86
mov edx, dword [eax - 4]
lea ebx, [eax - 4]
push fcn.0047a8b0
push edx
push 0x10
push eax
call fcn.004cec6d
push ebx
call fcn.004ae2c3
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.0048ab60
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov byte [esp + 0x80], 0
cmp ecx, esi
je 0x490dc3
dec dword [ecx + 4]
cmp dword [ecx + 4], esi
jg 0x490dbf
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 0x490cb3
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x490dfe
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047a8b0
push ecx
push 0x10
push eax
call fcn.004cec6d
push esi
call fcn.004ae2c3
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 0x490dfe
mov edx, dword [esi - 4]
push fcn.0047a8b0
lea edi, [esi - 4]
push edx
push 0x10
push esi
call fcn.004cec6d
push edi
call fcn.004ae2c3
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