Function at 0x488860
Capabilities:
Extract resource via kernel32 functions
Get graphical window text

Disassembly:
mov eax, 0x4a0c
call fcn.004a53e0
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x4a08], eax
mov ecx, dword [esp + 0x4a14]
mov eax, dword [esp + 0x4a1c]
push ebx
push ebp
xor ebp, ebp
cmp dword [0x4e9b84], ebp
push esi
setne bl
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov word [0x50e800], dx
test bl, bl
jne 0x4888ca
mov eax, dword [esp + 0x4a1c]
mov byte [0x50e2b6], dl
mov byte [0x50e2b5], dl
mov dword [0x50fd00], eax
mov word [0x50e700], dx
jmp 0x4888cf
mov eax, dword [0x50fd00]
cmp eax, 0xb
ja case.default.0x4888d8
jmp dword [eax*4 + 0x488f6c]
mov dword [0x50dff4], str.CMDWNDADD
test bl, bl
jne 0x488c5f
mov byte [0x50e2b6], 1
xor eax, eax
xor ecx, ecx
xor edx, edx
mov byte [0x50f900], 0
mov word [0x50f100], cx
mov word [0x50e300], dx
mov word [0x50e250], ax
mov dword [0x50e248], ebp
mov dword [0x50e24c], ebp
mov dword [0x50e228], ebp
mov dword [0x50e22c], ebp
mov dword [0x50e230], ebp
mov dword [0x50e234], ebp
mov dword [0x50e238], ebp
mov dword [0x50e23c], ebp
mov dword [0x50e240], ebp
mov dword [0x50e244], ebp
mov byte [0x50dff2], al
mov byte [0x50dff1], al
mov dword [0x50e024], ebp
call fcn.004a5ee5
xor ecx, ecx
mov dword [0x50e2b8], eax
mov dword [0x50fd04], ebp
mov word [0x50e028], cx
mov dword [0x50e2bc], ebp
call fcn.0044f370
mov byte [0x50dff0], 0
call fcn.00485230
movzx edx, al
push edx
push str.SystemProgressBar
push 0x4bb528
call fcn.0045ba60
test eax, eax
setne al
mov byte [0x50e2b4], al
call fcn.0043ee10
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push 0x4bb528
call fcn.0045ba60
test eax, eax
mov eax, dword [0x50fd00]
setne dl
mov byte [0x50dff3], dl
cmp eax, ebp
je 0x4889ed
cmp eax, 1
je 0x4889ed
cmp eax, 2
jne 0x488a0d
mov dword [0x4eac40], ebp
mov dword [0x4eac44], ebp
cmp dword [0x4ea3a4], ebp
jne 0x488a0d
mov dword [0x4ea420], ebp
mov dword [0x4ea424], ebp
mov eax, dword [0x50dff4]
mov ecx, dword [0x4d76b0]
push edi
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [0x4d76b0]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x4d76b0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov ebp, eax
push edi
push ebp
call fcn.004a5490
add esp, 0xc
cmp dword [0x4ea3a4], 1
je 0x488c6b
mov ecx, dword [0x4eacd4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x488c6b
xor bl, bl
jmp 0x488c9f
push ecx
call fcn.00451bd0
push eax
xor eax, eax
mov esi, 1
cmp dword [0x50fd00], esi
setne al
add eax, 0x20a
push eax
call fcn.004612e0
push eax
push 0x50e800
mov edx, 0x480
call fcn.0049c880
add esp, 0xc
test bl, bl
jne 0x488b1d
cmp dword [0x4ea3a4], ebp
je 0x488acb
cmp dword [0x4ea42c], esi
ja 0x488af2
cmp dword [0x4f0fdc], ebp
je 0x488af2
mov ecx, 0x4f0dd0
call fcn.004130c0
test eax, eax
jne 0x488ae9
cmp dword [0x4f0fdc], esi
je 0x488af2
mov byte [0x50e2b6], 0
jmp 0x488af9
mov byte [0x50e2b6], 1
mov ecx, 0x4f0dd0
call fcn.004130c0
test eax, eax
je 0x488b16
mov byte [0x50e2b5], 1
cmp dword [0x4f0fdc], ebp
jne 0x488b1d
mov byte [0x50e2b5], 0
mov dword [0x50dff4], str.CMDWNDADD
jmp case.default.0x4888d8
push ecx
call fcn.00451bd0
push eax
push 0x20c
call fcn.004612e0
push eax
push 0x50e800
mov edx, 0x480
call fcn.0049c880
add esp, 0xc
mov dword [0x50dff4], 0x4bff8c
jmp case.default.0x4888d8
push ecx
call fcn.00451bd0
push eax
push 0x20d
jmp 0x488b38
push ecx
call fcn.00451bd0
push eax
push 0x211
jmp 0x488b38
push 0x223
call fcn.004612e0
mov edx, 0x50e800
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488b90
mov dword [0x50dff4], str.CMDWNDOTHER
jmp case.default.0x4888d8
push 0x50b
call fcn.004612e0
mov edx, 0x50e800
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488bc0
mov dword [0x50dff4], str.CMDWNDCONVERT
jmp case.default.0x4888d8
mov dword [0x50dff4], str.CMDWNDFIND
jmp case.default.0x4888d8
push 0x543
call fcn.004612e0
mov edx, 0x50e800
jmp 0x488c00
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488c00
mov dword [0x50dff4], str.CMDWNDOTHER
jmp case.default.0x4888d8
push 0x556
call fcn.004612e0
mov edx, 0x50e800
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488c30
mov dword [0x50dff4], str.CMDWNDOTHER
jmp case.default.0x4888d8
mov dword [0x50dff4], str.CMDWNDBENCH
test bl, bl
je 0x4888f8
call fcn.00486700
xor al, al
jmp 0x488f50
mov eax, dword [ebp]
mov edx, eax
and edx, 0xffff0000
mov bl, 1
cmp edx, 0xffff0000
jne 0x488c92
mov eax, dword [ebp + 0xc]
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp + 0xc], eax
jmp 0x488c9f
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x488cac
mov eax, fcn.00487bb0
mov ecx, dword [0x4ea3a4]
mov edx, dword [0x4d76b0]
dec ecx
neg ecx
push 0
sbb ecx, ecx
and ecx, dword [0x4eacd4]
push eax
push ecx
push ebp
push edx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x4e9b84], eax
test bl, bl
je 0x488d17
push 1
mov ecx, 0x4f23e0
call fcn.0046c5b0
push eax
mov eax, dword [0x4e9b84]
push 0
push 0x80
push eax
call edi
push 0
mov ecx, 0x4f23e0
call fcn.0046c5b0
mov ecx, dword [0x4e9b84]
push eax
push 1
push 0x80
push ecx
call edi
cmp dword [0x50fd00], 6
jne 0x488e9b
xor edx, edx
mov word [esp + 0xa18], dx
cmp word [0x4f34e0], dx
je 0x488dae
push 0x4f34e0
mov esi, 0x4bae18
call fcn.00451bd0
mov cx, word [eax]
cmp cx, word [esi]
jne 0x488d6c
test cx, cx
je 0x488d68
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x488d6c
add eax, 4
add esi, 4
test cx, cx
jne 0x488d46
xor eax, eax
jmp 0x488d71
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x488d7c
push 0x210
jmp 0x488d81
push 0x20f
call fcn.004612e0
push eax
lea eax, [esp + 0xa1c]
push 0x4bff34
push eax
mov edx, 0x2000
call fcn.0049c880
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
call fcn.004861b0
cmp word [0x4f4ce0], 0
je 0x488dea
push 0x20e
call fcn.004612e0
push eax
lea edx, [esp + 0xa1c]
push 0x4bff34
push edx
mov edx, 0x2000
call fcn.0049c880
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.004861b0
cmp dword [0x4f65fc], 0
je 0x488e25
push 0x214
call fcn.004612e0
push eax
lea ecx, [esp + 0xa1c]
push 0x4bff34
push ecx
mov edx, 0x2000
call fcn.0049c880
add esp, 0xc
lea edx, [esp + 0xa18]
push edx
call fcn.004861b0
cmp byte [0x4f6739], 0
je 0x488e60
push 0x213
call fcn.004612e0
push eax
lea eax, [esp + 0xa1c]
push 0x4bff34
push eax
mov edx, 0x2000
call fcn.0049c880
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
call fcn.004861b0
cmp byte [0x4f6612], 0
je 0x488e9b
push 0x349
call fcn.004612e0
push eax
lea edx, [esp + 0xa1c]
push 0x4bff34
push edx
mov edx, 0x2000
call fcn.0049c880
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.004861b0
cmp byte [esp + 0x4a28], 0
je 0x488eb9
mov ecx, dword [0x4e9b84]
push 0
push 0x6e
push 0x111
push ecx
call edi
jmp 0x488ec8
mov edx, dword [0x4e9b84]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x50fd00]
pop edi
test eax, eax
je 0x488ee3
cmp eax, 1
je 0x488ee3
cmp eax, 2
jne 0x488f1b
mov eax, dword [esp + 0xc]
push eax
push 0x28a
call fcn.004612e0
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, 0x500
call fcn.0049c880
mov eax, dword [0x4e9b84]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0xa5
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x50e800], 0
jne 0x488f3c
mov ecx, dword [0x4e9b84]
push 0x480
push 0x50e800
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x4e9b84], 0
je 0x488c64
call fcn.00486700
mov al, 1
mov ecx, dword [esp + 0x4a14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a4bb3
add esp, 0x4a0c
ret 0x10