Function at 0x488160
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
push ebx
mov ebx, dword [ebp + 0xc]
lea edx, [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push ebx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 8]
push 0
push 0
call fcn.00487260
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.0042c2b0
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4881ef
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x4881d1
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x3c]
push 0x4cfc30
push 0
push 0x4e613c
call fcn.0044e0b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x4881a4
push ebx
mov ecx, edi
call fcn.00495550
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 0x10]
jae 0x4881a4
mov ecx, dword [0x4fb9e4]
mov ebx, eax
push 1
push 0
shl ebx, 6
add ebx, dword [edi + 0x18]
push 0xffffffffffffffff
push 0x4cfcf8
mov dword [esp + 0x24], ebx
call fcn.004b55f0
mov eax, dword [0x4fc59c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x68], eax
mov eax, dword [0x4fc598]
mov dword [esp + 0x6c], eax
lea eax, [edx - 1]
mov dword [0x4fc59c], 0
mov dword [0x4fc598], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0xc], ecx
cmp eax, 0xc
ja case.default.0x48826b
jmp dword [eax*4 + 0x48934c]
push ebx
lea eax, [esp + 0x94]
push eax
call fcn.00492c60
push dword [ebp + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, edi
push eax
push ebx
lea eax, [esp + 0x9c]
push eax
push dword [ebp + 8]
call fcn.0048fa00
mov ebx, eax
jmp 0x489304
mov cl, byte [ebx + 4]
movzx eax, cl
dec eax
cmp eax, 0x18
ja case.0x4882b9.7
movzx eax, byte [eax + 0x4893b8]
jmp dword [eax*4 + 0x489380]
mov al, byte [ebx + 5]
shr al, 6
and al, 1
mov byte [esp + 0x13], al
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [esp + 0x13], 0
jne 0x4892d0
jmp case.0x4882b9.10
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x48]
mov edi, esi
sub edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0
movzx eax, word [edi]
cmp eax, 0x20
je 0x488321
cmp eax, 9
jne 0x488326
add edi, 2
jmp 0x488314
cmp eax, 0x2a
jne 0x488463
nop
mov esi, edi
test edi, edi
je 0x488389
movzx eax, word [edi]
test ax, ax
je 0x488389
mov ecx, eax
mov dword [esp + 0x14], ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x4e6614
mov edx, 0x20
nop word [eax + eax]
cmp cx, dx
je 0x4883a2
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
mov ecx, dword [esp + 0x14]
jne 0x488360
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
mov dword [esp + 0x14], ecx
test ax, ax
jne 0x488350
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488390
sub ecx, edx
sar ecx, 1
lea esi, [edi + ecx*2]
movzx eax, word [esi]
add edi, 2
push 4
mov dword [esp + 0x20], eax
xor eax, eax
push str.Icon
push edi
mov word [esi], ax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4883d4
lea ecx, [edi + 8]
call fcn.0041a370
mov dword [esp + 0x20], eax
jmp 0x488428
movzx eax, word [edi]
mov dword [esp + 0x14], eax
test eax, 0xffffff80
je 0x4883e6
xor edx, edx
jmp 0x4883f8
push 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
mov edx, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xffffffdf
test edx, edx
cmove ecx, eax
cmp ecx, 0x48
je 0x48841c
cmp ecx, 0x57
jne 0x488428
lea ecx, [edi + 2]
call fcn.0041a370
mov edx, eax
mov dword [esp + 0x24], edx
jmp 0x48842c
lea ecx, [edi + 2]
call fcn.0041a370
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edi, esi
mov word [esi], ax
movzx ecx, ax
cmp cx, 0x20
je 0x488444
cmp cx, 9
jne 0x48844d
movzx ecx, word [edi + 2]
add edi, 2
jmp 0x488438
cmp cx, 0x2a
je 0x488330
mov ecx, dword [esp + 0x28]
test ax, ax
je 0x488463
add esi, 2
push dword [esp + 0x20]
push ecx
push edx
push esi
push ebx
call fcn.00492f50
test eax, eax
je 0x488d2b
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [esp + 0x18]
jmp 0x4892d0
cmp edx, 2
jne case.0x4882b9.4
push 0
push 0
push 0
mov edx, 1
mov ecx, esi
call fcn.004b0df0
add esp, 0xc
test eax, eax
je case.0x4882b9.4
mov ecx, esi
call fcn.0041a370
test eax, eax
je 0x4884ed
cmp eax, 1
je 0x4884ed
cmp byte [ebx + 4], 5
jne case.0x4882b9.4
cmp eax, 0xffffffff
jne case.0x4882b9.4
mov eax, 2
push 0
push eax
push 0xf1
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
cmp byte [ebx + 4], 6
jne 0x4884d8
push eax
mov eax, dword [esp + 0x2c]
mov ecx, edi
push eax
push ebx
call fcn.004986f0
jmp case.0x4882b9.10
cmp word [esi], 0
je case.0x4882b9.25
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je case.0x4882b9.25
mov ecx, esi
call fcn.004b1d30
mov edi, eax
mov ecx, esi
test edi, edi
cmovne ecx, edi
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
test edi, edi
je case.0x4882b9.10
cmp edi, esi
je case.0x4882b9.10
push edi
mov edi, dword [esp + 0x10]
call edi
add esp, 4
mov ebx, 1
jmp 0x489308
cmp edx, 2
jne 0x4885b4
cmp word [esi], 0
je 0x48859b
push 1
lea edx, [esp + 0x74]
mov ecx, esi
call fcn.004b0a80
add esp, 4
test eax, eax
je case.0x4882b9.10
lea eax, [esp + 0x70]
push eax
push 0
push 0x1002
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
lea eax, [esp + 0x70]
push eax
push 1
push 0x1002
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
push 0xfffffffffffffff0
push dword [ebx]
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
and edi, 0xfffffff2
cmp word [esi], 0
je 0x4885e4
push str.LongDate
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x48860d
or edi, 4
push edi
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
cmp byte [esp + 0x13], al
cmovne eax, esi
push eax
push 0
push 0x1032
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
push str.Time
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x488625
or edi, 9
jmp 0x4885e4
mov byte [esp + 0x13], 1
jmp 0x4885ef
cmp word [esi], 0
je case.0x4882b9.10
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004b09f0
mov dword [esp + 0x18], eax
test eax, eax
je case.0x4882b9.4
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
je 0x4886be
cmp dword [esp + 0x18], 1
jne 0x48866f
movups xmm0, xmmword [esp + 0x70]
movups xmmword [esp + 0x80], xmm0
lea eax, [esp + 0x70]
push eax
push 0
push 0x1006
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ch, byte [ebx + 6]
cmp ch, 0xff
je case.0x4882b9.10
mov esi, dword [edi + 0x10]
xor cl, cl
xor edx, edx
test esi, esi
je case.0x4882b9.10
mov eax, dword [edi + 0x18]
cmp byte [eax + 4], 0x13
jne 0x4886b1
cmp cl, ch
je 0x4892c0
inc cl
inc edx
add eax, 0x40
cmp edx, esi
jb 0x4886a1
jmp case.0x4882b9.10
lea eax, [esp + 0x70]
push eax
push 0
push 0x1002
jmp 0x48867b
push 0
mov ecx, esi
call fcn.00498570
movzx eax, ax
push eax
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
cmp word [esi], 0x2b
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x488726
lea ecx, [esi + 2]
call fcn.0041a370
cmp byte [ebx + 5], 0
mov esi, eax
mov ecx, dword [ebx]
push 0
push 0
jge 0x488719
push 0x472
push ecx
call edi
add eax, esi
jmp 0x48872d
push 0x468
push ecx
call edi
cwde
add eax, esi
jmp 0x48872d
mov ecx, esi
call fcn.0041a370
push eax
movsx eax, byte [ebx + 5]
sar eax, 0x1f
and eax, 0xa
push 0
add eax, 0x467
push eax
push dword [ebx]
call edi
jmp case.0x4882b9.10
cmp word [esi], 0x2b
jne 0x488793
lea ecx, [esi + 2]
call fcn.0041a370
mov bl, byte [ebx + 5]
mov edi, eax
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x400
push dword [eax]
call esi
mov ecx, edi
neg ecx
test bl, bl
cmovns ecx, edi
add eax, ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0x405
push dword [eax]
call esi
jmp case.0x4882b9.10
mov ecx, esi
call fcn.0041a370
cmp byte [ebx + 5], 0
mov edi, eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
jge 0x4887d1
push 0
push 0
push 0x402
push dword [ebx]
call eax
push 0
push 0
push 0x401
push dword [ebx]
mov esi, eax
sub esi, edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + eax]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x405
push dword [ebx]
call eax
jmp case.0x4882b9.10
cmp word [esi], 0x2b
push 0
jne 0x488805
lea ecx, [esi + 2]
call fcn.0041a370
push eax
push 0x403
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
mov ecx, esi
call fcn.0041a370
push eax
push 0x402
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
cmp cl, 8
jne 0x488848
cmp edx, 3
jne 0x488848
push 0
push 0xffffffffffffffff
push 0x14e
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp case.0x4882b9.10
mov ax, word [esi]
cmp ax, word [edi + 0x46]
jne 0x48887d
add esi, 2
cmp cl, 9
je 0x48886b
cmp cl, 0x13
mov eax, 0x1309
mov edx, 0x14b
cmovne eax, edx
jmp 0x488870
mov eax, 0x184
push 0
push 0
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 0
push esi
push ebx
mov ecx, edi
call fcn.00492cd0
cmp byte [ebx + 4], 0x13
jne case.0x4882b9.10
mov esi, dword [ebx]
push str.ahk_dlg
push esi
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4888da
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push esi
call fcn.00498ef0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
sub eax, edx
push 1
push eax
mov eax, dword [esp + 0x60]
sub eax, ecx
push eax
push edx
push ecx
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push ebx
mov ecx, edi
call fcn.00498a50
jmp case.0x4882b9.10
movzx eax, word [esi]
mov dword [esp + 0x20], closesocket
mov dword [esp + 0x28], closesocket
mov dword [esp + 0x30], closesocket
mov dword [esp + 0x24], closesocket
test ax, ax
je 0x488a4a
lea ecx, [esi + 2]
mov edx, eax
mov dword [esp + 0x1c], ecx
nop
movzx esi, dx
mov dword [esp + 0x34], ecx
test esi, 0xffffff80
jne 0x488942
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x488942
and esi, 0xffffffdf
add esi, 0xffffffb8
cmp esi, 0x11
ja case.0x488955.73
movzx eax, byte [esi + 0x4893e8]
jmp dword [eax*4 + 0x4893d4]
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov ebx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x30], ebx
je case.0x488955.73
push 0x60
push dword [0x4fdb78]
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x30], eax
jmp case.0x488955.73
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov ebx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x24], ebx
je case.0x488955.73
push 0x60
push dword [0x4fdb78]
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x24], eax
jmp case.0x488955.73
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov ebx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x20], ebx
je case.0x488955.73
push 0x60
push dword [0x4fdb78]
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x20], eax
jmp case.0x488955.73
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov ebx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x28], ebx
je case.0x488955.73
push 0x60
push dword [0x4fdb78]
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
add ecx, 2
mov dword [esp + 0x1c], ecx
movzx eax, word [eax]
mov edx, eax
test ax, ax
jne 0x488920
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x20], 0x80000000
mov edi, dword [esp + 0x60]
cmovne edi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0x80000000
mov esi, dword [esp + 0x64]
cmovne esi, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
cmp edx, 0x80000000
mov ecx, dword [esp + 0x48]
cmove edx, eax
mov dword [esp + 0x60], edi
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
cmp eax, 0x80000000
push 1
push edx
cmove eax, ecx
mov dword [esp + 0x6c], esi
push eax
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_MoveWindow]
test eax, eax
je 0x488d2b
mov al, byte [ebx + 4]
cmp al, 0x11
jne 0x488b97
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x421
push dword [ebx]
call esi
push 0
push 0
push 0x421
push dword [ebx]
mov dword [esp + 0x24], eax
call esi
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x488b38
push eax
push 1
push 0x420
push dword [ebx]
call esi
mov eax, dword [esp + 0x14]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test edi, edi
je 0x488b53
push edi
push 0
push 0x420
push dword [ebx]
call esi
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x2c], 5
jne 0x488bf8
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x40]
push 2
push eax
push dword [esi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x44]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x488bfc
cmp al, 0x13
jne 0x488b53
mov edi, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x24], 0x80000000
mov esi, 2
push str.ahk_autosize
push dword [ebx]
cmove esi, eax
cmp edi, 0x80000000
setne al
or esi, eax
call dword [sym.imp.USER32.dll_GetPropW]
test esi, eax
je 0x488b57
mov ecx, dword [ebx]
not esi
and eax, esi
je 0x488be7
push eax
push str.ahk_autosize
push ecx
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x488b57
push str.ahk_autosize
push ecx
call dword [sym.imp.USER32.dll_RemovePropW]
jmp 0x488b57
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x1c], edi
xor edi, edi
mov dword [ebx + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x18], edx
cmp dword [esi + 0x10], edx
jbe 0x488ccb
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop dword [eax]
mov eax, dword [esi + 0x18]
add eax, ecx
cmp byte [eax + 4], 0x19
je 0x488cb6
lea ecx, [esp + 0x50]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x488c79
mov eax, dword [eax + 0x14]
jmp 0x488c7b
xor eax, eax
sub eax, dword [esp + 0x50]
add eax, dword [esp + 0x58]
add eax, dword [esp + 0x34]
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x488c96
mov ecx, dword [ecx + 0x14]
jmp 0x488c98
xor ecx, ecx
sub ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x38]
cmp eax, edi
mov edx, dword [esp + 0x18]
cmovg edi, eax
cmp ecx, ebx
cmovg ebx, ecx
mov ecx, dword [esp + 0x14]
inc edx
add ecx, 0x40
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
cmp edx, dword [esi + 0x10]
jb 0x488c30
cmp edi, dword [esi + 0x90]
je 0x488cd9
mov dword [esi + 0x90], edi
cmp ebx, dword [esi + 0x94]
je 0x488ce7
mov dword [esi + 0x94], ebx
test dword [esi + 0x3c], 0x300000
je case.0x4882b9.10
lea eax, [esp + 0x50]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x58]
mov ecx, esi
push 0
push dword [esp + 0x60]
call fcn.00486f50
add esp, 8
jmp case.0x4882b9.10
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
jne case.0x4882b9.10
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x4891ec
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b55f0
mov ebx, eax
jmp 0x489304
mov cl, byte [ebx + 5]
mov al, cl
and cl, 0xef
or al, 0x10
movzx ecx, cl
cmp edx, 7
movzx eax, al
cmovne ecx, eax
mov byte [ebx + 5], cl
mov ah, byte [ebx + 6]
cmp ah, 0xff
je 0x488de1
mov edx, dword [edi + 0x10]
xor al, al
xor ecx, ecx
test edx, edx
je 0x488de1
mov esi, dword [edi + 0x18]
nop dword [eax]
cmp byte [esi + 4], 0x13
jne 0x488d9c
cmp al, ah
je 0x488da6
inc al
inc ecx
add esi, 0x40
cmp ecx, edx
jb 0x488d90
jmp 0x488de1
test esi, esi
je 0x488de1
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x8000000
jne case.0x4882b9.10
push 0
push 0
push 0x130b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebx + 7]
cmp eax, ecx
je 0x488de1
cmp eax, 0xffffffff
jne case.0x4882b9.10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [edi + 4]
jne 0x488e1c
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
cmp eax, dword [ebx]
jne 0x488e1c
xor eax, eax
cmp dword [esp + 0x2c], 7
sete al
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EnableWindow]
call esi
test eax, eax
jne 0x488e2f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x488e2f
xor eax, eax
cmp dword [esp + 0x2c], 7
sete al
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [ebx + 4], 0x13
jne case.0x4882b9.10
push 0
push ebx
mov ecx, edi
call fcn.00498a50
jmp case.0x4882b9.10
mov cl, byte [ebx + 5]
mov al, cl
and cl, 0xf7
or al, 8
movzx ecx, cl
cmp edx, 9
movzx eax, al
cmovne ecx, eax
mov byte [ebx + 5], cl
mov ah, byte [ebx + 6]
cmp ah, 0xff
je 0x488ecb
xor ecx, ecx
xor al, al
cmp dword [edi + 0x10], ecx
jbe 0x488ecb
mov esi, dword [edi + 0x18]
cmp byte [esi + 4], 0x13
jne 0x488e81
cmp al, ah
je 0x488e8c
inc al
inc ecx
add esi, 0x40
cmp ecx, dword [edi + 0x10]
jb 0x488e75
jmp 0x488ecb
test esi, esi
je 0x488ecb
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je case.0x4882b9.10
push 0
push 0
push 0x130b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebx + 7]
cmp eax, ecx
je 0x488ec7
cmp eax, 0xffffffff
jne case.0x4882b9.10
mov edx, dword [esp + 0x2c]
xor eax, eax
mov ecx, 4
cmp edx, 9
cmove eax, ecx
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 4], 0x13
jne case.0x4882b9.10
push 0
push ebx
mov ecx, edi
call fcn.00498a50
jmp case.0x4882b9.10
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
movzx ecx, word [edi + 0x46]
movzx edx, cx
mov dword [esp + 0x34], ecx
cmp ax, word [esp + 0x34]
movzx ecx, cx
mov dword [esp + 0x18], ecx
lea ecx, [esi + 2]
cmovne ecx, esi
mov dword [esp + 0x24], edx
movzx esi, word [edi + 0x46]
mov edx, dword [esp + 0x2c]
cmp ax, si
mov eax, 0
mov dword [esp + 0x1c], ecx
sete al
cmp byte [ebx + 4], 0x13
mov dword [esp + 0x14], eax
jne 0x489030
cmp edx, 0xb
jne 0x488f6d
push 0
push 0
push 0
mov edx, 1
call fcn.004b0df0
mov ecx, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jmp 0x488f70
cmp edx, 0xc
jne 0x488f7f
push 0
push ecx
push ebx
call fcn.00498dc0
mov esi, eax
jmp 0x488f87
call fcn.0041a370
lea esi, [eax - 1]
cmp esi, 0xff
ja 0x488d2b
push 0
push 0
push 0x130b
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
cmp word [esp + 0x20], cx
jne 0x488ff0
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x100
jne 0x488ff0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
push 0x1330
push dword [ebx]
call edi
push 0
push 0
push 0x130b
push dword [ebx]
call edi
cmp eax, esi
je case.0x4882b9.10
jmp 0x488d2b
push 0
push esi
push 0x130c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x488d2b
cmp dword [esp + 0x34], esi
je case.0x4882b9.10
mov eax, dword [esp + 0x18]
mov ecx, edi
cmp word [esp + 0x20], ax
sete al
movzx eax, al
push eax
push ebx
call fcn.00498a50
jmp case.0x4882b9.10
cmp word [ecx], si
jne 0x48904f
mov esi, dword [esp + 0x24]
add ecx, 2
xor eax, eax
mov dword [esp + 0x1c], ecx
cmp word [esp + 0x30], si
sete al
inc eax
mov dword [esp + 0x14], eax
cmp edx, 0xb
jne 0x489079
push 0
push 0
push 0
mov edx, 1
call fcn.004b0df0
mov edx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
mov ecx, 0xc
cmove edx, ecx
mov dword [esp + 0x2c], edx
movzx eax, byte [ebx + 4]
sub eax, 7
je 0x4890d9
sub eax, 1
je 0x4890d9
sub eax, 1
jne 0x488d2b
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esp + 0x2c]
test eax, 0x808
je 0x4890bf
cmp edx, 0xb
mov dword [esp + 0x20], 0x20000
mov eax, 0x185
mov ecx, 0x18f
cmovne eax, ecx
jmp 0x4890ee
cmp edx, 0xb
mov dword [esp + 0x20], 0x20000
mov eax, 0x18c
mov ecx, 0x186
cmove eax, ecx
jmp 0x4890ee
xor eax, eax
mov dword [esp + 0x20], 0x90000
cmp edx, 0xb
sete al
add eax, 0x14d
mov dword [esp + 0x18], eax
cmp edx, 0xc
jne 0x489143
mov ecx, dword [ebx]
push dword [esp + 0x1c]
push 0xffffffffffffffff
cmp eax, 0x18f
jne 0x489130
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ecx
call esi
cmp eax, 0xffffffff
je 0x488d2b
push eax
push 1
push 0x185
push dword [ebx]
call esi
cmp eax, 0xffffffff
je 0x488d2b
jmp 0x489198
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x488d2b
jmp 0x489198
mov ecx, dword [esp + 0x1c]
call fcn.0041a370
lea esi, [eax - 1]
cmp esi, 0xffffffff
jl 0x488d2b
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
cmp ecx, 0x185
jne 0x489180
push esi
not esi
shr esi, 0x1f
push esi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x488d2b
jmp 0x489198
push 0
push esi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x489198
cmp esi, eax
jne 0x488d2b
mov eax, dword [esp + 0x28]
add eax, 3
cmp dword [esp + 0x14], 0
jbe case.0x4882b9.10
push dword [ebx]
movzx esi, ax
mov eax, esi
or eax, 0x10000
push eax
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x14], 1
mov eax, esi
jbe case.0x4882b9.10
push dword [ebx]
or eax, dword [esp + 0x24]
push eax
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4882b9.10
mov ecx, dword [esp + 0x3c]
push 0x4cfc30
push 0
push 0x4e613c
call fcn.0044e0b0
mov ebx, eax
jmp 0x489304
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4fd2d0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ecx + eax + 0x90]
push 0x30
push dword [ebx]
call esi
mov cl, byte [ebx + 4]
cmp cl, 2
je case.0x48925e.12
cmp cl, 0x10
je case.0x48925e.12
cmp cl, 0x11
je case.0x48925e.12
cmp cl, 0x12
je case.0x48925e.12
cmp cl, 0xa
je 0x489253
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x10], eax
movzx eax, cl
add eax, 0xfffffff6
cmp eax, 4
ja case.0x48925e.12
jmp dword [eax*4 + 0x4893fc]
push dword [edi + 0x54]
push 0
push 0x1024
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x4892f9
push dword [edi + 0x54]
push 0
push 0x111e
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x4892f9
push dword [edi + 0x54]
push 1
push 0x1006
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x4892f9
push dword [edi + 0x54]
push 1
push 0x100a
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x4892f9
test eax, eax
je case.0x4882b9.10
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x4882b9.10
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x44]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x44]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, 1
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x68]
test esi, esi
je 0x489340
mov eax, dword [0x4fc59c]
test eax, eax
je 0x489331
push eax
call edi
add esp, 4
cmp dword [0x4fc598], 0x400000
jbe 0x489331
dec dword [0x4fc594]
mov eax, dword [esp + 0x6c]
mov dword [0x4fc59c], esi
mov dword [0x4fc598], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10