Function at 0x10002be0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0
call ebp
push 0
call ebp
push 0
call ebp
push 0
call ebp
push 0
call ebp
push 0
call ebp
push 0
call ebp
push 0
call ebp
mov eax, dword [esp + 0x2c]
cmp word [eax], 0x5a4d
je 0x10002c22
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov esi, dword [eax + 0x3c]
push 0
add esi, eax
mov dword [esp + 0x1c], esi
call ebp
cmp dword [esi], 0x4550
je 0x10002c41
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call ebx
mov edi, eax
push 0
mov dword [esp + 0x14], edi
call ebp
test edi, edi
jne 0x10002c90
mov edx, dword [esi + 0x50]
push 4
push 0x2000
push edx
push edi
call ebx
mov edi, eax
push 0
mov dword [esp + 0x14], edi
call ebp
test edi, edi
jne 0x10002c8c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edi, dword [esp + 0x10]
mov al, 0x6c
mov byte [esp + 0x1c], 0x48
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
lea eax, [esp + 0x1c]
mov byte [esp + 0x1d], 0x65
push eax
push str.KERNEL32.dll
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], 0x41
mov byte [esp + 0x2b], 0x6f
mov byte [esp + 0x2c], 0x63
mov byte [esp + 0x2d], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x14
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
push 0
mov ebx, eax
call ebp
push 0
mov dword [ebx + 4], edi
call ebp
push 0
mov dword [ebx + 0xc], 0
call ebp
push 0
mov dword [ebx + 8], 0
call ebp
mov dword [ebx + 0x10], 0
mov ecx, dword [esi + 0x50]
push 4
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [esi + 0x54]
push 4
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push 0
mov dword [esp + 0x18], edi
call ebp
mov ecx, dword [esi + 0x54]
mov esi, dword [esp + 0x2c]
push 0
add ecx, dword [esi + 0x3c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov edx, dword [ecx + 0x3c]
add eax, edx
mov dword [ebx], eax
mov dword [eax + 0x34], esi
call ebp
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push ebx
push edi
push ecx
call fcn.10002e00
mov ecx, dword [edi + 0x34]
mov eax, esi
add esp, 0xc
sub eax, ecx
je 0x10002d98
push eax
push ebx
call fcn.10003090
add esp, 8
push ebx
call fcn.10003140
add esp, 4
test eax, eax
je 0x10002dc8
push ebx
call fcn.10002f10
mov edx, dword [ebx]
add esp, 4
mov eax, dword [edx + 0x28]
test eax, eax
je 0x10002dea
add eax, esi
test eax, eax
je 0x10002dc8
push 0
push 1
push esi
call eax
test eax, eax
jne 0x10002de3
push 0
call ebp
push ebx
call fcn.10003440
add esp, 4
push 0
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret