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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x489512
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
xor eax, eax
push ebp
push 0x4894e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x78]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4894f0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x3c], edx
ret
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x94], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x98], edx
mov eax, dword [ebp - 4]
call fcn.00488e8c
movzx esi, ax
dec esi
test esi, esi
jl 0x4895c8
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.0048865c
cmp byte [eax + 0x3d], 2
je 0x4895c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.0048865c
call fcn.004883ac
test al, al
jne 0x4895c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.0048865c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x94]
mov dword [eax + 0x1c], edx
cmp word [eax + 0xc], 0x19
jne 0x4895a4
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
and edx, 1
mov ecx, dword [ebp - 8]
add ecx, edx
mov dword [eax + 0x1c], ecx
jmp 0x4895a6
xor edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x94]
movzx eax, word [eax + 0x18]
add ecx, eax
add edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x94], edx
inc ebx
dec esi
jne 0x48953f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
movzx ebx, ax
mov eax, dword [ebp - 4]
add ebx, dword [eax + 0x94]
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
and ebx, 0x80000001
jns 0x4895f0
dec ebx
or ebx, 0xfffffffe
inc ebx
mov eax, dword [ebp - 4]
add dword [eax + 4], ebx
mov eax, dword [ebp - 4]
call fcn.00488e8c
movzx esi, ax
dec esi
test esi, esi
jl 0x48967b
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.0048865c
cmp byte [eax + 0x3d], 2
jne 0x489677
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.0048865c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov ecx, dword [ebp - 4]
add edx, dword [ecx + 0x98]
mov dword [eax + 0x1c], edx
cmp word [eax + 0xc], 0x19
jne 0x48965b
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
and edx, 1
mov ecx, dword [ebp - 8]
add ecx, edx
mov dword [eax + 0x1c], ecx
jmp 0x48965d
xor edx, edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x98]
movzx eax, word [eax + 0x18]
add ecx, eax
add edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], edx
inc ebx
dec esi
jne 0x489609
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
test eax, eax
jle 0x4896a1
inc eax
and eax, 0x80000001
jns 0x48969b
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 4]
add dword [edx + 8], eax
mov eax, dword [ebp - 4]
call fcn.0048be60
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4896bc
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret