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

Disassembly:
mov eax, 0x250c
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x2508], eax
mov ecx, dword [esp + 0x2514]
mov eax, dword [esp + 0x251c]
push ebx
xor ebx, ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
cmp dword [0x4db884], ebx
je 0x481b2c
cmp dword [0x4f7790], 8
jne 0x481b2c
xor al, al
pop ebx
mov ecx, dword [esp + 0x2508]
xor ecx, esp
call fcn.0049e626
add esp, 0x250c
ret 0x10
mov eax, dword [esp + 0x2514]
push esi
mov byte [0x4f67fd], bl
mov byte [0x4f67fc], bl
mov dword [0x4f7790], eax
mov byte [0x4f6a90], bl
mov byte [0x4f6b10], bl
cmp eax, 0xb
ja case.default.0x481b5a
jmp dword [eax*4 + 0x482130]
mov dword [0x4f67c4], str.CMDWNDADD
mov byte [0x4f67fd], 1
jmp case.default.0x481b5a
push ecx
call fcn.0044daf0
xor ecx, ecx
mov esi, 1
cmp dword [0x4f7790], esi
push eax
setne cl
add ecx, 0x20a
push ecx
call fcn.0045be10
push eax
push 0x4f6b10
call fcn.0049e635
add esp, 0xc
cmp dword [0x4dbca8], ebx
je 0x481bb8
cmp dword [0x4dbd04], esi
ja 0x481bde
cmp dword [0x4e0e68], ebx
je 0x481bde
mov ecx, 0x4e0c60
call fcn.00413560
test eax, eax
jne 0x481bd6
cmp dword [0x4e0e68], esi
je 0x481bde
mov byte [0x4f67fd], bl
jmp 0x481be5
mov byte [0x4f67fd], 1
mov ecx, 0x4e0c60
call fcn.00413560
test eax, eax
je 0x481c02
mov byte [0x4f67fc], 1
cmp dword [0x4e0e68], ebx
jne 0x481c08
mov byte [0x4f67fc], bl
mov dword [0x4f67c4], str.CMDWNDADD
jmp case.default.0x481b5a
push ecx
call fcn.0044daf0
push eax
push 0x20c
call fcn.0045be10
push eax
push 0x4f6b10
call fcn.0049e635
add esp, 0xc
mov dword [0x4f67c4], 0x4b4c50
jmp case.default.0x481b5a
push ecx
call fcn.0044daf0
push eax
push 0x20d
jmp 0x481c23
push ecx
call fcn.0044daf0
push eax
push 0x211
jmp 0x481c23
push 0x223
call fcn.0045be10
mov edx, 0x4f6b10
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x481c70
mov dword [0x4f67c4], str.CMDWNDOTHER
jmp case.default.0x481b5a
push 0x50b
call fcn.0045be10
mov edx, 0x4f6b10
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x481c98
mov dword [0x4f67c4], str.CMDWNDCONVERT
jmp case.default.0x481b5a
mov dword [0x4f67c4], str.CMDWNDFIND
jmp case.default.0x481b5a
push 0x543
call fcn.0045be10
mov edx, 0x4f6b10
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x481cd0
mov dword [0x4f67c4], str.CMDWNDOTHER
jmp case.default.0x481b5a
push 0x556
call fcn.0045be10
mov edx, 0x4f6b10
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x481cf5
mov dword [0x4f67c4], str.CMDWNDOTHER
jmp case.default.0x481b5a
mov dword [0x4f67c4], str.CMDWNDBENCH
cmp dword [0x4db884], ebx
je 0x481d29
call fcn.0047ff60
xor al, al
jmp 0x482115
xor edx, edx
mov byte [0x4f7390], bl
mov word [0x4f6b90], dx
mov byte [0x4f6890], bl
mov byte [0x4f6828], bl
mov dword [0x4f6820], ebx
mov dword [0x4f6824], ebx
mov dword [0x4f6800], ebx
mov dword [0x4f6804], ebx
mov dword [0x4f6808], ebx
mov dword [0x4f680c], ebx
mov dword [0x4f6810], ebx
mov dword [0x4f6814], ebx
mov dword [0x4f6818], ebx
mov dword [0x4f681c], ebx
mov byte [0x4f67c2], bl
mov byte [0x4f67c1], bl
mov dword [0x4f67f8], ebx
call fcn.0049f4dd
mov dword [0x4f6848], eax
mov dword [0x4f7794], ebx
mov dword [0x4f67f4], ebx
mov dword [0x4f684c], ebx
mov byte [0x4f67c0], bl
call fcn.0047eb80
movzx eax, al
push eax
push str.SystemProgressBar
push str.Interface
call fcn.00456940
test eax, eax
mov eax, dword [0x4f7790]
setne cl
mov byte [0x4f67c3], cl
cmp eax, ebx
je 0x481dea
cmp eax, 1
je 0x481dea
cmp eax, 2
jne 0x481e0a
mov dword [0x4dc1b0], ebx
mov dword [0x4dc1b4], ebx
cmp dword [0x4dbca8], ebx
jne 0x481e0a
mov dword [0x4dbcf8], ebx
mov dword [0x4dbcfc], ebx
mov edx, dword [0x4f67c4]
mov eax, dword [0x4c93a8]
push ebp
push edi
push 5
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x4c93a8]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x4c93a8]
push esi
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov ebp, eax
push edi
push ebp
call fcn.0049ec60
add esp, 0xc
cmp dword [0x4dbca8], 1
je 0x481e75
mov eax, dword [0x4dc210]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481e75
xor bl, bl
jmp 0x481e89
mov ecx, dword [ebp]
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov bl, 1
mov dword [ebp], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x481e96
mov eax, fcn.00480fa0
mov edx, dword [0x4dbca8]
dec edx
neg edx
push 0
push eax
mov eax, dword [0x4c93a8]
sbb edx, edx
and edx, dword [0x4dc210]
push edx
push ebp
push eax
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4db884], eax
test bl, bl
je 0x481f01
push 1
mov ecx, 0x4e29b8
call fcn.00466b50
mov ecx, dword [0x4db884]
push eax
push 0
push 0x80
push ecx
call edi
push 0
mov ecx, 0x4e29b8
call fcn.00466b50
mov edx, dword [0x4db884]
push eax
push 1
push 0x80
push edx
call edi
cmp dword [0x4f7790], 6
jne 0x482065
cmp byte [0x4e3308], 0
mov byte [esp + 0x518], 0
je 0x481f8d
push 0x4e3308
mov esi, 0x4b1bb4
call fcn.0044daf0
mov edi, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x481f50
test cl, cl
je 0x481f4c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x481f50
add eax, 2
add esi, 2
test cl, cl
jne 0x481f30
xor eax, eax
jmp 0x481f55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x481f60
push 0x210
jmp 0x481f65
push 0x20f
call fcn.0045be10
push eax
lea eax, [esp + 0x51c]
push 0x4b4c20
push eax
call fcn.0049e635
add esp, 0xc
lea ecx, [esp + 0x518]
push ecx
call fcn.0047f8e0
cmp byte [0x4e4308], 0
je 0x481fc3
push 0x20e
call fcn.0045be10
push eax
lea edx, [esp + 0x51c]
push 0x4b4c20
push edx
call fcn.0049e635
add esp, 0xc
lea eax, [esp + 0x518]
push eax
call fcn.0047f8e0
cmp dword [0x4e57a4], 0
je 0x481ff9
push 0x214
call fcn.0045be10
push eax
lea ecx, [esp + 0x51c]
push 0x4b4c20
push ecx
call fcn.0049e635
add esp, 0xc
lea edx, [esp + 0x518]
push edx
call fcn.0047f8e0
cmp byte [0x4e58b1], 0
je 0x48202f
push 0x213
call fcn.0045be10
push eax
lea eax, [esp + 0x51c]
push 0x4b4c20
push eax
call fcn.0049e635
add esp, 0xc
lea ecx, [esp + 0x518]
push ecx
call fcn.0047f8e0
cmp byte [0x4e57ba], 0
je 0x482065
push 0x349
call fcn.0045be10
push eax
lea edx, [esp + 0x51c]
push 0x4b4c20
push edx
call fcn.0049e635
add esp, 0xc
lea eax, [esp + 0x518]
push eax
call fcn.0047f8e0
cmp byte [esp + 0x2528], 0
je 0x482083
mov ecx, dword [0x4db884]
push 0
push 0x6e
push 0x111
push ecx
call edi
jmp 0x482092
mov edx, dword [0x4db884]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x4f7790]
pop edi
pop ebp
test eax, eax
je 0x4820ae
cmp eax, 1
je 0x4820ae
cmp eax, 2
jne 0x4820e1
mov eax, dword [esp + 8]
push eax
push 0x28a
call fcn.0045be10
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0049e635
mov eax, dword [0x4db884]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0xa5
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp byte [0x4f6b10], 0
jne 0x482101
mov ecx, dword [0x4db884]
push 0x80
push 0x4f6b10
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [0x4db884], 0
je 0x481d22
call fcn.0047ff60
mov al, 1
mov ecx, dword [esp + 0x2510]
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x250c
ret 0x10