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

Disassembly:
push 0xffffffffffffffff
push 0x5891db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x40], edi
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xac], esi
call fcn.00566653
mov dword [esp + 0x54], 0x5999c4
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x2c]
lea ebx, [edi + 0x5c]
push eax
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0xb8], 2
call fcn.004e95c0
cmp eax, 1
jne 0x489fc1
mov eax, dword [esp + 0x34]
xor ebp, ebp
cmp eax, esi
jle 0x489fff
jmp 0x489b40
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
cmp dword [eax + ebp*4], 0
jne 0x489e58
mov ecx, dword [edi + 0x78]
push 0
push 0
push 0xe
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
add edi, 0x5c
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00566208
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ebp*4]
lea ecx, [edx + ebp*4]
cmp dword [eax - 8], 0xf
jl 0x489e42
lea edx, [esp + 0x4c]
push 4
push edx
call fcn.00563a94
mov eax, dword [eax]
push 0x5e9bfc
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x4c]
test eax, eax
sete bl
call fcn.0056870c
test bl, bl
je 0x489e42
mov ecx, dword [esp + 0x30]
push 3
lea eax, [esp + 0x4c]
push 0xc
push eax
lea ecx, [ecx + ebp*4]
call fcn.00563982
mov eax, dword [eax]
push 0x5e9bf8
push eax
mov byte [esp + 0xb4], 3
call fcn.005503ed
add esp, 8
test eax, eax
je 0x489c19
mov eax, dword [esp + 0x30]
push 3
lea edx, [esp + 0x54]
push 0xc
push edx
lea ecx, [eax + ebp*4]
call fcn.00563982
mov eax, dword [eax]
push 0x5e9bf4
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x50]
test eax, eax
sete bl
call fcn.0056870c
test bl, bl
je 0x489c1b
mov bl, 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xac], 2
call fcn.0056870c
test bl, bl
je 0x489e42
mov edx, dword [esp + 0x30]
push 8
lea ecx, [esp + 0x2c]
push 4
push ecx
lea ecx, [edx + ebp*4]
call fcn.00563982
mov eax, dword [esp + 0x28]
push 0x10
push 0
push eax
mov byte [esp + 0xb8], 4
call fcn.00550858
mov edx, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x44]
mov esi, eax
push 3
push 0xc
push ecx
lea ecx, [edx + ebp*4]
call fcn.00563982
mov eax, dword [eax]
push 0x5e9bf8
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
sete bl
call fcn.0056870c
push ecx
test bl, bl
mov ecx, esp
je 0x489d33
mov dword [esp + 0x18], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push 2
lea eax, [esp + 0x24]
push esi
push eax
mov byte [esp + 0xc0], 4
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov ecx, dword [esp + 0x18]
push 0x5fe7d8
push ecx
mov byte [esp + 0xb4], 6
call fcn.005503ed
add esp, 8
test eax, eax
push esi
je 0x489d16
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004ebe80
mov byte [esp + 0xac], 4
lea ecx, [esp + 0x18]
jmp 0x489e2c
push 0x5e9bd4
mov ecx, edi
call fcn.004e9460
mov byte [esp + 0xac], 4
lea ecx, [esp + 0x18]
jmp 0x489e2c
mov dword [esp + 0x18], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push 1
lea eax, [esp + 0x28]
push esi
push eax
mov byte [esp + 0xc0], 4
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov ecx, dword [esp + 0x1c]
push 0x5fe7d8
push ecx
mov byte [esp + 0xb4], 8
call fcn.005503ed
add esp, 8
test eax, eax
je 0x489d9b
push esi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004e9b00
jmp 0x489e20
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push 0
lea eax, [esp + 0x2c]
push esi
push eax
mov byte [esp + 0xc0], 8
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov ecx, dword [esp + 0x20]
push 0x5fe7d8
push ecx
mov byte [esp + 0xb4], 0xa
call fcn.005503ed
add esp, 8
test eax, eax
push esi
je 0x489e03
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00568481
mov ecx, edi
call fcn.004e9b00
jmp 0x489e0f
push 0x5e9bd4
mov ecx, edi
call fcn.004e9460
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 8
call fcn.0056870c
mov byte [esp + 0xac], 4
lea ecx, [esp + 0x1c]
call fcn.0056870c
mov byte [esp + 0xac], 2
lea ecx, [esp + 0x28]
jmp 0x489fad
mov eax, dword [esp + 0x30]
push 0
mov ecx, edi
mov eax, dword [eax + ebp*4]
push eax
call fcn.004e9460
jmp 0x489fb2
mov ecx, dword [esp + 0x30]
lea edx, [ecx + ebp*4]
lea ecx, [esp + 0x24]
push edx
call fcn.00568481
mov edx, dword [esp + 0xb4]
mov byte [esp + 0xac], 0xb
mov ecx, dword [edx + 0x10]
mov al, byte [edx + 0x16]
cmp ecx, 0x2bc
sete cl
xor bl, bl
test al, al
mov byte [esp + 0x13], bl
mov byte [esp + 0x12], bl
je 0x489e97
mov bl, 1
mov al, byte [edx + 0x15]
test al, al
je 0x489ea3
mov byte [esp + 0x13], 1
mov al, byte [edx + 0x14]
test al, al
je 0x489eaf
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], 0x3c
and eax, 0xbfffffff
test cl, cl
je 0x489ecd
mov ecx, 0xe8000001
or al, 1
jmp 0x489ed4
mov ecx, 0xe8000000
and al, 0xfe
test bl, bl
je 0x489edf
or ecx, 8
or al, 8
jmp 0x489ee4
and ecx, 0xfffffff7
and al, 0xf7
mov bl, byte [esp + 0x13]
test bl, bl
je 0x489ef3
or ecx, 4
or al, 4
jmp 0x489ef8
and ecx, 0xfffffffb
and al, 0xfb
mov bl, byte [esp + 0x12]
test bl, bl
je 0x489f0b
or ecx, 2
or al, 2
mov dword [esp + 0x6c], ecx
jmp 0x489f14
and ecx, 0xfffffffd
and al, 0xfd
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x7c], eax
lea edi, [edx + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x82]
mov eax, ecx
mov esi, edi
mov edi, ebx
mov byte [esp + 0x80], 0x86
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [edx]
and ecx, 3
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x40]
mov ecx, eax
shl ecx, 4
mov edx, dword [esi + 0x78]
sub ecx, eax
push 0
push 0
neg ecx
push 0xe
push edx
mov dword [esp + 0x84], ecx
call ebx
lea edi, [esi + 0x5c]
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00566208
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call fcn.00566342
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x78]
push ecx
push 0
push 0xc2
push edx
call ebx
mov byte [esp + 0xac], 2
lea ecx, [esp + 0x24]
call fcn.0056870c
mov eax, dword [esp + 0x34]
inc ebp
cmp ebp, eax
jl 0x489b3c
jmp 0x489fff
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x489fff
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x78]
push 0
push 0
push 0xe
push eax
call ebp
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.00566208
mov ecx, dword [esp + 0x30]
push 0
mov eax, dword [ecx + esi*4]
mov ecx, ebx
push eax
call fcn.004e9460
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x489fcf
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0x5999c4
test eax, eax
je 0x48a018
push eax
call fcn.00567b2c
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 0
call fcn.00566686
lea ecx, [esp + 0xb8]
mov dword [esp + 0xac], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 8