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

Disassembly:
mov eax, 0x4a0c
call fcn.004a4220
mov eax, dword [0x4ca3b0]
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 [0x4e7b84], ebp
push esi
setne bl
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov word [0x50d368], dx
test bl, bl
jne 0x48790a
mov eax, dword [esp + 0x4a1c]
mov byte [0x50ce1e], dl
mov byte [0x50ce1d], dl
mov dword [0x50e868], eax
mov word [0x50d268], dx
jmp 0x48790f
mov eax, dword [0x50e868]
cmp eax, 0xb
ja case.default.0x487918
jmp dword [eax*4 + 0x487f88]
mov dword [0x50cb5c], str.CMDWNDADD
test bl, bl
jne 0x487c9f
mov byte [0x50ce1e], 1
xor eax, eax
xor ecx, ecx
xor edx, edx
mov byte [0x50e468], 0
mov word [0x50dc68], cx
mov word [0x50ce68], dx
mov word [0x50cdb8], ax
mov dword [0x50cdb0], ebp
mov dword [0x50cdb4], ebp
mov dword [0x50cd90], ebp
mov dword [0x50cd94], ebp
mov dword [0x50cd98], ebp
mov dword [0x50cd9c], ebp
mov dword [0x50cda0], ebp
mov dword [0x50cda4], ebp
mov dword [0x50cda8], ebp
mov dword [0x50cdac], ebp
mov byte [0x50cb5a], al
mov byte [0x50cb59], al
mov dword [0x50cb8c], ebp
call fcn.004a4d25
xor ecx, ecx
mov dword [0x50ce20], eax
mov dword [0x50e86c], ebp
mov word [0x50cb90], cx
mov dword [0x50ce24], ebp
call fcn.0044ecb0
mov byte [0x50cb58], 0
call fcn.00484200
movzx edx, al
push edx
push str.SystemProgressBar
push str.Interface
call fcn.0045afb0
test eax, eax
setne al
mov byte [0x50ce1c], al
call fcn.0043e7a0
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push str.Interface
call fcn.0045afb0
test eax, eax
mov eax, dword [0x50e868]
setne dl
mov byte [0x50cb5b], dl
cmp eax, ebp
je 0x487a2d
cmp eax, 1
je 0x487a2d
cmp eax, 2
jne 0x487a4d
mov dword [0x4e8c40], ebp
mov dword [0x4e8c44], ebp
cmp dword [0x4e83a4], ebp
jne 0x487a4d
mov dword [0x4e8420], ebp
mov dword [0x4e8424], ebp
mov eax, dword [0x50cb5c]
mov ecx, dword [0x4d56b0]
push edi
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [0x4d56b0]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x4d56b0]
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.004a42d0
add esp, 0xc
cmp dword [0x4e83a4], 1
je 0x487cab
mov ecx, dword [0x4e8cd4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x487cab
xor bl, bl
jmp 0x487cbf
push ecx
call fcn.004513d0
push eax
xor eax, eax
mov esi, 1
cmp dword [0x50e868], esi
setne al
add eax, 0x20a
push eax
call fcn.00460760
push eax
push 0x50d368
mov edx, 0x480
call fcn.00495900
add esp, 0xc
test bl, bl
jne 0x487b5d
cmp dword [0x4e83a4], ebp
je 0x487b0b
cmp dword [0x4e842c], esi
ja 0x487b32
cmp dword [0x4eefa8], ebp
je 0x487b32
mov ecx, 0x4eeda0
call fcn.00413030
test eax, eax
jne 0x487b29
cmp dword [0x4eefa8], esi
je 0x487b32
mov byte [0x50ce1e], 0
jmp 0x487b39
mov byte [0x50ce1e], 1
mov ecx, 0x4eeda0
call fcn.00413030
test eax, eax
je 0x487b56
mov byte [0x50ce1d], 1
cmp dword [0x4eefa8], ebp
jne 0x487b5d
mov byte [0x50ce1d], 0
mov dword [0x50cb5c], str.CMDWNDADD
jmp case.default.0x487918
push ecx
call fcn.004513d0
push eax
push 0x20c
call fcn.00460760
push eax
push 0x50d368
mov edx, 0x480
call fcn.00495900
add esp, 0xc
mov dword [0x50cb5c], 0x4bdf1c
jmp case.default.0x487918
push ecx
call fcn.004513d0
push eax
push 0x20d
jmp 0x487b78
push ecx
call fcn.004513d0
push eax
push 0x211
jmp 0x487b78
push 0x223
call fcn.00460760
mov edx, 0x50d368
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x487bd0
mov dword [0x50cb5c], str.CMDWNDOTHER
jmp case.default.0x487918
push 0x50b
call fcn.00460760
mov edx, 0x50d368
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x487c00
mov dword [0x50cb5c], str.CMDWNDCONVERT
jmp case.default.0x487918
mov dword [0x50cb5c], str.CMDWNDFIND
jmp case.default.0x487918
push 0x543
call fcn.00460760
mov edx, 0x50d368
jmp 0x487c40
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x487c40
mov dword [0x50cb5c], str.CMDWNDOTHER
jmp case.default.0x487918
push 0x556
call fcn.00460760
mov edx, 0x50d368
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x487c70
mov dword [0x50cb5c], str.CMDWNDOTHER
jmp case.default.0x487918
mov dword [0x50cb5c], str.CMDWNDBENCH
test bl, bl
je 0x487938
call fcn.00485770
xor al, al
jmp 0x487f6e
mov edx, dword [ebp]
and edx, 0x3ff5f7ff
or edx, 0x800a0800
mov bl, 1
mov dword [ebp], edx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x487ccc
mov eax, fcn.00486c10
mov ecx, dword [0x4d56b0]
push 0
push eax
mov eax, dword [0x4e83a4]
dec eax
neg eax
sbb eax, eax
and eax, dword [0x4e8cd4]
push eax
push ebp
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x4e7b84], eax
test bl, bl
je 0x487d36
push 1
mov ecx, 0x4f03a8
call fcn.0046b8d0
mov edx, dword [0x4e7b84]
push eax
push 0
push 0x80
push edx
call edi
push 0
mov ecx, 0x4f03a8
call fcn.0046b8d0
push eax
mov eax, dword [0x4e7b84]
push 1
push 0x80
push eax
call edi
cmp dword [0x50e868], 6
jne 0x487eba
xor ecx, ecx
mov word [esp + 0xa18], cx
cmp word [0x4f14a8], cx
je 0x487dcd
push 0x4f14a8
mov esi, 0x4b8d60
call fcn.004513d0
mov cx, word [eax]
cmp cx, word [esi]
jne 0x487d8b
test cx, cx
je 0x487d87
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x487d8b
add eax, 4
add esi, 4
test cx, cx
jne 0x487d65
xor eax, eax
jmp 0x487d90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x487d9b
push 0x210
jmp 0x487da0
push 0x20f
call fcn.00460760
push eax
lea edx, [esp + 0xa1c]
push str.___s
push edx
mov edx, 0x2000
call fcn.00495900
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.00485240
cmp word [0x4f2ca8], 0
je 0x487e09
push 0x20e
call fcn.00460760
push eax
lea ecx, [esp + 0xa1c]
push str.___s
push ecx
mov edx, 0x2000
call fcn.00495900
add esp, 0xc
lea edx, [esp + 0xa18]
push edx
call fcn.00485240
cmp dword [0x4f45c4], 0
je 0x487e44
push 0x214
call fcn.00460760
push eax
lea eax, [esp + 0xa1c]
push str.___s
push eax
mov edx, 0x2000
call fcn.00495900
add esp, 0xc
lea ecx, [esp + 0xa18]
push ecx
call fcn.00485240
cmp byte [0x4f46d1], 0
je 0x487e7f
push 0x213
call fcn.00460760
push eax
lea edx, [esp + 0xa1c]
push str.___s
push edx
mov edx, 0x2000
call fcn.00495900
add esp, 0xc
lea eax, [esp + 0xa18]
push eax
call fcn.00485240
cmp byte [0x4f45da], 0
je 0x487eba
push 0x349
call fcn.00460760
push eax
lea ecx, [esp + 0xa1c]
push str.___s
push ecx
mov edx, 0x2000
call fcn.00495900
add esp, 0xc
lea edx, [esp + 0xa18]
push edx
call fcn.00485240
cmp byte [esp + 0x4a28], 0
je 0x487ed7
mov eax, dword [0x4e7b84]
push 0
push 0x6e
push 0x111
push eax
call edi
jmp 0x487ee6
mov ecx, dword [0x4e7b84]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x50e868]
pop edi
test eax, eax
je 0x487f01
cmp eax, 1
je 0x487f01
cmp eax, 2
jne 0x487f3a
mov edx, dword [esp + 0xc]
push edx
push 0x28a
call fcn.00460760
push eax
lea eax, [esp + 0x1c]
push eax
mov edx, 0x500
call fcn.00495900
mov edx, dword [0x4e7b84]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0xa5
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x50d368], 0
jne 0x487f5a
mov eax, dword [0x4e7b84]
push 0x480
push 0x50d368
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x4e7b84], 0
je 0x487ca4
call fcn.00485770
mov al, 1
mov ecx, dword [esp + 0x4a14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x4a0c
ret 0x10