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

Disassembly:
mov eax, 0x120c
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1208], eax
mov ecx, dword [esp + 0x1214]
mov eax, dword [esp + 0x121c]
push ebx
push ebp
xor ebp, ebp
cmp dword [0x53342c], ebp
push esi
setne bl
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov word [0x56e020], dx
test bl, bl
jne 0x4a2110
mov eax, dword [esp + 0x121c]
mov byte [0x56dad7], dl
mov byte [0x56dad6], dl
mov byte [0x56d811], dl
mov dword [0x570920], eax
mov word [0x56df20], dx
jmp 0x4a2115
mov eax, dword [0x570920]
cmp eax, 0xb
ja case.default.0x4a211e
jmp dword [eax*4 + 0x4a2754]
mov dword [0x56d814], str.CMDWNDADD
test bl, bl
jne 0x4a249f
mov byte [0x56dad7], 1
xor eax, eax
xor ecx, ecx
xor edx, edx
mov byte [0x570120], 0
mov word [0x56f120], cx
mov word [0x56db20], dx
mov word [0x56da70], ax
mov dword [0x56da68], ebp
mov dword [0x56da6c], ebp
mov dword [0x56da48], ebp
mov dword [0x56da4c], ebp
mov dword [0x56da50], ebp
mov dword [0x56da54], ebp
mov dword [0x56da58], ebp
mov dword [0x56da5c], ebp
mov dword [0x56da60], ebp
mov dword [0x56da64], ebp
mov byte [0x56d813], al
mov byte [0x56d812], al
mov dword [0x56d844], ebp
call fcn.004c2695
xor ecx, ecx
mov dword [0x56dad8], eax
mov dword [0x570924], ebp
mov word [0x56d848], cx
mov dword [0x56dadc], ebp
call fcn.0045d990
mov byte [0x56d810], 0
call fcn.0049e770
movzx edx, al
push edx
push str.SystemProgressBar
push str.Interface
call fcn.0046c5f0
test eax, eax
setne al
mov byte [0x56dad5], al
call fcn.0044b030
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push str.Interface
call fcn.0046c5f0
test eax, eax
mov eax, dword [0x570920]
setne dl
mov byte [0x56dad4], dl
cmp eax, ebp
je 0x4a2233
cmp eax, 1
je 0x4a2233
cmp eax, 2
jne 0x4a2253
mov dword [0x5354f0], ebp
mov dword [0x5354f4], ebp
cmp dword [0x53444c], ebp
jne 0x4a2253
mov dword [0x5344c8], ebp
mov dword [0x5344cc], ebp
mov eax, dword [0x56d814]
mov ecx, dword [0x51f7e4]
push edi
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [0x51f7e4]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x51f7e4]
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.004c1de0
add esp, 0xc
cmp dword [0x53444c], 1
je 0x4a24ab
mov ecx, dword [0x535584]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a24ab
xor bl, bl
jmp 0x4a24df
push ecx
call fcn.00460330
push eax
xor eax, eax
mov esi, 1
cmp dword [0x570920], esi
setne al
add eax, 0x20f
push eax
call fcn.004750b0
push eax
push 0x56e020
mov edx, 0x880
call fcn.00495190
add esp, 0xc
test bl, bl
jne 0x4a2363
cmp dword [0x53444c], ebp
je 0x4a2311
cmp dword [0x5344d4], esi
ja 0x4a2338
cmp dword [0x5420fc], ebp
je 0x4a2338
mov ecx, 0x541ef0
call fcn.00415160
test eax, eax
jne 0x4a232f
cmp dword [0x5420fc], esi
je 0x4a2338
mov byte [0x56dad7], 0
jmp 0x4a233f
mov byte [0x56dad7], 1
mov ecx, 0x541ef0
call fcn.00415160
test eax, eax
je 0x4a235c
mov byte [0x56dad6], 1
cmp dword [0x5420fc], ebp
jne 0x4a2363
mov byte [0x56dad6], 0
mov dword [0x56d814], str.CMDWNDADD
jmp case.default.0x4a211e
push ecx
call fcn.00460330
push eax
push 0x211
call fcn.004750b0
push eax
push 0x56e020
mov edx, 0x880
call fcn.00495190
add esp, 0xc
mov dword [0x56d814], 0x4ddeb8
jmp case.default.0x4a211e
push ecx
call fcn.00460330
push eax
push 0x212
jmp 0x4a237e
push ecx
call fcn.00460330
push eax
push 0x216
jmp 0x4a237e
push 0x223
call fcn.004750b0
mov edx, 0x56e020
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a23d0
mov dword [0x56d814], str.CMDWNDOTHER
jmp case.default.0x4a211e
push 0x50b
call fcn.004750b0
mov edx, 0x56e020
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a2400
mov dword [0x56d814], str.CMDWNDCONVERT
jmp case.default.0x4a211e
mov dword [0x56d814], str.CMDWNDFIND
jmp case.default.0x4a211e
push 0x543
call fcn.004750b0
mov edx, 0x56e020
jmp 0x4a2440
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a2440
mov dword [0x56d814], str.CMDWNDOTHER
jmp case.default.0x4a211e
push 0x556
call fcn.004750b0
mov edx, 0x56e020
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a2470
mov dword [0x56d814], str.CMDWNDOTHER
jmp case.default.0x4a211e
mov dword [0x56d814], str.CMDWNDBENCH
test bl, bl
je 0x4a213e
call fcn.0049ff80
xor al, al
jmp 0x4a2737
mov eax, dword [ebp]
mov edx, eax
and edx, 0xffff0000
mov bl, 1
cmp edx, 0xffff0000
jne 0x4a24d2
mov eax, dword [ebp + 0xc]
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp + 0xc], eax
jmp 0x4a24df
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a24ec
mov eax, fcn.004a1490
mov ecx, dword [0x53444c]
mov edx, dword [0x51f7e4]
dec ecx
neg ecx
push 0
sbb ecx, ecx
and ecx, dword [0x535584]
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 [0x53342c], eax
test bl, bl
je 0x4a2557
push 1
mov ecx, 0x544890
call fcn.00480860
push eax
mov eax, dword [0x53342c]
push 0
push 0x80
push eax
call edi
push 0
mov ecx, 0x544890
call fcn.00480860
mov ecx, dword [0x53342c]
push eax
push 1
push 0x80
push ecx
call edi
cmp dword [0x570920], 6
jne 0x4a2632
cmp word [0x546948], 0
je 0x4a25ce
push 0x546948
mov esi, 0x4d7ec0
call fcn.00460330
lea ecx, [ecx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4a25a6
test cx, cx
je 0x4a25a2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4a25a6
add eax, 4
add esi, 4
test cx, cx
jne 0x4a2580
xor eax, eax
jmp 0x4a25ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a25b6
push 0x215
jmp 0x4a25bb
push 0x214
call fcn.004750b0
push eax
push 0x4dde60
call fcn.0049f9b0
add esp, 8
cmp word [0x54894e], 0
je 0x4a25f0
push 0x213
call fcn.004750b0
push eax
push 0x4dde60
call fcn.0049f9b0
add esp, 8
cmp dword [0x54ba74], 0
je 0x4a2611
push 0x218
call fcn.004750b0
push eax
push 0x4dde60
call fcn.0049f9b0
add esp, 8
cmp byte [0x54bc10], 0
je 0x4a2632
push 0x217
call fcn.004750b0
push eax
push 0x4dde60
call fcn.0049f9b0
add esp, 8
cmp byte [esp + 0x1228], 0
je 0x4a2650
mov edx, dword [0x53342c]
push 0
push 0x6e
push 0x111
push edx
call edi
jmp 0x4a265e
mov eax, dword [0x53342c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x570920]
test eax, eax
je 0x4a2678
cmp eax, 1
je 0x4a2678
cmp eax, 2
jne 0x4a26b1
mov ecx, dword [esp + 0x10]
push ecx
push 0x28a
call fcn.004750b0
push eax
lea edx, [esp + 0x20]
push edx
mov edx, 0x900
call fcn.00495190
mov ecx, dword [0x53342c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0xa5
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x56e020], 0
jne 0x4a26d2
mov edx, dword [0x53342c]
push 0x880
push 0x56e020
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x53342c], 0
jne 0x4a26df
xor al, al
jmp 0x4a2736
call fcn.0049ff80
cmp byte [0x54fcfc], 0
je 0x4a2734
cmp dword [0x53557c], 0
je 0x4a2734
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
mov edi, edi
mov eax, dword [0x53557c]
push 0xa
push eax
call edi
cmp eax, 0x102
jne 0x4a2727
cmp byte [0x535500], 0
jne 0x4a2734
call fcn.00453460
inc esi
cmp esi, 0x14
jb 0x4a2700
jmp 0x4a2734
mov ecx, dword [0x53557c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, 1
pop edi
mov ecx, dword [esp + 0x1214]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x120c
ret 0x10