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

Disassembly:
mov eax, 0x120c
call fcn.004bfc70
mov eax, dword [0x4ea93c]
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 [0x5323ec], ebp
push esi
setne bl
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov word [0x56cfe8], dx
test bl, bl
jne 0x4a1240
mov eax, dword [esp + 0x121c]
mov byte [0x56ca9f], dl
mov byte [0x56ca9e], dl
mov byte [0x56c7d9], dl
mov dword [0x56f8e8], eax
mov word [0x56cee8], dx
jmp 0x4a1245
mov eax, dword [0x56f8e8]
cmp eax, 0xb
ja case.default.0x4a124e
jmp dword [eax*4 + 0x4a1838]
mov dword [0x56c7dc], str.CMDWNDADD
test bl, bl
jne 0x4a15cf
mov byte [0x56ca9f], 1
xor eax, eax
xor ecx, ecx
xor edx, edx
mov byte [0x56f0e8], 0
mov word [0x56e0e8], cx
mov word [0x56cae8], dx
mov word [0x56ca38], ax
mov dword [0x56ca30], ebp
mov dword [0x56ca34], ebp
mov dword [0x56ca10], ebp
mov dword [0x56ca14], ebp
mov dword [0x56ca18], ebp
mov dword [0x56ca1c], ebp
mov dword [0x56ca20], ebp
mov dword [0x56ca24], ebp
mov dword [0x56ca28], ebp
mov dword [0x56ca2c], ebp
mov byte [0x56c7db], al
mov byte [0x56c7da], al
mov dword [0x56c80c], ebp
call fcn.004c1545
xor ecx, ecx
mov dword [0x56caa0], eax
mov dword [0x56f8ec], ebp
mov word [0x56c810], cx
mov dword [0x56caa4], ebp
call fcn.0045cf60
mov byte [0x56c7d8], 0
call fcn.0049d8d0
movzx edx, al
push edx
push str.SystemProgressBar
push str.Interface
call fcn.0046bce0
test eax, eax
setne al
mov byte [0x56ca9d], al
call fcn.0044a940
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push str.Interface
call fcn.0046bce0
test eax, eax
mov eax, dword [0x56f8e8]
setne dl
mov byte [0x56ca9c], dl
cmp eax, ebp
je 0x4a1363
cmp eax, 1
je 0x4a1363
cmp eax, 2
jne 0x4a1383
mov dword [0x5344b0], ebp
mov dword [0x5344b4], ebp
cmp dword [0x53340c], ebp
jne 0x4a1383
mov dword [0x533488], ebp
mov dword [0x53348c], ebp
mov eax, dword [0x56c7dc]
mov ecx, dword [0x51e7a4]
push edi
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [0x51e7a4]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x51e7a4]
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.004c0c90
add esp, 0xc
cmp dword [0x53340c], 1
je 0x4a15db
mov ecx, dword [0x534544]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a15db
xor bl, bl
jmp 0x4a160f
push ecx
call fcn.0045f900
push eax
xor eax, eax
mov esi, 1
cmp dword [0x56f8e8], esi
setne al
add eax, 0x20f
push eax
call fcn.004744a0
push eax
push 0x56cfe8
mov edx, 0x880
call fcn.0043a6e0
add esp, 0xc
test bl, bl
jne 0x4a1493
cmp dword [0x53340c], ebp
je 0x4a1441
cmp dword [0x533494], esi
ja 0x4a1468
cmp dword [0x5410bc], ebp
je 0x4a1468
mov ecx, 0x540eb0
call fcn.00414e00
test eax, eax
jne 0x4a145f
cmp dword [0x5410bc], esi
je 0x4a1468
mov byte [0x56ca9f], 0
jmp 0x4a146f
mov byte [0x56ca9f], 1
mov ecx, 0x540eb0
call fcn.00414e00
test eax, eax
je 0x4a148c
mov byte [0x56ca9e], 1
cmp dword [0x5410bc], ebp
jne 0x4a1493
mov byte [0x56ca9e], 0
mov dword [0x56c7dc], str.CMDWNDADD
jmp case.default.0x4a124e
push ecx
call fcn.0045f900
push eax
push 0x211
call fcn.004744a0
push eax
push 0x56cfe8
mov edx, 0x880
call fcn.0043a6e0
add esp, 0xc
mov dword [0x56c7dc], 0x4dce38
jmp case.default.0x4a124e
push ecx
call fcn.0045f900
push eax
push 0x212
jmp 0x4a14ae
push ecx
call fcn.0045f900
push eax
push 0x216
jmp 0x4a14ae
push 0x223
call fcn.004744a0
mov edx, 0x56cfe8
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a1500
mov dword [0x56c7dc], str.CMDWNDOTHER
jmp case.default.0x4a124e
push 0x50b
call fcn.004744a0
mov edx, 0x56cfe8
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a1530
mov dword [0x56c7dc], str.CMDWNDCONVERT
jmp case.default.0x4a124e
mov dword [0x56c7dc], str.CMDWNDFIND
jmp case.default.0x4a124e
push 0x543
call fcn.004744a0
mov edx, 0x56cfe8
jmp 0x4a1570
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a1570
mov dword [0x56c7dc], str.CMDWNDOTHER
jmp case.default.0x4a124e
push 0x556
call fcn.004744a0
mov edx, 0x56cfe8
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4a15a0
mov dword [0x56c7dc], str.CMDWNDOTHER
jmp case.default.0x4a124e
mov dword [0x56c7dc], str.CMDWNDBENCH
test bl, bl
je 0x4a126e
call fcn.0049f0e0
xor al, al
jmp 0x4a181c
mov eax, dword [ebp]
mov edx, eax
and edx, 0xffff0000
mov bl, 1
cmp edx, 0xffff0000
jne 0x4a1602
mov eax, dword [ebp + 0xc]
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp + 0xc], eax
jmp 0x4a160f
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a161c
mov eax, fcn.004a05c0
mov ecx, dword [0x53340c]
mov edx, dword [0x51e7a4]
dec ecx
neg ecx
push 0
sbb ecx, ecx
and ecx, dword [0x534544]
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 [0x5323ec], eax
test bl, bl
je 0x4a1687
push 1
mov ecx, 0x543850
call fcn.0047fcc0
push eax
mov eax, dword [0x5323ec]
push 0
push 0x80
push eax
call edi
push 0
mov ecx, 0x543850
call fcn.0047fcc0
mov ecx, dword [0x5323ec]
push eax
push 1
push 0x80
push ecx
call edi
cmp dword [0x56f8e8], 6
jne 0x4a1762
cmp word [0x545908], 0
je 0x4a16fe
push 0x545908
mov esi, 0x4d6ed8
call fcn.0045f900
lea ecx, [ecx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4a16d6
test cx, cx
je 0x4a16d2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4a16d6
add eax, 4
add esi, 4
test cx, cx
jne 0x4a16b0
xor eax, eax
jmp 0x4a16db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a16e6
push 0x215
jmp 0x4a16eb
push 0x214
call fcn.004744a0
push eax
push 0x4dcde0
call fcn.0049eb10
add esp, 8
cmp word [0x54790e], 0
je 0x4a1720
push 0x213
call fcn.004744a0
push eax
push 0x4dcde0
call fcn.0049eb10
add esp, 8
cmp dword [0x54aa30], 0
je 0x4a1741
push 0x218
call fcn.004744a0
push eax
push 0x4dcde0
call fcn.0049eb10
add esp, 8
cmp byte [0x54abd0], 0
je 0x4a1762
push 0x217
call fcn.004744a0
push eax
push 0x4dcde0
call fcn.0049eb10
add esp, 8
cmp byte [esp + 0x1228], 0
je 0x4a1780
mov edx, dword [0x5323ec]
push 0
push 0x6e
push 0x111
push edx
call edi
jmp 0x4a178e
mov eax, dword [0x5323ec]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x56f8e8]
pop edi
test eax, eax
je 0x4a17a9
cmp eax, 1
je 0x4a17a9
cmp eax, 2
jne 0x4a17e2
mov ecx, dword [esp + 0xc]
push ecx
push 0x28a
call fcn.004744a0
push eax
lea edx, [esp + 0x1c]
push edx
mov edx, 0x900
call fcn.0043a6e0
mov ecx, dword [0x5323ec]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0xa5
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x56cfe8], 0
jne 0x4a1803
mov edx, dword [0x5323ec]
push 0x880
push 0x56cfe8
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x5323ec], 0
je 0x4a15d4
call fcn.0049f0e0
call fcn.00452b90
mov al, 1
mov ecx, dword [esp + 0x1214]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x120c
ret 0x10