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

Disassembly:
mov eax, 0x120c
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
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 [0x533b54], ebp
push esi
setne bl
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov word [0x56e748], dx
test bl, bl
jne 0x4a3140
mov eax, dword [esp + 0x121c]
mov byte [0x56e1ff], dl
mov byte [0x56e1fe], dl
mov byte [0x56df39], dl
mov dword [0x571048], eax
mov word [0x56e648], dx
jmp 0x4a3145
mov eax, dword [0x571048]
cmp eax, 0xb
ja case.default.0x4a314e
jmp dword [eax*4 + 0x4a3784]
mov dword [0x56df3c], str.CMDWNDADD
test bl, bl
jne 0x4a34cf
mov byte [0x56e1ff], 1
xor eax, eax
xor ecx, ecx
xor edx, edx
mov byte [0x570848], 0
mov word [0x56f848], cx
mov word [0x56e248], dx
mov word [0x56e198], ax
mov dword [0x56e190], ebp
mov dword [0x56e194], ebp
mov dword [0x56e170], ebp
mov dword [0x56e174], ebp
mov dword [0x56e178], ebp
mov dword [0x56e17c], ebp
mov dword [0x56e180], ebp
mov dword [0x56e184], ebp
mov dword [0x56e188], ebp
mov dword [0x56e18c], ebp
mov byte [0x56df3b], al
mov byte [0x56df3a], al
mov dword [0x56df6c], ebp
call fcn.004c3655
xor ecx, ecx
mov dword [0x56e200], eax
mov dword [0x57104c], ebp
mov word [0x56df70], cx
mov dword [0x56e204], ebp
call fcn.0045e270
mov byte [0x56df38], 0
call fcn.0049f7d0
movzx edx, al
push edx
push str.SystemProgressBar
push str.Interface
call fcn.0046cee0
test eax, eax
setne al
mov byte [0x56e1fd], al
call fcn.0044ba30
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push str.Interface
call fcn.0046cee0
test eax, eax
mov eax, dword [0x571048]
setne dl
mov byte [0x56e1fc], dl
cmp eax, ebp
je 0x4a3263
cmp eax, 1
je 0x4a3263
cmp eax, 2
jne 0x4a3283
mov dword [0x535c18], ebp
mov dword [0x535c1c], ebp
cmp dword [0x534b74], ebp
jne 0x4a3283
mov dword [0x534bf0], ebp
mov dword [0x534bf4], ebp
mov eax, dword [0x56df3c]
mov ecx, dword [0x51ff0c]
push edi
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [0x51ff0c]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x51ff0c]
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.004c2da0
add esp, 0xc
cmp dword [0x534b74], 1
je 0x4a34db
mov ecx, dword [0x535cac]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a34db
xor bl, bl
jmp 0x4a350f
push ecx
call fcn.00460c50
push eax
xor eax, eax
mov esi, 1
cmp dword [0x571048], esi
setne al
add eax, 0x20f
push eax
call fcn.00475cc0
push eax
push 0x56e748
mov edx, 0x880
call fcn.00407810
add esp, 0xc
test bl, bl
jne 0x4a3393
cmp dword [0x534b74], ebp
je 0x4a3341
cmp dword [0x534bfc], esi
ja 0x4a3368
cmp dword [0x542824], ebp
je 0x4a3368
mov ecx, 0x542618
call fcn.004153e0
test eax, eax
jne 0x4a335f
cmp dword [0x542824], esi
je 0x4a3368
mov byte [0x56e1ff], 0
jmp 0x4a336f
mov byte [0x56e1ff], 1
mov ecx, 0x542618
call fcn.004153e0
test eax, eax
je 0x4a338c
mov byte [0x56e1fe], 1
cmp dword [0x542824], ebp
jne 0x4a3393
mov byte [0x56e1fe], 0
mov dword [0x56df3c], str.CMDWNDADD
jmp case.default.0x4a314e
push ecx
call fcn.00460c50
push eax
push 0x211
call fcn.00475cc0
push eax
push 0x56e748
mov edx, 0x880
call fcn.00407810
add esp, 0xc
mov dword [0x56df3c], 0x4dee60
jmp case.default.0x4a314e
push ecx
call fcn.00460c50
push eax
push 0x212
jmp 0x4a33ae
push ecx
call fcn.00460c50
push eax
push 0x216
jmp 0x4a33ae
push 0x223
call fcn.00475cc0
mov edx, 0x56e748
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a3400
mov dword [0x56df3c], str.CMDWNDOTHER
jmp case.default.0x4a314e
push 0x50b
call fcn.00475cc0
mov edx, 0x56e748
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a3430
mov dword [0x56df3c], str.CMDWNDCONVERT
jmp case.default.0x4a314e
mov dword [0x56df3c], str.CMDWNDFIND
jmp case.default.0x4a314e
push 0x543
call fcn.00475cc0
mov edx, 0x56e748
jmp 0x4a3470
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a3470
mov dword [0x56df3c], str.CMDWNDOTHER
jmp case.default.0x4a314e
push 0x556
call fcn.00475cc0
mov edx, 0x56e748
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a34a0
mov dword [0x56df3c], str.CMDWNDOTHER
jmp case.default.0x4a314e
mov dword [0x56df3c], str.CMDWNDBENCH
test bl, bl
je 0x4a316e
call fcn.004a0fb0
xor al, al
jmp 0x4a3767
mov eax, dword [ebp]
mov edx, eax
and edx, 0xffff0000
mov bl, 1
cmp edx, 0xffff0000
jne 0x4a3502
mov eax, dword [ebp + 0xc]
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp + 0xc], eax
jmp 0x4a350f
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a351c
mov eax, fcn.004a24c0
mov ecx, dword [0x534b74]
mov edx, dword [0x51ff0c]
dec ecx
neg ecx
push 0
sbb ecx, ecx
and ecx, dword [0x535cac]
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 [0x533b54], eax
test bl, bl
je 0x4a3587
push 1
mov ecx, 0x544fb8
call fcn.00481550
push eax
mov eax, dword [0x533b54]
push 0
push 0x80
push eax
call edi
push 0
mov ecx, 0x544fb8
call fcn.00481550
mov ecx, dword [0x533b54]
push eax
push 1
push 0x80
push ecx
call edi
cmp dword [0x571048], 6
jne 0x4a3662
cmp word [0x547070], 0
je 0x4a35fe
push 0x547070
mov esi, 0x4d8ecc
call fcn.00460c50
lea ecx, [ecx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4a35d6
test cx, cx
je 0x4a35d2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4a35d6
add eax, 4
add esi, 4
test cx, cx
jne 0x4a35b0
xor eax, eax
jmp 0x4a35db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a35e6
push 0x215
jmp 0x4a35eb
push 0x214
call fcn.00475cc0
push eax
push str.___s
call fcn.004a09e0
add esp, 8
cmp word [0x549076], 0
je 0x4a3620
push 0x213
call fcn.00475cc0
push eax
push str.___s
call fcn.004a09e0
add esp, 8
cmp dword [0x54c19c], 0
je 0x4a3641
push 0x218
call fcn.00475cc0
push eax
push str.___s
call fcn.004a09e0
add esp, 8
cmp byte [0x54c338], 0
je 0x4a3662
push 0x217
call fcn.00475cc0
push eax
push str.___s
call fcn.004a09e0
add esp, 8
cmp byte [esp + 0x1228], 0
je 0x4a3680
mov edx, dword [0x533b54]
push 0
push 0x6e
push 0x111
push edx
call edi
jmp 0x4a368e
mov eax, dword [0x533b54]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x571048]
test eax, eax
je 0x4a36a8
cmp eax, 1
je 0x4a36a8
cmp eax, 2
jne 0x4a36e1
mov ecx, dword [esp + 0x10]
push ecx
push 0x28a
call fcn.00475cc0
push eax
lea edx, [esp + 0x20]
push edx
mov edx, 0x900
call fcn.00407810
mov ecx, dword [0x533b54]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0xa5
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x56e748], 0
jne 0x4a3702
mov edx, dword [0x533b54]
push 0x880
push 0x56e748
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x533b54], 0
jne 0x4a370f
xor al, al
jmp 0x4a3766
call fcn.004a0fb0
cmp byte [0x550424], 0
je 0x4a3764
cmp dword [0x535ca4], 0
je 0x4a3764
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
mov edi, edi
mov eax, dword [0x535ca4]
push 0xa
push eax
call edi
cmp eax, 0x102
jne 0x4a3757
cmp byte [0x535c28], 0
jne 0x4a3764
call fcn.00453df0
inc esi
cmp esi, 0x14
jb 0x4a3730
jmp 0x4a3764
mov ecx, dword [0x535ca4]
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.004c1c22
add esp, 0x120c
ret 0x10