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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x663738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x160]
push esi
cmp eax, ebp
push edi
jne 0x489b9f
mov eax, dword [ebx + 0x120]
xor esi, esi
cmp eax, ebp
jle 0x489d84
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x74]
mov edx, dword [ebx + 0x11c]
mov ecx, dword [eax + esi*8 + 4]
mov eax, dword [edx + esi*4]
mov eax, dword [eax + 0x14]
cmp eax, 7
jne 0x489b6d
mov eax, dword [ecx + 0x1c]
push ebp
push ebp
push 0xf1
push eax
call edi
jmp 0x489b81
cmp eax, 0xc
je 0x489b81
cmp eax, 0xb
je 0x489b81
push 0x72aeec
call fcn.00650706
mov eax, dword [ebx + 0x120]
inc esi
cmp esi, eax
jl 0x489b46
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x158]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x28]
call fcn.0044e220
mov ecx, dword [ebx + 0x120]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x18], eax
jle 0x489d6b
mov ecx, dword [ebx + 0x11c]
mov edx, dword [ebx + 0x74]
mov edi, dword [ecx + eax*4]
mov ebp, dword [edx + eax*8 + 4]
mov edx, dword [esp + 0x14]
mov esi, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
add esi, edx
dec eax
cmp eax, 9
ja case.default.0x489bf0
jmp dword [eax*4 + 0x489d98]
xor eax, eax
lea edx, [esp + 0x3c]
mov al, byte [esi]
push edx
push eax
call fcn.00482870
add esp, 8
jmp 0x489c6e
movsx edx, word [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.00482870
add esp, 8
jmp 0x489c6e
mov ecx, dword [esi]
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.00482870
add esp, 8
jmp 0x489c6e
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x3c]
push 0xa
push edx
push eax
push ecx
call fcn.0061fa73
add esp, 0x10
jmp 0x489c6e
mov eax, dword [esi]
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.00482e50
add esp, 8
jmp 0x489c6e
mov edx, dword [esi + 4]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00482ee0
add esp, 0xc
lea ecx, [esp + 0x3c]
push 0x70240c
push ecx
call fcn.0061f2b4
add esp, 8
test eax, eax
jne 0x489c88
mov byte [esp + 0x3c], al
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call fcn.00650706
jmp case.default.0x489bf0
fld qword [esi]
fst qword [esp + 0x1c]
fcomp qword [0x6bda70]
fnstsw ax
test ah, 0x40
je 0x489cbd
push 0x72aeec
mov ecx, ebp
call fcn.00650706
jmp case.default.0x489bf0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00483000
add esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.00650706
jmp case.default.0x489bf0
mov ecx, dword [edi + 0x1c]
push 0
push ecx
push esi
call fcn.004fd260
add esp, 0xc
cmp eax, 0xffffffff
je 0x489d00
push esi
mov ecx, ebp
call fcn.00650706
jmp case.default.0x489bf0
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x1c]
push edx
push esi
lea ecx, [esp + 0x30]
call fcn.0044eb70
push 0
lea ecx, [esp + 0x2c]
call fcn.0044e580
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
neg eax
sbb eax, eax
mov ecx, ebp
and eax, edx
push eax
call fcn.00650706
jmp case.default.0x489bf0
mov cl, byte [esi]
xor eax, eax
test cl, cl
setne al
push 0
push eax
mov eax, dword [ebp + 0x1c]
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x120]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x489bca
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x28], 0x6bd8b8
call fcn.0044e450
mov ecx, dword [esp + 0x70]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret