Function at 0x18c96ed
Capabilities:
Accept command line arguments
Check mutex on windows
Check os version
Create process on windows
Create process suspended
Create thread
Hijack thread execution
Read file via mapping
Resume thread
Set environment variable
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x18e6240
push 0x18cdb00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1260
call fcn.018cd7d0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1d8], 0x94
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1c8], 2
jne 0x18c9746
mov byte [0x18e6adc], 1
jmp 0x18c9762
cmp dword [ebp - 0x1d4], 4
jne 0x18c975d
cmp dword [ebp - 0x1d0], 0x5a
jb 0x18c975d
call fcn.018ccc6d
call fcn.018ccd43
xor ecx, ecx
mov cl, byte [0x18e6adc]
test ecx, ecx
jne 0x18c9774
cli
not esp
not esp
sti
mov edx, dword [0x18e3268]
xor edx, dword [0x18e3280]
xor edx, dword [0x18e3240]
and edx, 4
test edx, edx
je 0x18c9794
mov byte [0x18e6aac], 1
mov eax, dword [0x18e3268]
xor eax, dword [0x18e3280]
xor eax, dword [0x18e3240]
and eax, 8
test eax, eax
je 0x18c97b3
mov byte [0x18e6aad], 1
mov ecx, dword [0x18e3268]
xor ecx, dword [0x18e3280]
xor ecx, dword [0x18e3240]
and ecx, 0x200
test ecx, ecx
je 0x18c97d6
mov byte [0x18e6aae], 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [0x18e325c]
xor edx, dword [0x18e3280]
xor edx, dword [0x18e32a4]
add eax, edx
mov dword [0x18e6abc], eax
mov eax, dword [0x18e3244]
xor eax, dword [0x18e3264]
xor eax, dword [0x18e3240]
add eax, 0xfff
shr eax, 0xc
mov dword [0x18e6ac4], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x344], 0
push 0
call fcn.018cdf8c
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
xor esi, dword [0x18e32a4]
mov dword [ebp - 0x114c], esi
mov ecx, dword [ebp - 0x114c]
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 0x1170], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1164], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1160], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x116c], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1168], edx
mov ecx, dword [ebp - 0x1160]
imul ecx, dword [ebp - 0x1168]
mov edx, dword [ebp - 0x1164]
imul edx, dword [ebp - 0x1168]
mov eax, dword [ebp - 0x1160]
imul eax, dword [ebp - 0x116c]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x55c], edx
mov eax, dword [ebp - 0x55c]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x1170]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x115c], eax
mov dword [ebp - 0x1184], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1178], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1174], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1180], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x117c], edx
mov ecx, dword [ebp - 0x1174]
imul ecx, dword [ebp - 0x117c]
mov edx, dword [ebp - 0x1178]
imul edx, dword [ebp - 0x117c]
mov eax, dword [ebp - 0x1174]
imul eax, dword [ebp - 0x1180]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x55c], edx
mov eax, dword [ebp - 0x55c]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x1184]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x1150], eax
mov dword [ebp - 0x1198], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x118c], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1188], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1194], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1190], edx
mov ecx, dword [ebp - 0x1188]
imul ecx, dword [ebp - 0x1190]
mov edx, dword [ebp - 0x118c]
imul edx, dword [ebp - 0x1190]
mov eax, dword [ebp - 0x1188]
imul eax, dword [ebp - 0x1194]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x55c], edx
mov eax, dword [ebp - 0x55c]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x1198]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x1154], eax
mov dword [ebp - 0x11ac], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11a0], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x119c], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11a8], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11a4], edx
mov ecx, dword [ebp - 0x119c]
imul ecx, dword [ebp - 0x11a4]
mov edx, dword [ebp - 0x11a0]
imul edx, dword [ebp - 0x11a4]
mov eax, dword [ebp - 0x119c]
imul eax, dword [ebp - 0x11a8]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x55c], edx
mov eax, dword [ebp - 0x55c]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x11ac]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x1158], eax
mov edx, dword [ebp - 0x1154]
shl edx, 8
mov eax, dword [ebp - 0x1150]
shl eax, 0x10
mov ecx, dword [ebp - 0x115c]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0x1158]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x554], 0xc
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x54c], 1
push 0
push 0x1000
push 0
push 4
lea edx, [ebp - 0x554]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x18c9c44
xor al, al
jmp 0x18cb797
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x560], 0
push 2
push 1
push 0
lea eax, [ebp - 0x560]
push eax
mov ecx, dword [ebp - 0x558]
push ecx
mov edx, dword [ebp - 0x558]
push edx
mov eax, dword [ebp - 0x558]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0x1000
push 0
push 0
push 2
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x344], eax
mov edx, dword [ebp - 0x134]
xor edx, dword [0x18e3264]
xor edx, dword [0x18e328c]
xor edx, dword [0x18e324c]
xor edx, dword [0x18e329c]
xor edx, dword [0x18e3274]
mov eax, dword [ebp - 0x344]
mov dword [eax], edx
mov ecx, dword [ebp - 0x344]
mov edx, dword [ebp - 0x560]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x238]
push eax
push 0x18e36f8
lea ecx, [ebp - 0x548]
push ecx
call fcn.018cd901
add esp, 0xc
lea edx, [ebp - 0x548]
push edx
push 0x18e36fc
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [0x18e6ac4]
shl eax, 2
push eax
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1110], eax
mov ecx, dword [ebp - 0x1110]
mov dword [0x18e6acc], ecx
mov edx, dword [0x18e6ac4]
shl edx, 4
shl edx, 2
push edx
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1114], eax
mov eax, dword [ebp - 0x1114]
mov dword [0x18e6ab4], eax
mov ecx, dword [0x18e6ac4]
shl ecx, 2
push ecx
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1118], eax
mov edx, dword [ebp - 0x1118]
mov dword [0x18e6ad0], edx
mov eax, dword [0x18e6ac4]
shl eax, 2
push eax
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x111c], eax
mov ecx, dword [ebp - 0x111c]
mov dword [0x18e6ad4], ecx
push 0x1000
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1120], eax
mov edx, dword [ebp - 0x1120]
mov dword [0x18e6ad8], edx
mov eax, dword [0x18e6ac4]
shl eax, 2
push eax
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1124], eax
mov ecx, dword [ebp - 0x1124]
mov dword [0x18e6ab0], ecx
mov edx, dword [0x18e328c]
xor edx, dword [ebp - 0x134]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x144], 0
jmp 0x18c9e07
mov eax, dword [ebp - 0x144]
add eax, 1
mov dword [ebp - 0x144], eax
mov ecx, dword [0x18e6ac4]
shl ecx, 4
cmp dword [ebp - 0x144], ecx
jge 0x18ca1de
mov dword [ebp - 0x11d0], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11c4], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11c0], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11cc], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11c8], edx
mov ecx, dword [ebp - 0x11c0]
imul ecx, dword [ebp - 0x11c8]
mov edx, dword [ebp - 0x11c4]
imul edx, dword [ebp - 0x11c8]
mov eax, dword [ebp - 0x11c0]
imul eax, dword [ebp - 0x11cc]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x11d0]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x11bc], eax
mov dword [ebp - 0x11e4], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11d8], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11d4], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11e0], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11dc], edx
mov ecx, dword [ebp - 0x11d4]
imul ecx, dword [ebp - 0x11dc]
mov edx, dword [ebp - 0x11d8]
imul edx, dword [ebp - 0x11dc]
mov eax, dword [ebp - 0x11d4]
imul eax, dword [ebp - 0x11e0]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x11e4]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x11b0], eax
mov dword [ebp - 0x11f8], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11ec], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11e8], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11f4], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11f0], edx
mov ecx, dword [ebp - 0x11e8]
imul ecx, dword [ebp - 0x11f0]
mov edx, dword [ebp - 0x11ec]
imul edx, dword [ebp - 0x11f0]
mov eax, dword [ebp - 0x11e8]
imul eax, dword [ebp - 0x11f4]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x11f8]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x11b4], eax
mov dword [ebp - 0x120c], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1200], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x11fc], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1208], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1204], edx
mov ecx, dword [ebp - 0x11fc]
imul ecx, dword [ebp - 0x1204]
mov edx, dword [ebp - 0x1200]
imul edx, dword [ebp - 0x1204]
mov eax, dword [ebp - 0x11fc]
imul eax, dword [ebp - 0x1208]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x120c]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x11b8], eax
mov edx, dword [ebp - 0x11b4]
shl edx, 8
mov eax, dword [ebp - 0x11b0]
shl eax, 0x10
mov ecx, dword [ebp - 0x11bc]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0x11b8]
xor ecx, dword [0x18e3264]
xor ecx, dword [0x18e328c]
xor ecx, dword [0x18e324c]
xor ecx, dword [0x18e329c]
xor ecx, dword [0x18e3274]
mov edx, dword [ebp - 0x144]
mov eax, dword [0x18e6ab4]
mov dword [eax + edx*4], ecx
jmp 0x18c9df8
mov dword [ebp - 0x144], 0
jmp 0x18ca1f9
mov ecx, dword [ebp - 0x144]
add ecx, 1
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
cmp edx, dword [0x18e6ac4]
jge 0x18ca254
mov eax, dword [ebp - 0x144]
mov ecx, dword [0x18e6acc]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebp - 0x144]
mov eax, dword [0x18e6ad0]
mov dword [eax + edx*4], 0
mov ecx, dword [ebp - 0x144]
mov edx, dword [0x18e6ad4]
mov dword [edx + ecx*4], 0xffffffff
mov eax, dword [ebp - 0x144]
mov ecx, dword [0x18e6ab0]
mov dword [ecx + eax*4], 0
jmp 0x18ca1ea
mov edx, dword [0x18e6ac4]
sar edx, 1
add edx, 1
mov dword [0x18e36a4], edx
xor eax, eax
mov al, byte [0x18e6aad]
test eax, eax
jne 0x18ca285
cmp dword [0x18e36a4], 6
jae 0x18ca283
mov dword [0x18e36a4], 6
jmp 0x18ca298
cmp dword [0x18e36a4], 0x12
jae 0x18ca298
mov dword [0x18e36a4], 0x12
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x12c], eax
push str.OutputDebugStringA
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x140], eax
push str.OutputDebugStringW
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x234]
mov dword [0x18e6ab8], eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dl, byte [0x18e6af0]
mov byte [ebp - 0x448], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x447]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x18e6af4]
mov byte [ebp - 0x120], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
and ecx, 0xff
test ecx, ecx
je 0x18ca363
cmp dword [ebp - 0x218], 0
jne 0x18ca363
lea edx, [ebp - 0x448]
push edx
call fcn.018c9432
add esp, 4
and eax, 0xff
test eax, eax
je 0x18ca363
lea eax, [ebp - 0x448]
mov dword [ebp - 0x218], eax
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x18ca382
xor al, al
jmp 0x18cb797
mov edx, dword [0x18e6ab8]
push edx
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 4
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x18ca3bb
xor al, al
jmp 0x18cb797
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1e0]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x340], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x340]
add eax, dword [ecx + 0x28]
mov dword [ebp - 0x13c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 0x340]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x13c]
push eax
push 1
mov ecx, dword [0x18e6ab8]
push ecx
call fcn.018cc988
add esp, 0xc
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [0x18e6ab8]
push eax
call fcn.018cca4c
add esp, 8
mov ecx, dword [0x18e6ab8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x18e6ab8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov dword [ebp - 0x124], eax
mov edx, dword [0x18e6ab8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0x13c]
push ecx
push 0
mov edx, dword [0x18e6ab8]
push edx
call fcn.018cc988
add esp, 0xc
mov eax, dword [0x18e6ab8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x18e6ab8]
mov eax, dword [edx + 0xc]
push eax
call fcn.018cc7e6
add esp, 8
mov dword [ebp - 0x130], 0
lea ecx, [ebp - 0x130]
push ecx
push 0
mov edx, dword [0x18e6ab8]
mov eax, dword [edx]
push eax
push 0x18c94c1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 0x1dc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c4]
mov dword [ebp - 0x5c8], ecx
mov byte [ebp - 0x564], 1
mov edx, dword [0x18e6ab8]
mov eax, dword [edx]
push eax
call fcn.018c9639
add esp, 4
and eax, 0xff
test eax, eax
je 0x18cb75d
push 0x3e8
mov ecx, dword [ebp - 0x5c8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x18cb758
xor edx, edx
mov dl, byte [0x18e6aa4]
test edx, edx
jne 0x18ca59e
mov eax, dword [ebp - 0x564]
and eax, 0xff
test eax, eax
je 0x18ca59e
mov byte [ebp - 0x564], 0
mov dword [ebp - 4], 1
pushf
pop ax
add ax, 0x62
add ax, 0x9e
push ax
popf
add ax, 1
mov dword [ebp - 4], 0
jmp 0x18ca59e
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [0x18e6ab8]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jne 0x18cb739
mov dword [ebp - 0x5cc], 0x80010001
mov ecx, dword [ebp - 0x5c8]
cmp dword [ecx], 1
jne 0x18caf97
xor edx, edx
mov dl, byte [0x18e6aac]
test edx, edx
je 0x18ca851
mov eax, dword [ebp - 0x5c8]
cmp dword [eax + 0xc], 0x80000001
jne 0x18ca851
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x5dc], edx
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x5d8], ecx
mov edx, dword [ebp - 0x5c8]
xor eax, eax
cmp dword [edx + 0x20], 0
sete al
mov byte [ebp - 0x5d0], al
mov ecx, dword [ebp - 0x5dc]
sub ecx, dword [0x18e6abc]
shr ecx, 0xc
mov dword [ebp - 0x5d4], ecx
xor edx, edx
mov dl, byte [0x18e6aad]
test edx, edx
je 0x18ca766
mov eax, dword [ebp - 0x5d4]
sub eax, 1
test eax, eax
jl 0x18ca6d6
push 1
mov ecx, dword [ebp - 0x5d4]
xor edx, edx
mov dl, byte [ecx + 0x18e621f]
mov eax, dword [ebp - 0x5d4]
xor ecx, ecx
mov cl, byte [eax + 0x18e6220]
mov esi, dword [edx*4 + 0x18e3238]
xor esi, dword [ecx*4 + 0x18e3238]
mov edx, dword [ebp - 0x5d4]
xor eax, eax
mov al, byte [edx + 0x18e6221]
xor esi, dword [eax*4 + 0x18e3238]
mov eax, dword [ebp - 0x5d4]
sub eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr esi, cl
and esi, 0xf
mov edx, dword [ebp - 0x5d4]
lea eax, [edx + esi - 0x10]
mov ecx, dword [0x18e6ab4]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5d4]
sub eax, 1
push eax
call fcn.018cb7a8
add esp, 0xc
mov ecx, dword [ebp - 0x5d4]
add ecx, 1
cmp ecx, dword [0x18e6ac4]
jge 0x18ca766
push 1
mov edx, dword [ebp - 0x5d4]
xor eax, eax
mov al, byte [edx + 0x18e6221]
mov ecx, dword [ebp - 0x5d4]
xor edx, edx
mov dl, byte [ecx + 0x18e6222]
mov esi, dword [eax*4 + 0x18e3238]
xor esi, dword [edx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5d4]
xor ecx, ecx
mov cl, byte [eax + 0x18e6223]
xor esi, dword [ecx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5d4]
add eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr esi, cl
and esi, 0xf
mov edx, dword [ebp - 0x5d4]
lea eax, [edx + esi + 0x10]
mov ecx, dword [0x18e6ab4]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5d4]
add eax, 1
push eax
call fcn.018cb7a8
add esp, 0xc
cmp dword [ebp - 0x5d4], 0
jl 0x18ca84c
mov ecx, dword [ebp - 0x5d4]
cmp ecx, dword [0x18e6ac4]
jge 0x18ca84c
mov edx, dword [ebp - 0x564]
and edx, 0xff
test edx, edx
je 0x18ca842
push 0
mov esi, dword [ebp - 0x5d4]
shl esi, 4
mov eax, dword [ebp - 0x5d4]
and eax, 0x80000007
jns 0x18ca7b6
dec eax
or eax, 0xfffffff8
inc eax
xor ecx, ecx
mov cl, byte [eax + 0x18e6220]
mov edx, dword [ebp - 0x5d4]
and edx, 0x80000007
jns 0x18ca7d1
dec edx
or edx, 0xfffffff8
inc edx
xor eax, eax
mov al, byte [edx + 0x18e6221]
mov edi, dword [ecx*4 + 0x18e3238]
xor edi, dword [eax*4 + 0x18e3238]
mov ecx, dword [ebp - 0x5d4]
and ecx, 0x80000007
jns 0x18ca7fa
dec ecx
or ecx, 0xfffffff8
inc ecx
xor edx, edx
mov dl, byte [ecx + 0x18e6222]
xor edi, dword [edx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5d4]
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
add esi, edi
mov edx, dword [0x18e6ab4]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x5d4]
push ecx
call fcn.018cb7a8
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x18ca84c
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18caf92
mov edx, dword [ebp - 0x5c8]
cmp dword [edx + 0xc], 0xc0000005
jne 0x18caba9
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x5e4], edx
mov byte [ebp - 0x5e0], 0
xor eax, eax
mov al, byte [0x18e6adc]
test eax, eax
jne 0x18caae5
xor ecx, ecx
mov cl, byte [0x18e6aac]
test ecx, ecx
je 0x18caae5
mov edx, dword [ebp - 0x564]
and edx, 0xff
test edx, edx
je 0x18caae5
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x5ec], ecx
mov edx, dword [ebp - 0x5ec]
sub edx, dword [0x18e6abc]
shr edx, 0xc
mov dword [ebp - 0x5e8], edx
xor eax, eax
mov al, byte [0x18e6aad]
test eax, eax
je 0x18ca9fc
mov ecx, dword [ebp - 0x5e8]
sub ecx, 1
test ecx, ecx
jl 0x18ca96c
push 1
mov edx, dword [ebp - 0x5e8]
xor eax, eax
mov al, byte [edx + 0x18e621f]
mov ecx, dword [ebp - 0x5e8]
xor edx, edx
mov dl, byte [ecx + 0x18e6220]
mov esi, dword [eax*4 + 0x18e3238]
xor esi, dword [edx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5e8]
xor ecx, ecx
mov cl, byte [eax + 0x18e6221]
xor esi, dword [ecx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5e8]
sub eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr esi, cl
and esi, 0xf
mov edx, dword [ebp - 0x5e8]
lea eax, [edx + esi - 0x10]
mov ecx, dword [0x18e6ab4]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5e8]
sub eax, 1
push eax
call fcn.018cb7a8
add esp, 0xc
mov ecx, dword [ebp - 0x5e8]
add ecx, 1
cmp ecx, dword [0x18e6ac4]
jge 0x18ca9fc
push 1
mov edx, dword [ebp - 0x5e8]
xor eax, eax
mov al, byte [edx + 0x18e6221]
mov ecx, dword [ebp - 0x5e8]
xor edx, edx
mov dl, byte [ecx + 0x18e6222]
mov esi, dword [eax*4 + 0x18e3238]
xor esi, dword [edx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5e8]
xor ecx, ecx
mov cl, byte [eax + 0x18e6223]
xor esi, dword [ecx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5e8]
add eax, 1
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr esi, cl
and esi, 0xf
mov edx, dword [ebp - 0x5e8]
lea eax, [edx + esi + 0x10]
mov ecx, dword [0x18e6ab4]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5e8]
add eax, 1
push eax
call fcn.018cb7a8
add esp, 0xc
cmp dword [ebp - 0x5e8], 0
jl 0x18caad0
mov ecx, dword [ebp - 0x5e8]
cmp ecx, dword [0x18e6ac4]
jge 0x18caad0
push 0
mov esi, dword [ebp - 0x5e8]
shl esi, 4
mov edx, dword [ebp - 0x5e8]
and edx, 0x80000007
jns 0x18caa39
dec edx
or edx, 0xfffffff8
inc edx
xor eax, eax
mov al, byte [edx + 0x18e6220]
mov ecx, dword [ebp - 0x5e8]
and ecx, 0x80000007
jns 0x18caa54
dec ecx
or ecx, 0xfffffff8
inc ecx
xor edx, edx
mov dl, byte [ecx + 0x18e6221]
mov edi, dword [eax*4 + 0x18e3238]
xor edi, dword [edx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5e8]
and eax, 0x80000007
jns 0x18caa7c
dec eax
or eax, 0xfffffff8
inc eax
xor ecx, ecx
mov cl, byte [eax + 0x18e6222]
xor edi, dword [ecx*4 + 0x18e3238]
mov eax, dword [ebp - 0x5e8]
cdq
mov ecx, 0x1c
idiv ecx
mov ecx, edx
shr edi, cl
and edi, 0xf
add esi, edi
mov edx, dword [0x18e6ab4]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x5e8]
push ecx
call fcn.018cb7a8
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x18caad0
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18caae3
mov edx, dword [ebp - 0x5c8]
cmp dword [edx + 0x5c], 0
jne 0x18caae3
mov byte [ebp - 0x5e0], 1
jmp 0x18caaf8
mov eax, dword [ebp - 0x5c8]
cmp dword [eax + 0x5c], 0
jne 0x18caaf8
mov byte [ebp - 0x5e0], 1
mov ecx, dword [ebp - 0x5e0]
and ecx, 0xff
test ecx, ecx
je 0x18caba4
mov edx, dword [ebp - 0x5c8]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x9f8], eax
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x5f0], edx
mov eax, dword [ebp - 0x5c8]
xor ecx, ecx
cmp dword [eax + 0x20], 0
setne cl
mov byte [ebp - 0x5f4], cl
mov edx, dword [ebp - 0x5f4]
and edx, 0xff
test edx, edx
je 0x18cab5b
mov dword [ebp - 0x1270], str.write_to
jmp 0x18cab65
mov dword [ebp - 0x1270], str.read_from
mov eax, dword [ebp - 0x5f0]
push eax
mov ecx, dword [ebp - 0x1270]
push ecx
mov edx, dword [ebp - 0x9f8]
push edx
push str.Error:_Access_violation_at_0x_08X__tried_to__s_0x_08X___program_terminated.
lea eax, [ebp - 0x9f4]
push eax
call fcn.018cd901
add esp, 0x14
push 0x50000
push 0
lea ecx, [ebp - 0x9f4]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x18caf92
mov edx, dword [ebp - 0x5c8]
cmp dword [edx + 0xc], 0x80000003
jne 0x18caf53
xor eax, eax
mov al, byte [0x18e6aae]
test eax, eax
je 0x18caf47
cmp dword [0x18e6ae0], 0
jne 0x18cadf6
mov ecx, dword [ebp - 0x344]
cmp dword [ecx + 0xc], 0
je 0x18cadf6
mov edx, dword [ebp - 0x344]
mov eax, dword [edx + 0xc]
push eax
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1128], eax
mov ecx, dword [ebp - 0x1128]
mov dword [0x18e6ae0], ecx
mov dword [ebp - 0xa00], 0
lea edx, [ebp - 0xa00]
push edx
mov eax, dword [ebp - 0x344]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [0x18e6ae0]
push edx
mov eax, dword [ebp - 0x344]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [0x18e6ab8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx + 0xc]
xor edx, edx
mov ecx, 0xa
div ecx
sub eax, 1
mov dword [0x18e6ae4], eax
mov edx, dword [0x18e6ae4]
shl edx, 2
push edx
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x112c], eax
mov eax, dword [ebp - 0x112c]
mov dword [0x18e6a8c], eax
mov ecx, dword [0x18e6ae4]
push ecx
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1130], eax
mov edx, dword [ebp - 0x1130]
mov dword [0x18e6a98], edx
mov eax, dword [0x18e6ae4]
push eax
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1134], eax
mov ecx, dword [ebp - 0x1134]
mov dword [0x18e6a9c], ecx
mov edx, dword [0x18e6ae4]
shl edx, 2
push edx
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1138], eax
mov eax, dword [ebp - 0x1138]
mov dword [0x18e6a88], eax
mov ecx, dword [0x18e6ae0]
mov dword [ebp - 0x9fc], ecx
mov dword [ebp - 0xa04], 0
jmp 0x18cad0f
mov edx, dword [ebp - 0xa04]
add edx, 1
mov dword [ebp - 0xa04], edx
mov eax, dword [ebp - 0xa04]
cmp eax, dword [0x18e6ae4]
jae 0x18caddb
mov ecx, dword [ebp - 0x9fc]
mov edx, dword [ecx]
add edx, dword [ebp - 0x138]
mov eax, dword [0x18e324c]
xor eax, dword [0x18e3274]
xor edx, eax
mov ecx, dword [ebp - 0xa04]
mov eax, dword [0x18e6a8c]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0x9fc]
add ecx, 4
mov dword [ebp - 0x9fc], ecx
mov edx, dword [0x18e6a98]
add edx, dword [ebp - 0xa04]
mov eax, dword [ebp - 0x9fc]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x9fc]
add edx, 1
mov dword [ebp - 0x9fc], edx
mov eax, dword [0x18e6a9c]
add eax, dword [ebp - 0xa04]
mov ecx, dword [ebp - 0x9fc]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x9fc]
add eax, 1
mov dword [ebp - 0x9fc], eax
mov ecx, dword [0x18e324c]
xor ecx, dword [0x18e3274]
mov edx, dword [ebp - 0x9fc]
mov eax, dword [edx]
xor eax, ecx
mov ecx, dword [ebp - 0xa04]
mov edx, dword [0x18e6a88]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x9fc]
add eax, 4
mov dword [ebp - 0x9fc], eax
jmp 0x18cad00
mov ecx, dword [0x18e6ae0]
mov dword [ebp - 0x113c], ecx
mov edx, dword [ebp - 0x113c]
push edx
call fcn.018cd01f
add esp, 4
cmp dword [0x18e6ae0], 0
je 0x18caf47
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 8]
push ecx
call fcn.018cc710
add esp, 4
mov dword [ebp - 0xa0c], eax
push 0x2cc
push 0
lea edx, [ebp - 0xcd8]
push edx
call fcn.018cd770
add esp, 0xc
mov dword [ebp - 0xcd8], 0x10001
lea eax, [ebp - 0xcd8]
push eax
mov ecx, dword [ebp - 0xa0c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov edx, dword [ebp - 0xc20]
mov dword [ebp - 0xcdc], edx
mov dword [ebp - 0xce0], 0
mov eax, dword [0x18e6ae4]
mov dword [ebp - 0xa08], eax
mov ecx, dword [ebp - 0xce0]
cmp ecx, dword [ebp - 0xa08]
jge 0x18caed3
mov eax, dword [ebp - 0xa08]
sub eax, dword [ebp - 0xce0]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0xce0]
add edx, eax
mov dword [ebp - 0xce4], edx
mov eax, dword [ebp - 0xce4]
mov ecx, dword [0x18e6a8c]
mov edx, dword [ebp - 0xcdc]
cmp edx, dword [ecx + eax*4]
jbe 0x18caec5
mov eax, dword [ebp - 0xce4]
add eax, 1
mov dword [ebp - 0xce0], eax
jmp 0x18caed1
mov ecx, dword [ebp - 0xce4]
mov dword [ebp - 0xa08], ecx
jmp 0x18cae70
lea edx, [ebp - 0xcd8]
push edx
mov eax, dword [0x18e6a98]
add eax, dword [ebp - 0xce0]
mov cl, byte [eax]
push ecx
call fcn.018cc4db
add esp, 8
and eax, 0xff
test eax, eax
je 0x18caf15
mov edx, dword [ebp - 0xce0]
mov eax, dword [0x18e6a88]
mov ecx, dword [ebp - 0xc20]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0xc20], ecx
jmp 0x18caf33
mov edx, dword [0x18e6a9c]
add edx, dword [ebp - 0xce0]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0xc20]
add ecx, eax
mov dword [ebp - 0xc20], ecx
lea edx, [ebp - 0xcd8]
push edx
mov eax, dword [ebp - 0xa0c]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18caf92
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xce8], edx
mov eax, dword [ebp - 0xce8]
mov dword [ebp - 0x1274], eax
cmp dword [ebp - 0x1274], 0xc0000008
je 0x18caf88
cmp dword [ebp - 0x1274], 0xc0000235
je 0x18caf88
jmp 0x18caf92
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18cb716
mov ecx, dword [ebp - 0x5c8]
cmp dword [ecx], 2
jne 0x18cafdc
mov edx, dword [0x18e36a0]
add edx, 1
mov dword [0x18e36a0], edx
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x5c8]
mov eax, dword [edx + 8]
push eax
call fcn.018cc7e6
add esp, 8
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18cb716
mov ecx, dword [ebp - 0x5c8]
cmp dword [ecx], 4
jne 0x18cb017
mov edx, dword [0x18e36a0]
sub edx, 1
mov dword [0x18e36a0], edx
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 8]
push ecx
call fcn.018cc90e
add esp, 4
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18cb716
mov edx, dword [ebp - 0x5c8]
cmp dword [edx], 5
jne 0x18cb031
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18cb716
mov eax, dword [ebp - 0x5c8]
cmp dword [eax], 8
jne 0x18cb103
mov ecx, dword [ebp - 0x5c8]
xor edx, edx
mov dx, word [ecx + 0x12]
mov dword [ebp - 0xcf0], edx
mov eax, dword [ebp - 0xcf0]
add eax, 2
push eax
call fcn.018cd02a
add esp, 4
mov dword [ebp - 0x1140], eax
mov ecx, dword [ebp - 0x1140]
mov dword [ebp - 0xcec], ecx
push 0
mov edx, dword [ebp - 0xcf0]
add edx, 2
push edx
mov eax, dword [ebp - 0xcec]
push eax
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [0x18e6ab8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x5c8]
xor eax, eax
mov ax, word [edx + 0x10]
test eax, eax
je 0x18cb0c3
cmp dword [ebp - 0x1c], 0
je 0x18cb0c1
mov ecx, dword [ebp - 0xcec]
push ecx
call dword [ebp - 0x1c]
jmp 0x18cb0d9
cmp dword [ebp - 0x140], 0
je 0x18cb0d9
mov edx, dword [ebp - 0xcec]
push edx
call dword [ebp - 0x140]
mov eax, dword [ebp - 0xcec]
mov dword [ebp - 0x1144], eax
mov ecx, dword [ebp - 0x1144]
push ecx
call fcn.018cd01f
add esp, 4
mov dword [ebp - 0x5cc], 0x10002
jmp 0x18cb716
mov edx, dword [ebp - 0x5c8]
cmp dword [edx], 9
jne 0x18cb113
jmp 0x18cb716
mov eax, dword [ebp - 0x5c8]
cmp dword [eax], 3
jne 0x18cb1b9
xor ecx, ecx
mov cl, byte [0x18e36a8]
test ecx, ecx
je 0x18cb1b4
mov byte [0x18e36a8], 0
mov edx, dword [0x18e3270]
xor edx, dword [0x18e32a4]
push edx
mov eax, dword [0x18e6ab8]
mov ecx, dword [eax + 8]
push ecx
push str._X::DA_08X
lea edx, [ebp - 0x33c]
push edx
call fcn.018cd901
add esp, 0x10
lea eax, [ebp - 0x33c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18cb19a
mov byte [ebp - 0x1275], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1275]
jmp 0x18cb797
mov dword [ebp - 0x5cc], 0x10002
mov ecx, dword [0x18e6ab8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x18cb716
mov eax, dword [ebp - 0x5c8]
cmp dword [eax], 6
jne 0x18cb70c
mov cl, byte [0x18e6af8]
mov byte [ebp - 0x1104], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, byte [0x18e6afc]
mov byte [ebp - 0xdf4], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xdf3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1000], ecx
cmp dword [ebp - 0x1000], 0
je 0x18cb321
push 0
push 4
lea edx, [ebp - 0x1000]
push edx
mov eax, dword [ebp - 0x1000]
push eax
mov ecx, dword [0x18e6ab8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0x1000], 0
je 0x18cb321
mov eax, dword [ebp - 0x5c8]
xor ecx, ecx
mov cx, word [eax + 0x20]
test ecx, ecx
je 0x18cb2fe
push 0
push 0x208
lea edx, [ebp - 0xffc]
push edx
mov eax, dword [ebp - 0x1000]
push eax
mov ecx, dword [0x18e6ab8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0xffc]
mov dword [ebp - 0x1108], eax
push str._Unicode_
lea ecx, [ebp - 0x1104]
push ecx
call fcn.018cdbe0
add esp, 8
push 0
lea edx, [ebp - 0x1104]
push edx
call fcn.018cded0
add esp, 8
mov dword [ebp - 0x110c], eax
mov eax, dword [ebp - 0x1108]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
je 0x18cb2fc
mov edx, dword [ebp - 0x110c]
mov eax, dword [ebp - 0x1108]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x110c]
add edx, 1
mov dword [ebp - 0x110c], edx
mov eax, dword [ebp - 0x1108]
add eax, 2
mov dword [ebp - 0x1108], eax
jmp 0x18cb2bd
jmp 0x18cb321
push 0
push 0x104
lea ecx, [ebp - 0x1104]
push ecx
mov edx, dword [ebp - 0x1000]
push edx
mov eax, dword [0x18e6ab8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsx edx, byte [ebp - 0x1104]
test edx, edx
jne 0x18cb70c
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.018ccad9
add esp, 4
and eax, 0xff
test eax, eax
je 0x18cb70c
mov dword [ebp - 0x1230], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1224], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1220], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x122c], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1228], edx
mov ecx, dword [ebp - 0x1220]
imul ecx, dword [ebp - 0x1228]
mov edx, dword [ebp - 0x1224]
imul edx, dword [ebp - 0x1228]
mov eax, dword [ebp - 0x1220]
imul eax, dword [ebp - 0x122c]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x1230]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x121c], eax
mov dword [ebp - 0x1244], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1238], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1234], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1240], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x123c], edx
mov ecx, dword [ebp - 0x1234]
imul ecx, dword [ebp - 0x123c]
mov edx, dword [ebp - 0x1238]
imul edx, dword [ebp - 0x123c]
mov eax, dword [ebp - 0x1234]
imul eax, dword [ebp - 0x1240]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x1244]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x1210], eax
mov dword [ebp - 0x1258], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x124c], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1248], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1254], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1250], edx
mov ecx, dword [ebp - 0x1248]
imul ecx, dword [ebp - 0x1250]
mov edx, dword [ebp - 0x124c]
imul edx, dword [ebp - 0x1250]
mov eax, dword [ebp - 0x1248]
imul eax, dword [ebp - 0x1254]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x1258]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x1214], eax
mov dword [ebp - 0x126c], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1260], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x125c], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1268], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x1264], edx
mov ecx, dword [ebp - 0x125c]
imul ecx, dword [ebp - 0x1264]
mov edx, dword [ebp - 0x1260]
imul edx, dword [ebp - 0x1264]
mov eax, dword [ebp - 0x125c]
imul eax, dword [ebp - 0x1268]
add eax, edx
xor edx, edx
mov esi, 0x2710
div esi
mov eax, edx
imul eax, eax, 0x2710
add eax, ecx
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
add eax, 1
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x126c]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x1218], eax
mov edx, dword [ebp - 0x1214]
shl edx, 8
mov eax, dword [ebp - 0x1210]
shl eax, 0x10
mov ecx, dword [ebp - 0x121c]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0x1218]
xor ecx, dword [0x18e3264]
xor ecx, dword [0x18e328c]
xor ecx, dword [0x18e324c]
xor ecx, dword [0x18e329c]
xor ecx, dword [0x18e3274]
mov edx, dword [ebp - 0x144]
mov eax, dword [0x18e6ab4]
mov dword [eax + edx*4], ecx
mov dword [ebp - 0x5cc], 0x10002
mov ecx, dword [ebp - 0x5cc]
push ecx
mov edx, dword [ebp - 0x5c8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x18cb758
push 0x10002
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x5c8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x18ca4ed
mov dword [ebp - 4], 0xffffffff
jmp 0x18cb795
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret