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

Disassembly:
mov eax, 0x4a0c
call fcn.004a5370
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 0x48887a
mov eax, dword [esp + 0x4a1c]
mov byte [0x50e2b6], dl
mov byte [0x50e2b5], dl
mov dword [0x50fd00], eax
mov word [0x50e700], dx
jmp 0x48887f
mov eax, dword [0x50fd00]
cmp eax, 0xb
ja case.default.0x488888
jmp dword [eax*4 + 0x488f1c]
mov dword [0x50dff4], str.CMDWNDADD
test bl, bl
jne 0x488c0f
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.004a5e75
xor ecx, ecx
mov dword [0x50e2b8], eax
mov dword [0x50fd04], ebp
mov word [0x50e028], cx
mov dword [0x50e2bc], ebp
call fcn.0044f3f0
mov byte [0x50dff0], 0
call fcn.004851d0
movzx edx, al
push edx
push str.SystemProgressBar
push str.Interface
call fcn.0045ba90
test eax, eax
setne al
mov byte [0x50e2b4], al
call fcn.0043ee90
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push str.Interface
call fcn.0045ba90
test eax, eax
mov eax, dword [0x50fd00]
setne dl
mov byte [0x50dff3], dl
cmp eax, ebp
je 0x48899d
cmp eax, 1
je 0x48899d
cmp eax, 2
jne 0x4889bd
mov dword [0x4eac40], ebp
mov dword [0x4eac44], ebp
cmp dword [0x4ea3a4], ebp
jne 0x4889bd
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.004a5420
add esp, 0xc
cmp dword [0x4ea3a4], 1
je 0x488c1b
mov ecx, dword [0x4eacd4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x488c1b
xor bl, bl
jmp 0x488c4f
push ecx
call fcn.00451c20
push eax
xor eax, eax
mov esi, 1
cmp dword [0x50fd00], esi
setne al
add eax, 0x20a
push eax
call fcn.00461310
push eax
push 0x50e800
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
test bl, bl
jne 0x488acd
cmp dword [0x4ea3a4], ebp
je 0x488a7b
cmp dword [0x4ea42c], esi
ja 0x488aa2
cmp dword [0x4f0fdc], ebp
je 0x488aa2
mov ecx, 0x4f0dd0
call fcn.004130c0
test eax, eax
jne 0x488a99
cmp dword [0x4f0fdc], esi
je 0x488aa2
mov byte [0x50e2b6], 0
jmp 0x488aa9
mov byte [0x50e2b6], 1
mov ecx, 0x4f0dd0
call fcn.004130c0
test eax, eax
je 0x488ac6
mov byte [0x50e2b5], 1
cmp dword [0x4f0fdc], ebp
jne 0x488acd
mov byte [0x50e2b5], 0
mov dword [0x50dff4], str.CMDWNDADD
jmp case.default.0x488888
push ecx
call fcn.00451c20
push eax
push 0x20c
call fcn.00461310
push eax
push 0x50e800
mov edx, 0x480
call fcn.0049c820
add esp, 0xc
mov dword [0x50dff4], 0x4bff7c
jmp case.default.0x488888
push ecx
call fcn.00451c20
push eax
push 0x20d
jmp 0x488ae8
push ecx
call fcn.00451c20
push eax
push 0x211
jmp 0x488ae8
push 0x223
call fcn.00461310
mov edx, 0x50e800
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488b40
mov dword [0x50dff4], str.CMDWNDOTHER
jmp case.default.0x488888
push 0x50b
call fcn.00461310
mov edx, 0x50e800
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488b70
mov dword [0x50dff4], str.CMDWNDCONVERT
jmp case.default.0x488888
mov dword [0x50dff4], str.CMDWNDFIND
jmp case.default.0x488888
push 0x543
call fcn.00461310
mov edx, 0x50e800
jmp 0x488bb0
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488bb0
mov dword [0x50dff4], str.CMDWNDOTHER
jmp case.default.0x488888
push 0x556
call fcn.00461310
mov edx, 0x50e800
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488be0
mov dword [0x50dff4], str.CMDWNDOTHER
jmp case.default.0x488888
mov dword [0x50dff4], str.CMDWNDBENCH
test bl, bl
je 0x4888a8
call fcn.004866a0
xor al, al
jmp 0x488f00
mov eax, dword [ebp]
mov edx, eax
and edx, 0xffff0000
mov bl, 1
cmp edx, 0xffff0000
jne 0x488c42
mov eax, dword [ebp + 0xc]
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp + 0xc], eax
jmp 0x488c4f
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x488c5c
mov eax, fcn.00487b40
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 0x488cc7
push 1
mov ecx, 0x4f23e0
call fcn.0046c5c0
push eax
mov eax, dword [0x4e9b84]
push 0
push 0x80
push eax
call edi
push 0
mov ecx, 0x4f23e0
call fcn.0046c5c0
mov ecx, dword [0x4e9b84]
push eax
push 1
push 0x80
push ecx
call edi
cmp dword [0x50fd00], 6
jne 0x488e4b
xor edx, edx
mov word [esp + 0xa18], dx
cmp word [0x4f34e0], dx
je 0x488d5e
push 0x4f34e0
mov esi, 0x4bae18
call fcn.00451c20
mov cx, word [eax]
cmp cx, word [esi]
jne 0x488d1c
test cx, cx
je 0x488d18
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x488d1c
add eax, 4
add esi, 4
test cx, cx
jne 0x488cf6
xor eax, eax
jmp 0x488d21
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x488d2c
push 0x210
jmp 0x488d31
push 0x20f
call fcn.00461310
push eax
lea eax, [esp + 0xa1c]
push 0x4bff24
push eax
mov edx, 0x2000
call fcn.0049c820
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
call fcn.00486150
cmp word [0x4f4ce0], 0
je 0x488d9a
push 0x20e
call fcn.00461310
push eax
lea edx, [esp + 0xa1c]
push 0x4bff24
push edx
mov edx, 0x2000
call fcn.0049c820
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.00486150
cmp dword [0x4f65fc], 0
je 0x488dd5
push 0x214
call fcn.00461310
push eax
lea ecx, [esp + 0xa1c]
push 0x4bff24
push ecx
mov edx, 0x2000
call fcn.0049c820
add esp, 0xc
lea edx, [esp + 0xa18]
push edx
call fcn.00486150
cmp byte [0x4f6739], 0
je 0x488e10
push 0x213
call fcn.00461310
push eax
lea eax, [esp + 0xa1c]
push 0x4bff24
push eax
mov edx, 0x2000
call fcn.0049c820
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
call fcn.00486150
cmp byte [0x4f6612], 0
je 0x488e4b
push 0x349
call fcn.00461310
push eax
lea edx, [esp + 0xa1c]
push 0x4bff24
push edx
mov edx, 0x2000
call fcn.0049c820
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.00486150
cmp byte [esp + 0x4a28], 0
je 0x488e69
mov ecx, dword [0x4e9b84]
push 0
push 0x6e
push 0x111
push ecx
call edi
jmp 0x488e78
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 0x488e93
cmp eax, 1
je 0x488e93
cmp eax, 2
jne 0x488ecb
mov eax, dword [esp + 0xc]
push eax
push 0x28a
call fcn.00461310
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, 0x500
call fcn.0049c820
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 0x488eec
mov ecx, dword [0x4e9b84]
push 0x480
push 0x50e800
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x4e9b84], 0
je 0x488c14
call fcn.004866a0
mov al, 1
mov ecx, dword [esp + 0x4a14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a4b43
add esp, 0x4a0c
ret 0x10