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

Disassembly:
mov eax, 0x120c
call fcn.004df840
mov eax, dword [0x50fb70]
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 [0x533384], ebp
push esi
setne bl
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov word [0x563578], dx
test bl, bl
jne 0x4b1880
mov eax, dword [esp + 0x121c]
mov byte [0x562f9c], dl
mov byte [0x562d97], dl
mov byte [0x562d62], dl
mov dword [0x563034], eax
mov word [0x563478], dx
jmp 0x4b1885
mov eax, dword [0x563034]
cmp eax, 0xb
ja case.default.0x4b188e
jmp dword [eax*4 + 0x4b1e80]
mov dword [0x562d64], str.CMDWNDADD
test bl, bl
jne 0x4b1c0f
mov byte [0x562f9c], 1
xor eax, eax
xor ecx, ecx
xor edx, edx
mov word [0x564678], cx
mov word [0x563078], dx
mov word [0x562fc8], ax
mov dword [0x562fc0], ebp
mov dword [0x562fc4], ebp
mov dword [0x562fa0], ebp
mov dword [0x562fa4], ebp
mov dword [0x562fa8], ebp
mov dword [0x562fac], ebp
mov dword [0x562fb0], ebp
mov dword [0x562fb4], ebp
mov dword [0x562fb8], ebp
mov dword [0x562fbc], ebp
mov byte [0x562d94], al
mov byte [0x562d63], al
mov dword [0x562f98], ebp
call fcn.004e330a
xor ecx, ecx
mov dword [0x56302c], eax
mov dword [0x565678], ebp
mov word [0x562d98], cx
mov dword [0x563030], ebp
call fcn.00493850
mov byte [0x562d61], 0
mov byte [0x562d60], 0
call fcn.004adc60
movzx edx, al
push edx
push str.SystemProgressBar
push str.Interface
call fcn.00496890
test eax, eax
setne al
mov byte [0x562d96], al
call fcn.00445f80
cmp eax, 0x601
sbb ecx, ecx
inc ecx
push ecx
push str.TaskbarProgressBar
push str.Interface
call fcn.00496890
test eax, eax
mov eax, dword [0x563034]
setne dl
mov byte [0x562d95], dl
cmp eax, ebp
je 0x4b19a3
cmp eax, 1
je 0x4b19a3
cmp eax, 2
jne 0x4b19c3
mov dword [0x535448], ebp
mov dword [0x53544c], ebp
cmp dword [0x5343a4], ebp
jne 0x4b19c3
mov dword [0x534420], ebp
mov dword [0x534424], ebp
mov eax, dword [0x562d64]
mov ecx, dword [0x5275b4]
push edi
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [0x5275b4]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x5275b4]
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.004e03c0
add esp, 0xc
cmp dword [0x5343a4], 1
je 0x4b1c1b
mov ecx, dword [0x5354dc]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b1c1b
xor bl, bl
jmp 0x4b1c4f
push ecx
call fcn.00451140
push eax
xor eax, eax
mov esi, 1
cmp dword [0x563034], esi
setne al
add eax, 0x20f
push eax
call fcn.004612b0
push eax
push 0x563578
mov edx, 0x880
call fcn.00460180
add esp, 0xc
test bl, bl
jne 0x4b1ad3
cmp dword [0x5343a4], ebp
je 0x4b1a81
cmp dword [0x53442c], esi
ja 0x4b1aa8
cmp dword [0x541e3c], ebp
je 0x4b1aa8
mov ecx, 0x541e38
call fcn.004785f0
test eax, eax
jne 0x4b1a9f
cmp dword [0x541e3c], esi
je 0x4b1aa8
mov byte [0x562f9c], 0
jmp 0x4b1aaf
mov byte [0x562f9c], 1
mov ecx, 0x541e38
call fcn.004785f0
test eax, eax
je 0x4b1acc
mov byte [0x562d97], 1
cmp dword [0x541e3c], ebp
jne 0x4b1ad3
mov byte [0x562d97], 0
mov dword [0x562d64], str.CMDWNDADD
jmp case.default.0x4b188e
push ecx
call fcn.00451140
push eax
push 0x211
call fcn.004612b0
push eax
push 0x563578
mov edx, 0x880
call fcn.00460180
add esp, 0xc
mov dword [0x562d64], 0x5005b0
jmp case.default.0x4b188e
push ecx
call fcn.00451140
push eax
push 0x212
jmp 0x4b1aee
push ecx
call fcn.00451140
push eax
push 0x216
jmp 0x4b1aee
push 0x223
call fcn.004612b0
mov edx, 0x563578
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4b1b40
mov dword [0x562d64], str.CMDWNDOTHER
jmp case.default.0x4b188e
push 0x50b
call fcn.004612b0
mov edx, 0x563578
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4b1b70
mov dword [0x562d64], str.CMDWNDCONVERT
jmp case.default.0x4b188e
mov dword [0x562d64], str.CMDWNDFIND
jmp case.default.0x4b188e
push 0x543
call fcn.004612b0
mov edx, 0x563578
jmp 0x4b1bb0
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4b1bb0
mov dword [0x562d64], str.CMDWNDOTHER
jmp case.default.0x4b188e
push 0x556
call fcn.004612b0
mov edx, 0x563578
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bp
jne 0x4b1be0
mov dword [0x562d64], str.CMDWNDOTHER
jmp case.default.0x4b188e
mov dword [0x562d64], str.CMDWNDBENCH
test bl, bl
je 0x4b18ae
call fcn.004af730
xor al, al
jmp 0x4b1e65
mov eax, dword [ebp]
mov edx, eax
and edx, 0xffff0000
mov bl, 1
cmp edx, 0xffff0000
jne 0x4b1c42
mov eax, dword [ebp + 0xc]
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp + 0xc], eax
jmp 0x4b1c4f
and eax, 0x3ff5f7ff
or eax, 0x800a0800
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b1c5c
mov eax, fcn.004b0c00
mov ecx, dword [0x5343a4]
mov edx, dword [0x5275b4]
dec ecx
neg ecx
push 0
sbb ecx, ecx
and ecx, dword [0x5354dc]
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 [0x533384], eax
test bl, bl
je 0x4b1cc7
push 1
mov ecx, 0x5446c8
call fcn.0049e670
push eax
mov eax, dword [0x533384]
push 0
push 0x80
push eax
call edi
push 0
mov ecx, 0x5446c8
call fcn.0049e670
mov ecx, dword [0x533384]
push eax
push 1
push 0x80
push ecx
call edi
cmp dword [0x563034], 6
jne 0x4b1da2
cmp word [0x546780], 0
je 0x4b1d3e
push 0x546780
mov esi, 0x4fa86c
call fcn.00451140
lea ecx, [ecx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4b1d16
test cx, cx
je 0x4b1d12
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4b1d16
add eax, 4
add esi, 4
test cx, cx
jne 0x4b1cf0
xor eax, eax
jmp 0x4b1d1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4b1d26
push 0x215
jmp 0x4b1d2b
push 0x214
call fcn.004612b0
push eax
push 0x500558
call fcn.004af110
add esp, 8
cmp word [0x548786], 0
je 0x4b1d60
push 0x213
call fcn.004612b0
push eax
push 0x500558
call fcn.004af110
add esp, 8
cmp dword [0x54b8ac], 0
je 0x4b1d81
push 0x218
call fcn.004612b0
push eax
push 0x500558
call fcn.004af110
add esp, 8
cmp byte [0x54ba48], 0
je 0x4b1da2
push 0x217
call fcn.004612b0
push eax
push 0x500558
call fcn.004af110
add esp, 8
cmp byte [esp + 0x1228], 0
je 0x4b1dc0
mov edx, dword [0x533384]
push 0
push 0x6e
push 0x111
push edx
call edi
jmp 0x4b1dce
mov eax, dword [0x533384]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x563034]
pop edi
test eax, eax
je 0x4b1de9
cmp eax, 1
je 0x4b1de9
cmp eax, 2
jne 0x4b1e22
mov ecx, dword [esp + 0xc]
push ecx
push 0x28a
call fcn.004612b0
push eax
lea edx, [esp + 0x1c]
push edx
mov edx, 0x900
call fcn.00460180
mov ecx, dword [0x533384]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0xa5
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x563578], 0
jne 0x4b1e43
mov edx, dword [0x533384]
push 0x880
push 0x563578
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x533384], 0
je 0x4b1c14
call fcn.004af730
cmp dword [0x563034], 0
jne 0x4b1e63
call fcn.004af6c0
mov al, 1
mov ecx, dword [esp + 0x1214]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x120c
ret 0x10