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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1094210
push 0x107ba40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff198
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 0x10776af
mov byte [0x1094aac], 1
jmp 0x10776cb
cmp dword [ebp - 0x1d4], 4
jne 0x10776c6
cmp dword [ebp - 0x1d0], 0x5a
jb 0x10776c6
call fcn.0107abcf
call fcn.0107aca5
xor ecx, ecx
mov cl, byte [0x1094aac]
test ecx, ecx
jne 0x10776dd
cli
not esp
not esp
sti
mov edx, dword [0x109127c]
xor edx, dword [0x10912a0]
xor edx, dword [0x1091240]
and edx, 4
test edx, edx
je 0x10776fd
mov byte [0x1094a7c], 1
mov eax, dword [0x109127c]
xor eax, dword [0x10912a0]
xor eax, dword [0x1091240]
and eax, 8
test eax, eax
je 0x107771c
mov byte [0x1094a7d], 1
mov ecx, dword [0x109127c]
xor ecx, dword [0x10912a0]
xor ecx, dword [0x1091240]
and ecx, 0x200
test ecx, ecx
je 0x107773f
mov byte [0x1094a7e], 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [0x10912a4]
xor edx, dword [0x10912a0]
xor edx, dword [0x1091280]
add eax, edx
mov dword [0x1094a8c], eax
mov eax, dword [0x109129c]
xor eax, dword [0x1091274]
xor eax, dword [0x1091240]
add eax, 0xfff
shr eax, 0xc
mov dword [0x1094a94], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x344], 0
xor ecx, ecx
mov cl, byte [0x1094a7c]
test ecx, ecx
jne 0x10777b8
xor edx, edx
mov dl, byte [0x1094a7e]
test edx, edx
je 0x1077c8d
push 0
call fcn.0107becc
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
xor esi, dword [0x1091280]
mov dword [ebp - 0xd4c], esi
mov eax, dword [ebp - 0xd4c]
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0xd70], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd64], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd60], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd6c], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd68], edx
mov ecx, dword [ebp - 0xd60]
imul ecx, dword [ebp - 0xd68]
mov edx, dword [ebp - 0xd64]
imul edx, dword [ebp - 0xd68]
mov eax, dword [ebp - 0xd60]
imul eax, dword [ebp - 0xd6c]
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 - 0xd70]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xd5c], eax
mov dword [ebp - 0xd84], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd78], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd74], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd80], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd7c], edx
mov ecx, dword [ebp - 0xd74]
imul ecx, dword [ebp - 0xd7c]
mov edx, dword [ebp - 0xd78]
imul edx, dword [ebp - 0xd7c]
mov eax, dword [ebp - 0xd74]
imul eax, dword [ebp - 0xd80]
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 - 0xd84]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xd50], eax
mov dword [ebp - 0xd98], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd8c], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd88], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd94], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd90], edx
mov ecx, dword [ebp - 0xd88]
imul ecx, dword [ebp - 0xd90]
mov edx, dword [ebp - 0xd8c]
imul edx, dword [ebp - 0xd90]
mov eax, dword [ebp - 0xd88]
imul eax, dword [ebp - 0xd94]
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 - 0xd98]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xd54], eax
mov dword [ebp - 0xdac], 0x100
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xda0], eax
mov eax, dword [ebp - 0x55c]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xd9c], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xda8], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xda4], edx
mov ecx, dword [ebp - 0xd9c]
imul ecx, dword [ebp - 0xda4]
mov edx, dword [ebp - 0xda0]
imul edx, dword [ebp - 0xda4]
mov eax, dword [ebp - 0xd9c]
imul eax, dword [ebp - 0xda8]
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 - 0xdac]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xd58], eax
mov edx, dword [ebp - 0xd54]
shl edx, 8
mov eax, dword [ebp - 0xd50]
shl eax, 0x10
mov ecx, dword [ebp - 0xd5c]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0xd58]
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 0x1077bc9
xor al, al
jmp 0x10796f9
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 [0x1091274]
xor edx, dword [0x1091288]
xor edx, dword [0x1091248]
xor edx, dword [0x1091268]
xor edx, dword [0x1091260]
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 0x10916d0
lea ecx, [ebp - 0x548]
push ecx
call fcn.0107b841
add esp, 0xc
lea edx, [ebp - 0x548]
push edx
push 0x10916d4
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [0x1094a94]
shl eax, 2
push eax
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd10], eax
mov ecx, dword [ebp - 0xd10]
mov dword [0x1094a9c], ecx
mov edx, dword [0x1094a94]
shl edx, 4
shl edx, 2
push edx
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd14], eax
mov eax, dword [ebp - 0xd14]
mov dword [0x1094a84], eax
mov ecx, dword [0x1094a94]
shl ecx, 2
push ecx
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd18], eax
mov edx, dword [ebp - 0xd18]
mov dword [0x1094aa0], edx
mov eax, dword [0x1094a94]
shl eax, 2
push eax
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd1c], eax
mov ecx, dword [ebp - 0xd1c]
mov dword [0x1094aa4], ecx
push 0x1000
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd20], eax
mov edx, dword [ebp - 0xd20]
mov dword [0x1094aa8], edx
mov eax, dword [0x1094a94]
shl eax, 2
push eax
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd24], eax
mov ecx, dword [ebp - 0xd24]
mov dword [0x1094a80], ecx
mov edx, dword [0x1091288]
xor edx, dword [ebp - 0x134]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x144], 0
jmp 0x1077d8c
mov eax, dword [ebp - 0x144]
add eax, 1
mov dword [ebp - 0x144], eax
mov ecx, dword [0x1094a94]
shl ecx, 4
cmp dword [ebp - 0x144], ecx
jge 0x1078163
mov dword [ebp - 0xdd0], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdc4], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdc0], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdcc], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdc8], edx
mov ecx, dword [ebp - 0xdc0]
imul ecx, dword [ebp - 0xdc8]
mov edx, dword [ebp - 0xdc4]
imul edx, dword [ebp - 0xdc8]
mov eax, dword [ebp - 0xdc0]
imul eax, dword [ebp - 0xdcc]
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 - 0xdd0]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xdbc], eax
mov dword [ebp - 0xde4], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdd8], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdd4], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xde0], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xddc], edx
mov ecx, dword [ebp - 0xdd4]
imul ecx, dword [ebp - 0xddc]
mov edx, dword [ebp - 0xdd8]
imul edx, dword [ebp - 0xddc]
mov eax, dword [ebp - 0xdd4]
imul eax, dword [ebp - 0xde0]
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 - 0xde4]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xdb0], eax
mov dword [ebp - 0xdf8], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdec], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xde8], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdf4], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdf0], edx
mov ecx, dword [ebp - 0xde8]
imul ecx, dword [ebp - 0xdf0]
mov edx, dword [ebp - 0xdec]
imul edx, dword [ebp - 0xdf0]
mov eax, dword [ebp - 0xde8]
imul eax, dword [ebp - 0xdf4]
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 - 0xdf8]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xdb4], eax
mov dword [ebp - 0xe0c], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe00], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xdfc], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe08], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe04], edx
mov ecx, dword [ebp - 0xdfc]
imul ecx, dword [ebp - 0xe04]
mov edx, dword [ebp - 0xe00]
imul edx, dword [ebp - 0xe04]
mov eax, dword [ebp - 0xdfc]
imul eax, dword [ebp - 0xe08]
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 - 0xe0c]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xdb8], eax
mov edx, dword [ebp - 0xdb4]
shl edx, 8
mov eax, dword [ebp - 0xdb0]
shl eax, 0x10
mov ecx, dword [ebp - 0xdbc]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0xdb8]
xor ecx, dword [0x1091274]
xor ecx, dword [0x1091288]
xor ecx, dword [0x1091248]
xor ecx, dword [0x1091268]
xor ecx, dword [0x1091260]
mov edx, dword [ebp - 0x144]
mov eax, dword [0x1094a84]
mov dword [eax + edx*4], ecx
jmp 0x1077d7d
mov dword [ebp - 0x144], 0
jmp 0x107817e
mov ecx, dword [ebp - 0x144]
add ecx, 1
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
cmp edx, dword [0x1094a94]
jge 0x10781d9
mov eax, dword [ebp - 0x144]
mov ecx, dword [0x1094a9c]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebp - 0x144]
mov eax, dword [0x1094aa0]
mov dword [eax + edx*4], 0
mov ecx, dword [ebp - 0x144]
mov edx, dword [0x1094aa4]
mov dword [edx + ecx*4], 0xffffffff
mov eax, dword [ebp - 0x144]
mov ecx, dword [0x1094a80]
mov dword [ecx + eax*4], 0
jmp 0x107816f
mov edx, dword [0x1094a94]
sar edx, 1
add edx, 1
mov dword [0x109167c], edx
xor eax, eax
mov al, byte [0x1094a7d]
test eax, eax
jne 0x107820a
cmp dword [0x109167c], 6
jae 0x1078208
mov dword [0x109167c], 6
jmp 0x107821d
cmp dword [0x109167c], 0x12
jae 0x107821d
mov dword [0x109167c], 0x12
push 0x10916d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x12c], eax
push 0x10916e4
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x140], eax
push 0x10916f8
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 [0x1094a88], eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dl, byte [0x1094ac0]
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 [0x1094ac4]
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 0x10782e8
cmp dword [ebp - 0x218], 0
jne 0x10782e8
lea edx, [ebp - 0x448]
push edx
call fcn.010773a2
add esp, 4
and eax, 0xff
test eax, eax
je 0x10782e8
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 0x1078307
xor al, al
jmp 0x10796f9
mov edx, dword [0x1094a88]
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 0x1078340
xor al, al
jmp 0x10796f9
mov dword [ebp - 0x130], 0
lea edx, [ebp - 0x130]
push edx
push 0
mov eax, dword [0x1094a88]
mov ecx, dword [eax]
push ecx
push 0x1077431
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
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 [0x1094a88]
push ecx
call fcn.0107a8ea
add esp, 0xc
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [0x1094a88]
push eax
call fcn.0107a9ae
add esp, 8
mov ecx, dword [0x1094a88]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x1094a88]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov dword [ebp - 0x124], eax
mov edx, dword [0x1094a88]
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 [0x1094a88]
push edx
call fcn.0107a8ea
add esp, 0xc
mov eax, dword [0x1094a88]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x1094a88]
mov eax, dword [edx + 0xc]
push eax
call fcn.0107a748
add esp, 8
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 [0x1094a88]
mov eax, dword [edx]
push eax
call fcn.010775a9
add esp, 4
and eax, 0xff
test eax, eax
je 0x10796bf
push 0x3e8
mov ecx, dword [ebp - 0x5c8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x10796ba
xor edx, edx
mov dl, byte [0x1094a74]
test edx, edx
jne 0x1078522
mov eax, dword [ebp - 0x564]
and eax, 0xff
test eax, eax
je 0x1078522
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 0x1078522
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [0x1094a88]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 8]
jne 0x107969b
mov dword [ebp - 0x5cc], 0x80010001
mov ecx, dword [ebp - 0x5c8]
cmp dword [ecx], 1
jne 0x1078ef9
xor edx, edx
mov dl, byte [0x1094a7c]
test edx, edx
je 0x10787d5
mov eax, dword [ebp - 0x5c8]
cmp dword [eax + 0xc], 0x80000001
jne 0x10787d5
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 [0x1094a8c]
shr ecx, 0xc
mov dword [ebp - 0x5d4], ecx
xor edx, edx
mov dl, byte [0x1094a7d]
test edx, edx
je 0x10786ea
mov eax, dword [ebp - 0x5d4]
sub eax, 1
test eax, eax
jl 0x107865a
push 1
mov ecx, dword [ebp - 0x5d4]
xor edx, edx
mov dl, byte [ecx + 0x10941ef]
mov eax, dword [ebp - 0x5d4]
xor ecx, ecx
mov cl, byte [eax + 0x10941f0]
mov esi, dword [edx*4 + 0x1091238]
xor esi, dword [ecx*4 + 0x1091238]
mov edx, dword [ebp - 0x5d4]
xor eax, eax
mov al, byte [edx + 0x10941f1]
xor esi, dword [eax*4 + 0x1091238]
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 [0x1094a84]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5d4]
sub eax, 1
push eax
call fcn.0107970a
add esp, 0xc
mov ecx, dword [ebp - 0x5d4]
add ecx, 1
cmp ecx, dword [0x1094a94]
jge 0x10786ea
push 1
mov edx, dword [ebp - 0x5d4]
xor eax, eax
mov al, byte [edx + 0x10941f1]
mov ecx, dword [ebp - 0x5d4]
xor edx, edx
mov dl, byte [ecx + 0x10941f2]
mov esi, dword [eax*4 + 0x1091238]
xor esi, dword [edx*4 + 0x1091238]
mov eax, dword [ebp - 0x5d4]
xor ecx, ecx
mov cl, byte [eax + 0x10941f3]
xor esi, dword [ecx*4 + 0x1091238]
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 [0x1094a84]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5d4]
add eax, 1
push eax
call fcn.0107970a
add esp, 0xc
cmp dword [ebp - 0x5d4], 0
jl 0x10787d0
mov ecx, dword [ebp - 0x5d4]
cmp ecx, dword [0x1094a94]
jge 0x10787d0
mov edx, dword [ebp - 0x564]
and edx, 0xff
test edx, edx
je 0x10787c6
push 0
mov esi, dword [ebp - 0x5d4]
shl esi, 4
mov eax, dword [ebp - 0x5d4]
and eax, 0x80000007
jns 0x107873a
dec eax
or eax, 0xfffffff8
inc eax
xor ecx, ecx
mov cl, byte [eax + 0x10941f0]
mov edx, dword [ebp - 0x5d4]
and edx, 0x80000007
jns 0x1078755
dec edx
or edx, 0xfffffff8
inc edx
xor eax, eax
mov al, byte [edx + 0x10941f1]
mov edi, dword [ecx*4 + 0x1091238]
xor edi, dword [eax*4 + 0x1091238]
mov ecx, dword [ebp - 0x5d4]
and ecx, 0x80000007
jns 0x107877e
dec ecx
or ecx, 0xfffffff8
inc ecx
xor edx, edx
mov dl, byte [ecx + 0x10941f2]
xor edi, dword [edx*4 + 0x1091238]
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 [0x1094a84]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x5d4]
push ecx
call fcn.0107970a
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x10787d0
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1078ef4
mov edx, dword [ebp - 0x5c8]
cmp dword [edx + 0xc], 0xc0000005
jne 0x1078b0c
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 [0x1094aac]
test eax, eax
jne 0x1078a69
xor ecx, ecx
mov cl, byte [0x1094a7c]
test ecx, ecx
je 0x1078a69
mov edx, dword [ebp - 0x564]
and edx, 0xff
test edx, edx
je 0x1078a69
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x5ec], ecx
mov edx, dword [ebp - 0x5ec]
sub edx, dword [0x1094a8c]
shr edx, 0xc
mov dword [ebp - 0x5e8], edx
xor eax, eax
mov al, byte [0x1094a7d]
test eax, eax
je 0x1078980
mov ecx, dword [ebp - 0x5e8]
sub ecx, 1
test ecx, ecx
jl 0x10788f0
push 1
mov edx, dword [ebp - 0x5e8]
xor eax, eax
mov al, byte [edx + 0x10941ef]
mov ecx, dword [ebp - 0x5e8]
xor edx, edx
mov dl, byte [ecx + 0x10941f0]
mov esi, dword [eax*4 + 0x1091238]
xor esi, dword [edx*4 + 0x1091238]
mov eax, dword [ebp - 0x5e8]
xor ecx, ecx
mov cl, byte [eax + 0x10941f1]
xor esi, dword [ecx*4 + 0x1091238]
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 [0x1094a84]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5e8]
sub eax, 1
push eax
call fcn.0107970a
add esp, 0xc
mov ecx, dword [ebp - 0x5e8]
add ecx, 1
cmp ecx, dword [0x1094a94]
jge 0x1078980
push 1
mov edx, dword [ebp - 0x5e8]
xor eax, eax
mov al, byte [edx + 0x10941f1]
mov ecx, dword [ebp - 0x5e8]
xor edx, edx
mov dl, byte [ecx + 0x10941f2]
mov esi, dword [eax*4 + 0x1091238]
xor esi, dword [edx*4 + 0x1091238]
mov eax, dword [ebp - 0x5e8]
xor ecx, ecx
mov cl, byte [eax + 0x10941f3]
xor esi, dword [ecx*4 + 0x1091238]
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 [0x1094a84]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x5e8]
add eax, 1
push eax
call fcn.0107970a
add esp, 0xc
cmp dword [ebp - 0x5e8], 0
jl 0x1078a54
mov ecx, dword [ebp - 0x5e8]
cmp ecx, dword [0x1094a94]
jge 0x1078a54
push 0
mov esi, dword [ebp - 0x5e8]
shl esi, 4
mov edx, dword [ebp - 0x5e8]
and edx, 0x80000007
jns 0x10789bd
dec edx
or edx, 0xfffffff8
inc edx
xor eax, eax
mov al, byte [edx + 0x10941f0]
mov ecx, dword [ebp - 0x5e8]
and ecx, 0x80000007
jns 0x10789d8
dec ecx
or ecx, 0xfffffff8
inc ecx
xor edx, edx
mov dl, byte [ecx + 0x10941f1]
mov edi, dword [eax*4 + 0x1091238]
xor edi, dword [edx*4 + 0x1091238]
mov eax, dword [ebp - 0x5e8]
and eax, 0x80000007
jns 0x1078a00
dec eax
or eax, 0xfffffff8
inc eax
xor ecx, ecx
mov cl, byte [eax + 0x10941f2]
xor edi, dword [ecx*4 + 0x1091238]
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 [0x1094a84]
lea eax, [edx + esi*4]
push eax
mov ecx, dword [ebp - 0x5e8]
push ecx
call fcn.0107970a
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x1078a54
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1078a67
mov edx, dword [ebp - 0x5c8]
cmp dword [edx + 0x5c], 0
jne 0x1078a67
mov byte [ebp - 0x5e0], 1
jmp 0x1078a7c
mov eax, dword [ebp - 0x5c8]
cmp dword [eax + 0x5c], 0
jne 0x1078a7c
mov byte [ebp - 0x5e0], 1
mov ecx, dword [ebp - 0x5e0]
and ecx, 0xff
test ecx, ecx
je 0x1078b07
mov edx, dword [ebp - 0x5c8]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x5f8], 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 0x1078adb
mov dword [ebp - 0xe70], 0x109170c
jmp 0x1078ae5
mov dword [ebp - 0xe70], 0x1091718
mov eax, dword [ebp - 0x5f0]
push eax
mov ecx, dword [ebp - 0xe70]
push ecx
mov edx, dword [ebp - 0x5f8]
push edx
push 0x1091724
call fcn.0107ae3d
add esp, 0x10
jmp 0x1078ef4
mov eax, dword [ebp - 0x5c8]
cmp dword [eax + 0xc], 0x80000003
jne 0x1078eb5
xor ecx, ecx
mov cl, byte [0x1094a7e]
test ecx, ecx
je 0x1078ea9
cmp dword [0x1094ab0], 0
jne 0x1078d58
mov edx, dword [ebp - 0x344]
cmp dword [edx + 0xc], 0
je 0x1078d58
mov eax, dword [ebp - 0x344]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd28], eax
mov edx, dword [ebp - 0xd28]
mov dword [0x1094ab0], edx
mov dword [ebp - 0x600], 0
lea eax, [ebp - 0x600]
push eax
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [0x1094ab0]
push eax
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [0x1094a88]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x344]
mov eax, dword [edx + 0xc]
xor edx, edx
mov ecx, 0xa
div ecx
sub eax, 1
mov dword [0x1094ab4], eax
mov edx, dword [0x1094ab4]
shl edx, 2
push edx
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd2c], eax
mov eax, dword [ebp - 0xd2c]
mov dword [0x1094a5c], eax
mov ecx, dword [0x1094ab4]
push ecx
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd30], eax
mov edx, dword [ebp - 0xd30]
mov dword [0x1094a68], edx
mov eax, dword [0x1094ab4]
push eax
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd34], eax
mov ecx, dword [ebp - 0xd34]
mov dword [0x1094a6c], ecx
mov edx, dword [0x1094ab4]
shl edx, 2
push edx
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd38], eax
mov eax, dword [ebp - 0xd38]
mov dword [0x1094a58], eax
mov ecx, dword [0x1094ab0]
mov dword [ebp - 0x5fc], ecx
mov dword [ebp - 0x604], 0
jmp 0x1078c71
mov edx, dword [ebp - 0x604]
add edx, 1
mov dword [ebp - 0x604], edx
mov eax, dword [ebp - 0x604]
cmp eax, dword [0x1094ab4]
jae 0x1078d3d
mov ecx, dword [ebp - 0x5fc]
mov edx, dword [ecx]
add edx, dword [ebp - 0x138]
mov eax, dword [0x1091248]
xor eax, dword [0x1091260]
xor edx, eax
mov ecx, dword [ebp - 0x604]
mov eax, dword [0x1094a5c]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0x5fc]
add ecx, 4
mov dword [ebp - 0x5fc], ecx
mov edx, dword [0x1094a68]
add edx, dword [ebp - 0x604]
mov eax, dword [ebp - 0x5fc]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x5fc]
add edx, 1
mov dword [ebp - 0x5fc], edx
mov eax, dword [0x1094a6c]
add eax, dword [ebp - 0x604]
mov ecx, dword [ebp - 0x5fc]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x5fc]
add eax, 1
mov dword [ebp - 0x5fc], eax
mov ecx, dword [0x1091248]
xor ecx, dword [0x1091260]
mov edx, dword [ebp - 0x5fc]
mov eax, dword [edx]
xor eax, ecx
mov ecx, dword [ebp - 0x604]
mov edx, dword [0x1094a58]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x5fc]
add eax, 4
mov dword [ebp - 0x5fc], eax
jmp 0x1078c62
mov ecx, dword [0x1094ab0]
mov dword [ebp - 0xd3c], ecx
mov edx, dword [ebp - 0xd3c]
push edx
call fcn.0107af62
add esp, 4
cmp dword [0x1094ab0], 0
je 0x1078ea9
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 8]
push ecx
call fcn.0107a672
add esp, 4
mov dword [ebp - 0x60c], eax
push 0x2cc
push 0
lea edx, [ebp - 0x8d8]
push edx
call fcn.0107b6b0
add esp, 0xc
mov dword [ebp - 0x8d8], 0x10001
lea eax, [ebp - 0x8d8]
push eax
mov ecx, dword [ebp - 0x60c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov edx, dword [ebp - 0x820]
mov dword [ebp - 0x8dc], edx
mov dword [ebp - 0x8e0], 0
mov eax, dword [0x1094ab4]
mov dword [ebp - 0x608], eax
mov ecx, dword [ebp - 0x8e0]
cmp ecx, dword [ebp - 0x608]
jge 0x1078e35
mov eax, dword [ebp - 0x608]
sub eax, dword [ebp - 0x8e0]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x8e0]
add edx, eax
mov dword [ebp - 0x8e4], edx
mov eax, dword [ebp - 0x8e4]
mov ecx, dword [0x1094a5c]
mov edx, dword [ebp - 0x8dc]
cmp edx, dword [ecx + eax*4]
jbe 0x1078e27
mov eax, dword [ebp - 0x8e4]
add eax, 1
mov dword [ebp - 0x8e0], eax
jmp 0x1078e33
mov ecx, dword [ebp - 0x8e4]
mov dword [ebp - 0x608], ecx
jmp 0x1078dd2
lea edx, [ebp - 0x8d8]
push edx
mov eax, dword [0x1094a68]
add eax, dword [ebp - 0x8e0]
mov cl, byte [eax]
push ecx
call fcn.0107a43d
add esp, 8
and eax, 0xff
test eax, eax
je 0x1078e77
mov edx, dword [ebp - 0x8e0]
mov eax, dword [0x1094a58]
mov ecx, dword [ebp - 0x820]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x820], ecx
jmp 0x1078e95
mov edx, dword [0x1094a6c]
add edx, dword [ebp - 0x8e0]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x820]
add ecx, eax
mov dword [ebp - 0x820], ecx
lea edx, [ebp - 0x8d8]
push edx
mov eax, dword [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1078ef4
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x8e8], edx
mov eax, dword [ebp - 0x8e8]
mov dword [ebp - 0xe74], eax
cmp dword [ebp - 0xe74], 0xc0000008
je 0x1078eea
cmp dword [ebp - 0xe74], 0xc0000235
je 0x1078eea
jmp 0x1078ef4
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1079678
mov ecx, dword [ebp - 0x5c8]
cmp dword [ecx], 2
jne 0x1078f3e
mov edx, dword [0x1091678]
add edx, 1
mov dword [0x1091678], 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.0107a748
add esp, 8
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1079678
mov ecx, dword [ebp - 0x5c8]
cmp dword [ecx], 4
jne 0x1078f79
mov edx, dword [0x1091678]
sub edx, 1
mov dword [0x1091678], edx
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 8]
push ecx
call fcn.0107a870
add esp, 4
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1079678
mov edx, dword [ebp - 0x5c8]
cmp dword [edx], 5
jne 0x1078f93
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1079678
mov eax, dword [ebp - 0x5c8]
cmp dword [eax], 8
jne 0x1079065
mov ecx, dword [ebp - 0x5c8]
xor edx, edx
mov dx, word [ecx + 0x12]
mov dword [ebp - 0x8f0], edx
mov eax, dword [ebp - 0x8f0]
add eax, 2
push eax
call fcn.0107af6d
add esp, 4
mov dword [ebp - 0xd40], eax
mov ecx, dword [ebp - 0xd40]
mov dword [ebp - 0x8ec], ecx
push 0
mov edx, dword [ebp - 0x8f0]
add edx, 2
push edx
mov eax, dword [ebp - 0x8ec]
push eax
mov ecx, dword [ebp - 0x5c8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [0x1094a88]
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 0x1079025
cmp dword [ebp - 0x1c], 0
je 0x1079023
mov ecx, dword [ebp - 0x8ec]
push ecx
call dword [ebp - 0x1c]
jmp 0x107903b
cmp dword [ebp - 0x140], 0
je 0x107903b
mov edx, dword [ebp - 0x8ec]
push edx
call dword [ebp - 0x140]
mov eax, dword [ebp - 0x8ec]
mov dword [ebp - 0xd44], eax
mov ecx, dword [ebp - 0xd44]
push ecx
call fcn.0107af62
add esp, 4
mov dword [ebp - 0x5cc], 0x10002
jmp 0x1079678
mov edx, dword [ebp - 0x5c8]
cmp dword [edx], 9
jne 0x1079075
jmp 0x1079678
mov eax, dword [ebp - 0x5c8]
cmp dword [eax], 3
jne 0x107911b
xor ecx, ecx
mov cl, byte [0x1091680]
test ecx, ecx
je 0x1079116
mov byte [0x1091680], 0
mov edx, dword [0x10912b0]
xor edx, dword [0x1091280]
push edx
mov eax, dword [0x1094a88]
mov ecx, dword [eax + 8]
push ecx
push 0x1091770
lea edx, [ebp - 0x33c]
push edx
call fcn.0107b841
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 0x10790fc
mov byte [ebp - 0xe75], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0xe75]
jmp 0x10796f9
mov dword [ebp - 0x5cc], 0x10002
mov ecx, dword [0x1094a88]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1079678
mov eax, dword [ebp - 0x5c8]
cmp dword [eax], 6
jne 0x107966e
mov cl, byte [0x1094ac8]
mov byte [ebp - 0xd04], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xd03]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, byte [0x1094acc]
mov byte [ebp - 0x9f4], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x9f3]
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 - 0xc00], ecx
cmp dword [ebp - 0xc00], 0
je 0x1079283
push 0
push 4
lea edx, [ebp - 0xc00]
push edx
mov eax, dword [ebp - 0xc00]
push eax
mov ecx, dword [0x1094a88]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0xc00], 0
je 0x1079283
mov eax, dword [ebp - 0x5c8]
xor ecx, ecx
mov cx, word [eax + 0x20]
test ecx, ecx
je 0x1079260
push 0
push 0x208
lea edx, [ebp - 0xbfc]
push edx
mov eax, dword [ebp - 0xc00]
push eax
mov ecx, dword [0x1094a88]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0xbfc]
mov dword [ebp - 0xd08], eax
push 0x109177c
lea ecx, [ebp - 0xd04]
push ecx
call fcn.0107bb20
add esp, 8
push 0
lea edx, [ebp - 0xd04]
push edx
call fcn.0107be10
add esp, 8
mov dword [ebp - 0xd0c], eax
mov eax, dword [ebp - 0xd08]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
je 0x107925e
mov edx, dword [ebp - 0xd0c]
mov eax, dword [ebp - 0xd08]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0xd0c]
add edx, 1
mov dword [ebp - 0xd0c], edx
mov eax, dword [ebp - 0xd08]
add eax, 2
mov dword [ebp - 0xd08], eax
jmp 0x107921f
jmp 0x1079283
push 0
push 0x104
lea ecx, [ebp - 0xd04]
push ecx
mov edx, dword [ebp - 0xc00]
push edx
mov eax, dword [0x1094a88]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsx edx, byte [ebp - 0xd04]
test edx, edx
jne 0x107966e
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0107aa3b
add esp, 4
and eax, 0xff
test eax, eax
je 0x107966e
mov dword [ebp - 0xe30], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe24], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe20], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe2c], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe28], edx
mov ecx, dword [ebp - 0xe20]
imul ecx, dword [ebp - 0xe28]
mov edx, dword [ebp - 0xe24]
imul edx, dword [ebp - 0xe28]
mov eax, dword [ebp - 0xe20]
imul eax, dword [ebp - 0xe2c]
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 - 0xe30]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xe1c], eax
mov dword [ebp - 0xe44], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe38], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe34], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe40], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe3c], edx
mov ecx, dword [ebp - 0xe34]
imul ecx, dword [ebp - 0xe3c]
mov edx, dword [ebp - 0xe38]
imul edx, dword [ebp - 0xe3c]
mov eax, dword [ebp - 0xe34]
imul eax, dword [ebp - 0xe40]
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 - 0xe44]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xe10], eax
mov dword [ebp - 0xe58], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe4c], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe48], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe54], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe50], edx
mov ecx, dword [ebp - 0xe48]
imul ecx, dword [ebp - 0xe50]
mov edx, dword [ebp - 0xe4c]
imul edx, dword [ebp - 0xe50]
mov eax, dword [ebp - 0xe48]
imul eax, dword [ebp - 0xe54]
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 - 0xe58]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xe14], eax
mov dword [ebp - 0xe6c], 0x100
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe60], eax
mov eax, dword [ebp - 0x128]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe5c], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe68], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0xe64], edx
mov ecx, dword [ebp - 0xe5c]
imul ecx, dword [ebp - 0xe64]
mov edx, dword [ebp - 0xe60]
imul edx, dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe5c]
imul eax, dword [ebp - 0xe68]
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 - 0xe6c]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0xe18], eax
mov edx, dword [ebp - 0xe14]
shl edx, 8
mov eax, dword [ebp - 0xe10]
shl eax, 0x10
mov ecx, dword [ebp - 0xe1c]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0xe18]
xor ecx, dword [0x1091274]
xor ecx, dword [0x1091288]
xor ecx, dword [0x1091248]
xor ecx, dword [0x1091268]
xor ecx, dword [0x1091260]
mov edx, dword [ebp - 0x144]
mov eax, dword [0x1094a84]
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 0x10796ba
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 0x1078471
mov dword [ebp - 4], 0xffffffff
jmp 0x10796f7
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