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

Disassembly:
mov eax, 0x250c
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x2508], eax
mov eax, dword [esp + 0x251c]
push ebp
push esi
mov esi, dword [esp + 0x251c]
xor ebp, ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
cmp dword [0x4db83c], ebp
je 0x481a61
xor al, al
jmp 0x482047
mov ecx, dword [esp + 0x2518]
xor edx, edx
push ebx
push edi
mov dword [0x4f7b18], ecx
mov byte [0x4f6e18], 0
mov byte [0x4f6e98], 0
mov byte [0x4f7718], 0
mov word [0x4f6f18], dx
mov byte [0x4f6c18], dl
mov byte [0x4f6bb0], dl
mov dword [0x4f6ba8], ebp
mov dword [0x4f6bac], ebp
mov dword [0x4f6b88], ebp
mov dword [0x4f6b8c], ebp
mov dword [0x4f6b90], ebp
mov dword [0x4f6b94], ebp
mov dword [0x4f6b98], ebp
mov dword [0x4f6b9c], ebp
mov dword [0x4f6ba0], ebp
mov dword [0x4f6ba4], ebp
mov byte [0x4f6b4a], dl
mov byte [0x4f6b49], dl
mov dword [0x4f6b80], ebp
call fcn.0049ed5d
mov dword [0x4f6bd0], eax
mov dword [0x4f7b1c], ebp
mov dword [0x4f6b7c], ebp
mov dword [0x4f6bd4], ebp
mov byte [0x4f6b85], 0
mov byte [0x4f6b84], 0
mov byte [0x4f6b48], 0
call fcn.0047eb10
movzx eax, al
push eax
push str.SystemProgressBar
push 0x4b2060
call fcn.00456960
test eax, eax
mov eax, dword [0x4f7b18]
setne cl
mov byte [0x4f6b4b], cl
mov ebx, 1
cmp eax, ebp
je 0x481b53
cmp eax, ebx
je 0x481b53
cmp eax, 2
jne 0x481b73
mov dword [0x4dc168], ebp
mov dword [0x4dc16c], ebp
cmp dword [0x4dbc60], ebp
jne 0x481b73
mov dword [0x4dbcb0], ebp
mov dword [0x4dbcb4], ebp
cmp eax, 0xb
ja case.default.0x481b7c
jmp dword [eax*4 + 0x482060]
mov dword [0x4f6b4c], str.CMDWNDADD
mov byte [0x4f6b85], 1
jmp case.default.0x481b7c
push esi
call fcn.0044db30
xor edx, edx
cmp dword [0x4f7b18], ebx
push eax
setne dl
add edx, 0x20a
push edx
call fcn.0045bde0
push eax
push 0x4f6e98
call fcn.0049deb5
add esp, 0xc
cmp dword [0x4dbc60], ebp
je 0x481bd5
cmp dword [0x4dbd4c], ebx
ja 0x481bfc
cmp dword [0x4e0e10], ebp
je 0x481bfc
mov ecx, 0x4e0c08
call fcn.004136d0
test eax, eax
jne 0x481bf3
cmp dword [0x4e0e10], ebx
je 0x481bfc
mov byte [0x4f6b85], 0
jmp 0x481c03
mov byte [0x4f6b85], 1
mov ecx, 0x4e0c08
call fcn.004136d0
test eax, eax
je 0x481c20
mov byte [0x4f6b84], 1
cmp dword [0x4e0e10], ebp
jne 0x481c27
mov byte [0x4f6b84], 0
mov dword [0x4f6b4c], str.CMDWNDADD
jmp case.default.0x481b7c
push esi
call fcn.0044db30
push eax
push 0x20c
call fcn.0045bde0
push eax
push 0x4f6e98
call fcn.0049deb5
add esp, 0xc
mov dword [0x4f6b4c], 0x4b4bf0
jmp case.default.0x481b7c
push esi
call fcn.0044db30
push eax
push 0x20d
jmp 0x481c42
push esi
call fcn.0044db30
push eax
push 0x211
jmp 0x481c42
push 0x223
call fcn.0045bde0
mov edx, 0x4f6e98
nop
mov cl, byte [eax]
mov byte [edx], cl
add eax, ebx
add edx, ebx
test cl, cl
jne 0x481c90
mov dword [0x4f6b4c], str.CMDWNDOTHER
jmp case.default.0x481b7c
push 0x50b
call fcn.0045bde0
mov edx, 0x4f6e98
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx], cl
add eax, ebx
add edx, ebx
test cl, cl
jne 0x481cc0
mov dword [0x4f6b4c], str.CMDWNDCONVERT
jmp case.default.0x481b7c
mov dword [0x4f6b4c], str.CMDWNDFIND
jmp case.default.0x481b7c
push 0x543
call fcn.0045bde0
mov edx, 0x4f6e98
mov cl, byte [eax]
mov byte [edx], cl
add eax, ebx
add edx, ebx
test cl, cl
jne 0x481cf3
mov dword [0x4f6b4c], str.CMDWNDOTHER
jmp case.default.0x481b7c
push 0x556
call fcn.0045bde0
mov edx, 0x4f6e98
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx], cl
add eax, ebx
add edx, ebx
test cl, cl
jne 0x481d20
mov dword [0x4f6b4c], str.CMDWNDOTHER
jmp case.default.0x481b7c
mov dword [0x4f6b4c], str.CMDWNDBENCH
mov eax, dword [0x4f6b4c]
mov ecx, dword [0x4c9360]
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x4c9360]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x4c9360]
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.0049e4e0
add esp, 0xc
cmp dword [0x4dbc60], ebx
je 0x481daa
mov ecx, dword [0x4dc1c8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481daa
xor bl, bl
jmp 0x481dbe
mov edx, dword [ebp]
and edx, 0x3ff5f7ff
or edx, 0x800a0800
mov bl, 1
mov dword [ebp], edx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x481dcb
mov eax, fcn.00480f20
mov ecx, dword [0x4c9360]
push 0
push eax
mov eax, dword [0x4dbc60]
dec eax
neg eax
sbb eax, eax
and eax, dword [0x4dc1c8]
push eax
push ebp
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4db83c], eax
test bl, bl
je 0x481e35
push 1
mov ecx, 0x4e2960
call fcn.00466b00
mov edx, dword [0x4db83c]
push eax
push 0
push 0x80
push edx
call edi
push 0
mov ecx, 0x4e2960
call fcn.00466b00
push eax
mov eax, dword [0x4db83c]
push 1
push 0x80
push eax
call edi
cmp dword [0x4f7b18], 6
jne 0x481f97
cmp byte [0x4e32b0], 0
mov byte [esp + 0x518], 0
je 0x481ebf
push 0x4e32b0
mov esi, 0x4b1bb4
call fcn.0044db30
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x481e82
test cl, cl
je 0x481e7e
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x481e82
add eax, 2
add esi, 2
test cl, cl
jne 0x481e62
xor eax, eax
jmp 0x481e87
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x481e92
push 0x210
jmp 0x481e97
push 0x20f
call fcn.0045bde0
push eax
lea ecx, [esp + 0x51c]
push 0x4b4bc0
push ecx
call fcn.0049deb5
add esp, 0xc
lea edx, [esp + 0x518]
push edx
call fcn.0047f870
cmp byte [0x4e42b0], 0
je 0x481ef5
push 0x20e
call fcn.0045bde0
push eax
lea eax, [esp + 0x51c]
push 0x4b4bc0
push eax
call fcn.0049deb5
add esp, 0xc
lea ecx, [esp + 0x518]
push ecx
call fcn.0047f870
cmp dword [0x4e574c], 0
je 0x481f2b
push 0x214
call fcn.0045bde0
push eax
lea edx, [esp + 0x51c]
push 0x4b4bc0
push edx
call fcn.0049deb5
add esp, 0xc
lea eax, [esp + 0x518]
push eax
call fcn.0047f870
cmp byte [0x4e5859], 0
je 0x481f61
push 0x213
call fcn.0045bde0
push eax
lea ecx, [esp + 0x51c]
push 0x4b4bc0
push ecx
call fcn.0049deb5
add esp, 0xc
lea edx, [esp + 0x518]
push edx
call fcn.0047f870
cmp byte [0x4e5762], 0
je 0x481f97
push 0x349
call fcn.0045bde0
push eax
lea eax, [esp + 0x51c]
push 0x4b4bc0
push eax
call fcn.0049deb5
add esp, 0xc
lea ecx, [esp + 0x518]
push ecx
call fcn.0047f870
cmp byte [esp + 0x2528], 0
je 0x481fb5
mov edx, dword [0x4db83c]
push 0
push 0x6e
push 0x111
push edx
call edi
jmp 0x481fc3
mov eax, dword [0x4db83c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x4f7b18]
pop edi
pop ebx
test eax, eax
je 0x481fdf
cmp eax, 1
je 0x481fdf
cmp eax, 2
jne 0x482013
mov ecx, dword [esp + 8]
push ecx
push 0x28a
call fcn.0045bde0
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0049deb5
mov ecx, dword [0x4db83c]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0xa5
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp byte [0x4f6e98], 0
jne 0x482033
mov edx, dword [0x4db83c]
push 0x80
push 0x4f6e98
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [0x4db83c], 0
je 0x481a5a
call fcn.0047fef0
mov al, 1
mov ecx, dword [esp + 0x2510]
pop esi
pop ebp
xor ecx, esp
call fcn.0049dea6
add esp, 0x250c
ret 0x10