Function at 0x401370
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x7ec], str.SOFTWAREClasses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0xc
call fcn.00401360
mov ecx, dword [ebp - 0x7ec]
mov byte [ecx], 0x53
mov edx, dword [ebp - 0x7ec]
mov byte [edx + 1], 0x4f
mov eax, dword [ebp - 0x7ec]
mov byte [eax + 2], 0x46
mov ecx, dword [ebp - 0x7ec]
mov byte [ecx + 9], 0x43
mov edx, dword [ebp - 0x7ec]
mov byte [edx + 0xa], 0x6c
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x7ec]
push ecx
push 0x80000002
call dword [0x4390c8]
test eax, eax
je 0x401484
xor eax, eax
jmp 0x401727
lea edx, [ebp - 0x34]
push edx
push 1
push 0
push str.clsid09474572_b2fb_11d1_a1a1_0000f875b132inprocserver32
push 0x80000000
call dword [0x4390c8]
test eax, eax
je 0x4014a7
xor eax, eax
jmp 0x401727
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x4014bf
xor eax, eax
jmp 0x401727
push 1
mov eax, dword [0x4390c4]
push eax
call fcn.004018d0
add esp, 8
mov dword [0x4390d4], eax
mov ecx, dword [0x4390d4]
push ecx
call fcn.00401890
add esp, 4
mov dword [ebp - 0x794], eax
mov edx, dword [0x4390d4]
mov dword [ebp - 0x734], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x4390d4]
jae 0x40156e
mov ecx, dword [ebp - 0x734]
push ecx
mov edx, dword [ebp - 0x790]
push edx
call fcn.00401820
add esp, 8
mov dword [ebp - 0x788], eax
mov eax, dword [ebp - 0x788]
push eax
mov ecx, dword [0x4390c4]
add ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x794]
add edx, dword [ebp - 4]
push edx
call fcn.004010b0
add esp, 0xc
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x790]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x734]
sub edx, dword [ebp - 0x788]
mov dword [ebp - 0x734], edx
jmp 0x4014f5
mov eax, dword [0x4390d4]
push eax
mov ecx, dword [ebp - 0x794]
push ecx
call fcn.00401320
add esp, 8
mov edx, dword [ebp + 8]
mov dword [0x4390b8], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
push 2
mov eax, dword [0x4390c4]
push eax
call fcn.004018d0
add esp, 8
mov dword [0x4390d4], eax
mov ecx, dword [0x4390d4]
push ecx
call fcn.00401890
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [0x4390d4]
mov dword [ebp - 0x734], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x4390d4]
jae 0x401643
mov ecx, dword [ebp - 0x734]
push ecx
mov edx, dword [ebp - 0x790]
push edx
call fcn.00401820
add esp, 8
mov dword [ebp - 0x788], eax
mov eax, dword [ebp - 0x788]
push eax
mov ecx, dword [0x4390c4]
add ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 4]
push edx
call fcn.004010b0
add esp, 0xc
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x790]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x734]
sub edx, dword [ebp - 0x788]
mov dword [ebp - 0x734], edx
jmp 0x4015cd
mov eax, dword [0x4390d4]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00401320
add esp, 8
mov dword [ebp - 0x7a0], 0x4018f0
mov edx, dword [ebp - 0x794]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov dword [ebp - 0x79c], 0x5b000
mov ecx, dword [ebp - 0x79c]
push ecx
jmp section..htext
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret