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

Disassembly:
mov eax, 0x806c
call fcn.004d2340
push ebx
push ebp
push esi
mov esi, edx
mov dword [esp + 0x14], esi
push edi
mov edi, ecx
cmp esi, 0xc7
ja 0x4890e2
mov eax, dword [edi + 0x10]
lea edx, [esi*4 + 6]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add edx, eax
push 0
push 0
push 0x1004
push dword [edi]
add edx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
call ebx
mov ecx, dword [esp + 0x14]
mov ebp, eax
cmp byte [ecx + 1], 0
je 0x488e95
cmp byte [esp + 0x8080], 0
jne 0x4890e2
cmp ebp, 2
jl 0x4890e2
mov ax, word [esp + 0x8084]
test ax, ax
je 0x488eb1
cmp ax, 0x41
jmp 0x488ec9
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax]
jne 0x488ec5
cmp byte [ecx + 3], 0
jne 0x488ec5
cmp byte [eax + 4], 0
jmp 0x488ec9
cmp byte [ecx + 4], 0
lea edx, [esp + 0x76]
sete al
mov dword [esp + 0x4c], edx
mov edx, 0x1fff
mov byte [esp + 0x8076], al
mov dword [esp + 0x50], edx
mov ah, byte [ecx]
cmp ah, 1
jne 0x488fb6
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
test ebp, ebp
jle 0x488fa9
nop word [eax + eax]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 1
push eax
push 0
push 0x104b
push dword [edi]
mov dword [esp + 0x50], esi
call ebx
test eax, eax
je 0x488f69
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.00404cf0
test al, al
je 0x488f56
push 0x10
push 0
push esi
call fcn.004bb6a0
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x488f71
push esi
call fcn.004bb722
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x488f71
mov dword [esp + 0x58], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 4
push eax
push 0
push 0x104c
push dword [edi]
mov dword [esp + 0x50], 0
call ebx
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ebp
jl 0x488f10
mov al, byte [esp + 0x8076]
push 0x488e10
movzx eax, al
jmp 0x4890c8
test ah, ah
jne 0x489014
cmp byte [ecx + 2], 3
jne 0x489014
cmp dword [0x508594], 0
jne 0x489002
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x488feb
push str.StrCmpLogicalW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x508594], eax
jmp 0x488ff0
mov eax, dword [0x508594]
test eax, eax
jne 0x488ffe
mov edx, dword [esp + 0x14]
mov byte [edx + 2], 2
jmp 0x489016
mov edx, dword [esp + 0x50]
mov eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
dec eax
mov dword [esp + 0x50], eax
jmp 0x489016
mov edx, ecx
mov ecx, dword [edi]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], esi
mov eax, dword [edx]
mov dword [esp + 0x70], eax
mov al, byte [edx + 4]
push 0x488c80
mov byte [esp + 0x78], al
lea eax, [esp + 0x24]
push eax
push 0x1051
push ecx
mov byte [esp + 0x8087], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], 1
call ebx
cmp dword [esp + 0x4c], 0
jne 0x4890d2
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
test ebp, ebp
jle 0x4890a3
lea eax, [esp + 0x38]
push eax
push 0
push 0x104c
push dword [edi]
call ebx
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x58]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ebp
jl 0x489082
mov byte [esp + 0x8077], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], esi
push 0x488c80
push eax
push 0x1030
push dword [edi]
call ebx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], esi
mov al, byte [esp + 0x8076]
mov byte [ecx + 4], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x806c
ret