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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4735fd
mov eax, dword [ebp - 4]
add esp, 0xfffffaf0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
cmp dword [0x4c6ef8], 0
je 0x47362f
xor eax, eax
jmp 0x473c69
mov edx, dword [ebp - 4]
mov dword [0x4d3b70], edx
xor ecx, ecx
mov byte [0x4d3c74], cl
mov byte [0x4d3bf4], cl
mov byte [0x4d3b74], cl
mov byte [0x4d4074], 0
mov byte [0x4d42bf], 0
mov dword [0x4d42e0], 0
mov dword [0x4d42e4], 0
xor eax, eax
xor edx, edx
mov dword [0x4d4300], eax
mov dword [0x4d4304], edx
mov dword [0x4d42f8], eax
mov dword [0x4d42fc], edx
mov dword [0x4d42f0], eax
mov dword [0x4d42f4], edx
mov dword [0x4d42e8], eax
mov dword [0x4d42ec], edx
mov byte [0x4d430c], 0
mov byte [0x4d430d], 0
xor eax, eax
mov dword [0x4d4308], eax
call fcn.004a127c
mov dword [0x4d42b8], eax
xor edx, edx
mov dword [0x4d3b6c], edx
xor ecx, ecx
mov dword [0x4d4310], ecx
xor eax, eax
mov dword [0x4d42b4], eax
mov byte [0x4d42bc], 0
mov byte [0x4d42bd], 0
mov byte [0x4d4344], 0
call fcn.00464d58
xor ecx, ecx
mov cl, al
mov edx, str.SystemProgressBar
mov eax, 0x4ad58c
call fcn.00461bc4
test eax, eax
setne dl
and edx, 1
mov byte [0x4d42be], dl
cmp dword [0x4d3b70], 0
je 0x47372e
cmp dword [0x4d3b70], 1
je 0x47372e
cmp dword [0x4d3b70], 2
jne 0x47375f
mov dword [0x4ca1e8], 0
mov dword [0x4ca1ec], 0
cmp dword [0x4c9890], 0
jne 0x47375f
mov dword [0x4ca1f0], 0
mov dword [0x4ca1f4], 0
mov ecx, dword [0x4d3b70]
cmp ecx, 0xb
ja case.default.0x47376e
jmp dword [ecx*4 + 0x473775]
mov dword [0x4d4340], str.CMDWNDADD
mov byte [0x4d42bc], 1
jmp case.default.0x47376e
mov eax, dword [ebp - 8]
call fcn.0040be48
push eax
mov eax, 0x20a
cmp dword [0x4d3b70], 1
je 0x4737d3
inc eax
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.0049bdcc
add esp, 0xc
cmp dword [0x4c9890], 0
je 0x4737f8
cmp dword [0x4ca1e4], 1
jg 0x47381c
mov eax, 0x4c7c4c
call fcn.00457da8
test eax, eax
jne 0x473818
cmp dword [0x4c7e54], 0
je 0x47381c
cmp dword [0x4c7e54], 1
je 0x47381c
xor edx, edx
jmp 0x473821
mov edx, 1
mov byte [0x4d42bc], dl
mov eax, 0x4c7c4c
call fcn.00457da8
test eax, eax
setne dl
and edx, 1
mov byte [0x4d42bd], dl
mov dword [0x4d4340], 0x4ad5a8
jmp case.default.0x47376e
mov eax, dword [ebp - 8]
call fcn.0040be48
push eax
mov eax, 0x20c
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.0049bdcc
add esp, 0xc
mov dword [0x4d4340], 0x4ad5b2
jmp case.default.0x47376e
mov eax, dword [ebp - 8]
call fcn.0040be48
push eax
mov eax, 0x20d
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.0049bdcc
add esp, 0xc
mov dword [0x4d4340], 0x4ad5b2
jmp case.default.0x47376e
mov eax, dword [ebp - 8]
call fcn.0040be48
push eax
mov eax, 0x211
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.0049bdcc
add esp, 0xc
mov dword [0x4d4340], 0x4ad5b2
jmp case.default.0x47376e
mov eax, 0x223
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.00498e7c
add esp, 8
mov dword [0x4d4340], 0x4ad5b2
jmp case.default.0x47376e
mov eax, 0x50b
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.00498e7c
add esp, 8
mov dword [0x4d4340], 0x4ad5be
jmp case.default.0x47376e
mov dword [0x4d4340], str.CMDWNDFIND
jmp case.default.0x47376e
mov eax, 0x543
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.00498e7c
add esp, 8
mov dword [0x4d4340], 0x4ad5b2
jmp case.default.0x47376e
mov eax, 0x556
call fcn.004129c8
push eax
push 0x4d3b74
call fcn.00498e7c
add esp, 8
mov dword [0x4d4340], 0x4ad5b2
jmp case.default.0x47376e
mov dword [0x4d4340], str.CMDWNDBENCH
push 5
push dword [0x4d4340]
push dword [0x4b41d0]
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
push dword [0x4b41d0]
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x10], eax
push ebx
push dword [0x4b41d0]
call sub.KERNEL32.DLL_SizeofResource
mov esi, eax
push esi
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
push esi
push dword [ebp - 0x10]
push ebx
call fcn.00498c8c
add esp, 0xc
cmp dword [0x4c9890], 1
je 0x4739ec
push dword [0x4c6eec]
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4739ec
xor eax, eax
jmp 0x4739f1
mov eax, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x473a0a
mov edx, dword [ebx]
and edx, 0xbfffffff
or edx, 0x800a0800
mov dword [ebx], edx
push 0
test edi, edi
jne 0x473a15
mov edi, fcn.00473c74
push edi
cmp dword [0x4c9890], 1
jne 0x473a23
xor eax, eax
jmp 0x473a28
mov eax, dword [0x4c6eec]
push eax
push ebx
push dword [0x4b41d0]
call sub.USER32.DLL_CreateDialogIndirectParamA
cmp byte [ebp - 0x11], 0
mov dword [0x4c6ef8], eax
je 0x473a7e
mov eax, 0x4c772c
mov dl, 1
call fcn.0047b86c
push eax
push 0
push 0x80
push dword [0x4c6ef8]
call sub.USER32.DLL_SendMessageA
mov eax, 0x4c772c
xor edx, edx
call fcn.0047b86c
push eax
push 1
push 0x80
push dword [0x4c6ef8]
call sub.USER32.DLL_SendMessageA
cmp dword [0x4d3b70], 6
jne 0x473bb9
mov byte [ebp - 0x2014], 0
cmp byte [0x4bbe50], 0
je 0x473aed
push 0x4ad5e9
mov eax, 0x4bbe50
call fcn.0040be48
push eax
call fcn.00498e30
add esp, 8
test eax, eax
jne 0x473ac3
mov eax, 0x210
call fcn.004129c8
jmp 0x473acd
mov eax, 0x20f
call fcn.004129c8
push eax
push 0x4ad5e3
lea edx, [ebp - 0x2014]
push edx
call fcn.0049bdcc
add esp, 0xc
lea eax, [ebp - 0x2014]
call fcn.004755b8
cmp byte [0x4bce50], 0
je 0x473b20
mov eax, 0x20e
call fcn.004129c8
push eax
push 0x4ad5e3
lea edx, [ebp - 0x2014]
push edx
call fcn.0049bdcc
add esp, 0xc
lea eax, [ebp - 0x2014]
call fcn.004755b8
cmp dword [0x4bdaec], 0
je 0x473b53
mov eax, 0x214
call fcn.004129c8
push eax
push 0x4ad5e3
lea edx, [ebp - 0x2014]
push edx
call fcn.0049bdcc
add esp, 0xc
lea eax, [ebp - 0x2014]
call fcn.004755b8
cmp byte [0x4bdc0d], 0
je 0x473b86
mov eax, 0x213
call fcn.004129c8
push eax
push 0x4ad5e3
lea edx, [ebp - 0x2014]
push edx
call fcn.0049bdcc
add esp, 0xc
lea eax, [ebp - 0x2014]
call fcn.004755b8
cmp byte [0x4bdb02], 0
je 0x473bb9
mov eax, 0x349
call fcn.004129c8
push eax
push 0x4ad5e3
lea edx, [ebp - 0x2014]
push edx
call fcn.0049bdcc
add esp, 0xc
lea eax, [ebp - 0x2014]
call fcn.004755b8
cmp byte [ebp - 9], 0
je 0x473bd5
push 0
push 0x6e
push 0x111
push dword [0x4c6ef8]
call sub.USER32.DLL_SendMessageA
jmp 0x473be2
push 5
push dword [0x4c6ef8]
call sub.USER32.DLL_ShowWindow
push ebx
call sub.KERNEL32.DLL_GlobalFree
cmp dword [0x4d3b70], 0
je 0x473c03
cmp dword [0x4d3b70], 1
je 0x473c03
cmp dword [0x4d3b70], 2
jne 0x473c37
push dword [ebp - 8]
mov eax, 0x28a
call fcn.004129c8
push eax
lea edx, [ebp - 0x2514]
push edx
call fcn.0049bdcc
add esp, 0xc
lea ecx, [ebp - 0x2514]
push ecx
push 0xa5
push dword [0x4c6ef8]
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [0x4d3b74], 0
jne 0x473c55
push 0x80
push 0x4d3b74
push dword [0x4c6ef8]
call sub.USER32.DLL_GetWindowTextA
cmp dword [0x4c6ef8], 0
jne 0x473c62
xor eax, eax
jmp 0x473c69
call fcn.00474794
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4