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

Disassembly:
mov eax, 0x4a0c
call fcn.004a5100
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 [0x50f378], dx
test bl, bl
jne 0x48862a
mov eax, dword [esp + 0x4a1c]
mov byte [0x50ee2e], dl
mov byte [0x50ee2d], dl
mov dword [0x510878], eax
mov word [0x50f278], dx
jmp 0x48862f
mov eax, dword [0x510878]
cmp eax, 0xb
ja case.default.0x488638
jmp dword [eax*4 + 0x488ccc]
mov dword [0x50eb6c], str.CMDWNDADD
test bl, bl
jne 0x4889bf
mov byte [0x50ee2e], 1
xor eax, eax
xor ecx, ecx
xor edx, edx
mov byte [0x510478], 0
mov word [0x50fc78], cx
mov word [0x50ee78], dx
mov word [0x50edc8], ax
mov dword [0x50edc0], ebp
mov dword [0x50edc4], ebp
mov dword [0x50eda0], ebp
mov dword [0x50eda4], ebp
mov dword [0x50eda8], ebp
mov dword [0x50edac], ebp
mov dword [0x50edb0], ebp
mov dword [0x50edb4], ebp
mov dword [0x50edb8], ebp
mov dword [0x50edbc], ebp
mov byte [0x50eb6a], al
mov byte [0x50eb69], al
mov dword [0x50eb9c], ebp
call fcn.004a5c05
xor ecx, ecx
mov dword [0x50ee30], eax
mov dword [0x51087c], ebp
mov word [0x50eba0], cx
mov dword [0x50ee34], ebp
call fcn.0044f3f0
mov byte [0x50eb68], 0
call fcn.00484fb0
movzx edx, al
push edx
push str.SystemProgressBar
push str.Interface
call fcn.0045b940
test eax, eax
setne al
mov byte [0x50ee2c], al
call fcn.0043ee30
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push str.Interface
call fcn.0045b940
test eax, eax
mov eax, dword [0x510878]
setne dl
mov byte [0x50eb6b], dl
cmp eax, ebp
je 0x48874d
cmp eax, 1
je 0x48874d
cmp eax, 2
jne 0x48876d
mov dword [0x4eac40], ebp
mov dword [0x4eac44], ebp
cmp dword [0x4ea3a4], ebp
jne 0x48876d
mov dword [0x4ea420], ebp
mov dword [0x4ea424], ebp
mov eax, dword [0x50eb6c]
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.004a51b0
add esp, 0xc
cmp dword [0x4ea3a4], 1
je 0x4889cb
mov ecx, dword [0x4eacd4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4889cb
xor bl, bl
jmp 0x4889ff
push ecx
call fcn.00451c30
push eax
xor eax, eax
mov esi, 1
cmp dword [0x510878], esi
setne al
add eax, 0x20a
push eax
call fcn.004611c0
push eax
push 0x50f378
mov edx, 0x480
call fcn.004a29f0
add esp, 0xc
test bl, bl
jne 0x48887d
cmp dword [0x4ea3a4], ebp
je 0x48882b
cmp dword [0x4ea42c], esi
ja 0x488852
cmp dword [0x4f0fac], ebp
je 0x488852
mov ecx, 0x4f0da0
call fcn.00413100
test eax, eax
jne 0x488849
cmp dword [0x4f0fac], esi
je 0x488852
mov byte [0x50ee2e], 0
jmp 0x488859
mov byte [0x50ee2e], 1
mov ecx, 0x4f0da0
call fcn.00413100
test eax, eax
je 0x488876
mov byte [0x50ee2d], 1
cmp dword [0x4f0fac], ebp
jne 0x48887d
mov byte [0x50ee2d], 0
mov dword [0x50eb6c], str.CMDWNDADD
jmp case.default.0x488638
push ecx
call fcn.00451c30
push eax
push 0x20c
call fcn.004611c0
push eax
push 0x50f378
mov edx, 0x480
call fcn.004a29f0
add esp, 0xc
mov dword [0x50eb6c], 0x4bff64
jmp case.default.0x488638
push ecx
call fcn.00451c30
push eax
push 0x20d
jmp 0x488898
push ecx
call fcn.00451c30
push eax
push 0x211
jmp 0x488898
push 0x223
call fcn.004611c0
mov edx, 0x50f378
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4888f0
mov dword [0x50eb6c], str.CMDWNDOTHER
jmp case.default.0x488638
push 0x50b
call fcn.004611c0
mov edx, 0x50f378
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488920
mov dword [0x50eb6c], str.CMDWNDCONVERT
jmp case.default.0x488638
mov dword [0x50eb6c], str.CMDWNDFIND
jmp case.default.0x488638
push 0x543
call fcn.004611c0
mov edx, 0x50f378
jmp 0x488960
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488960
mov dword [0x50eb6c], str.CMDWNDOTHER
jmp case.default.0x488638
push 0x556
call fcn.004611c0
mov edx, 0x50f378
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x488990
mov dword [0x50eb6c], str.CMDWNDOTHER
jmp case.default.0x488638
mov dword [0x50eb6c], str.CMDWNDBENCH
test bl, bl
je 0x488658
call fcn.00486470
xor al, al
jmp 0x488cb0
mov eax, dword [ebp]
mov edx, eax
and edx, 0xffff0000
mov bl, 1
cmp edx, 0xffff0000
jne 0x4889f2
mov eax, dword [ebp + 0xc]
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp + 0xc], eax
jmp 0x4889ff
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x488a0c
mov eax, fcn.00487910
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 0x488a77
push 1
mov ecx, 0x4f23b0
call fcn.0046c390
push eax
mov eax, dword [0x4e9b84]
push 0
push 0x80
push eax
call edi
push 0
mov ecx, 0x4f23b0
call fcn.0046c390
mov ecx, dword [0x4e9b84]
push eax
push 1
push 0x80
push ecx
call edi
cmp dword [0x510878], 6
jne 0x488bfb
xor edx, edx
mov word [esp + 0xa18], dx
cmp word [0x4f34b0], dx
je 0x488b0e
push 0x4f34b0
mov esi, 0x4bae18
call fcn.00451c30
mov cx, word [eax]
cmp cx, word [esi]
jne 0x488acc
test cx, cx
je 0x488ac8
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x488acc
add eax, 4
add esi, 4
test cx, cx
jne 0x488aa6
xor eax, eax
jmp 0x488ad1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x488adc
push 0x210
jmp 0x488ae1
push 0x20f
call fcn.004611c0
push eax
lea eax, [esp + 0xa1c]
push 0x4bff0c
push eax
mov edx, 0x2000
call fcn.004a29f0
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
call fcn.00485f20
cmp word [0x4f4cb0], 0
je 0x488b4a
push 0x20e
call fcn.004611c0
push eax
lea edx, [esp + 0xa1c]
push 0x4bff0c
push edx
mov edx, 0x2000
call fcn.004a29f0
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.00485f20
cmp dword [0x4f65cc], 0
je 0x488b85
push 0x214
call fcn.004611c0
push eax
lea ecx, [esp + 0xa1c]
push 0x4bff0c
push ecx
mov edx, 0x2000
call fcn.004a29f0
add esp, 0xc
lea edx, [esp + 0xa18]
push edx
call fcn.00485f20
cmp byte [0x4f66d9], 0
je 0x488bc0
push 0x213
call fcn.004611c0
push eax
lea eax, [esp + 0xa1c]
push 0x4bff0c
push eax
mov edx, 0x2000
call fcn.004a29f0
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
call fcn.00485f20
cmp byte [0x4f65e2], 0
je 0x488bfb
push 0x349
call fcn.004611c0
push eax
lea edx, [esp + 0xa1c]
push 0x4bff0c
push edx
mov edx, 0x2000
call fcn.004a29f0
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.00485f20
cmp byte [esp + 0x4a28], 0
je 0x488c19
mov ecx, dword [0x4e9b84]
push 0
push 0x6e
push 0x111
push ecx
call edi
jmp 0x488c28
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 [0x510878]
pop edi
test eax, eax
je 0x488c43
cmp eax, 1
je 0x488c43
cmp eax, 2
jne 0x488c7b
mov eax, dword [esp + 0xc]
push eax
push 0x28a
call fcn.004611c0
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edx, 0x500
call fcn.004a29f0
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 [0x50f378], 0
jne 0x488c9c
mov ecx, dword [0x4e9b84]
push 0x480
push 0x50f378
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x4e9b84], 0
je 0x4889c4
call fcn.00486470
mov al, 1
mov ecx, dword [esp + 0x4a14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a48d3
add esp, 0x4a0c
ret 0x10