Function at 0x401470
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
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
cmp dword [ebp - 0x1c], 0
jne 0x4014cc
xor eax, eax
jmp 0x401834
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], 0xb
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 0x7ec], str.SOFTWAREmmasses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x64
mov dword [ebp - 0x28], 0xb
call fcn.00401440
mov edx, 0x43
mov eax, dword [ebp - 0x7ec]
mov word [eax + 0x12], dx
mov ecx, 0x6c
mov edx, dword [ebp - 0x7ec]
mov word [edx + 0x14], cx
lea eax, [ebp - 0x34]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x7ec]
push ecx
push 0x80000002
call dword [0x439968]
test eax, eax
je 0x401591
xor eax, eax
jmp 0x401834
lea edx, [ebp - 0x34]
push edx
push 1
push 0
push str.clsid083863f1_70de_11d0_bd40_00a0c911ce86instance129d7e40_c10d_11d0_afb9_00aa00b67a42
push 0x80000000
call dword [0x439968]
test eax, eax
je 0x4015b4
xor eax, eax
jmp 0x401834
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x4015cc
xor eax, eax
jmp 0x401834
push 1
mov eax, dword [0x439964]
push eax
call fcn.00401af0
add esp, 8
mov dword [0x439974], eax
mov ecx, dword [0x439974]
push ecx
call fcn.004019d0
add esp, 4
mov dword [ebp - 0x794], eax
mov edx, dword [0x439974]
mov dword [ebp - 0x734], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x439974]
jae 0x40167b
mov ecx, dword [ebp - 0x734]
push ecx
mov edx, dword [ebp - 0x790]
push edx
call fcn.00401960
add esp, 8
mov dword [ebp - 0x788], eax
mov eax, dword [ebp - 0x788]
push eax
mov ecx, dword [0x439964]
add ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x794]
add edx, dword [ebp - 4]
push edx
call fcn.004010a0
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 0x401602
mov eax, dword [0x439974]
push eax
mov ecx, dword [ebp - 0x794]
push ecx
call fcn.00401400
add esp, 8
mov edx, dword [ebp + 8]
mov dword [0x439958], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
push 2
mov eax, dword [0x439964]
push eax
call fcn.00401af0
add esp, 8
mov dword [0x439974], eax
mov ecx, dword [0x439974]
push ecx
call fcn.004019d0
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [0x439974]
mov dword [ebp - 0x734], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x439974]
jae 0x401750
mov ecx, dword [ebp - 0x734]
push ecx
mov edx, dword [ebp - 0x790]
push edx
call fcn.00401960
add esp, 8
mov dword [ebp - 0x788], eax
mov eax, dword [ebp - 0x788]
push eax
mov ecx, dword [0x439964]
add ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 4]
push edx
call fcn.004010a0
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 0x4016da
mov eax, dword [0x439974]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00401400
add esp, 8
mov dword [ebp - 0x7a0], 0x401b10
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
call fcn.004019d0
add esp, 4
mov dword [0x439944], eax
push 0x23800
mov edx, dword [ebp - 0x794]
push edx
mov eax, dword [0x439944]
add eax, 0x200
push eax
call fcn.004010a0
add esp, 0xc
call fcn.004013f0
mov dword [ebp - 0x79c], eax
mov ecx, dword [0x439944]
sub ecx, dword [ebp - 0x79c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x439944]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401a10
add esp, 0xc
mov eax, dword [0x439944]
add eax, 0x23670
mov dword [0x439948], eax
popal
push 0x501094
mov eax, dword [ebp - 0x7a0]
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 0x401827
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret