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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c530
push 0x482254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff938
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x238], 0x94
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x228], 2
jne 0x47f487
mov byte [0x48cd94], 1
jmp 0x47f49e
cmp dword [ebp - 0x234], 4
jne 0x47f49e
cmp dword [ebp - 0x230], 0x5a
jb 0x47f49e
call fcn.0048156e
xor ecx, ecx
mov cl, byte [0x48cd94]
test ecx, ecx
jne 0x47f4b0
cli
not esp
not esp
sti
mov edx, dword [0x489264]
xor edx, dword [0x489268]
xor edx, dword [0x489250]
and edx, 4
test edx, edx
je 0x47f4d0
mov byte [0x48cd65], 1
mov eax, dword [0x489264]
xor eax, dword [0x489268]
xor eax, dword [0x489250]
and eax, 8
test eax, eax
je 0x47f4ef
mov byte [0x48cd66], 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x489230]
xor ecx, dword [0x489268]
xor ecx, dword [0x489238]
add eax, ecx
mov dword [0x48cd74], eax
mov edx, dword [0x48922c]
xor edx, dword [0x489258]
xor edx, dword [0x489250]
add edx, 0xfff
shr edx, 0xc
mov dword [0x48cd7c], edx
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x294], 0xffffffff
xor eax, eax
mov al, byte [0x48cd65]
test eax, eax
je 0x47f9cb
push 0
call fcn.00482607
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
xor esi, dword [0x489238]
mov dword [ebp - 0x610], esi
mov ecx, dword [ebp - 0x610]
mov dword [ebp - 0x5b4], ecx
mov dword [ebp - 0x634], 0x100
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x628], eax
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x624], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x630], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x62c], edx
mov ecx, dword [ebp - 0x624]
imul ecx, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x628]
imul edx, dword [ebp - 0x62c]
mov eax, dword [ebp - 0x624]
imul eax, dword [ebp - 0x630]
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 - 0x5b4], edx
mov eax, dword [ebp - 0x5b4]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x634]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x648], 0x100
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x638], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x644], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x640], edx
mov ecx, dword [ebp - 0x638]
imul ecx, dword [ebp - 0x640]
mov edx, dword [ebp - 0x63c]
imul edx, dword [ebp - 0x640]
mov eax, dword [ebp - 0x638]
imul eax, dword [ebp - 0x644]
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 - 0x5b4], edx
mov eax, dword [ebp - 0x5b4]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x648]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x65c], 0x100
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x650], eax
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x64c], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x658], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x654], edx
mov ecx, dword [ebp - 0x64c]
imul ecx, dword [ebp - 0x654]
mov edx, dword [ebp - 0x650]
imul edx, dword [ebp - 0x654]
mov eax, dword [ebp - 0x64c]
imul eax, dword [ebp - 0x658]
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 - 0x5b4], edx
mov eax, dword [ebp - 0x5b4]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x65c]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x670], 0x100
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x664], eax
mov eax, dword [ebp - 0x5b4]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x660], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x66c], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x668], edx
mov ecx, dword [ebp - 0x660]
imul ecx, dword [ebp - 0x668]
mov edx, dword [ebp - 0x664]
imul edx, dword [ebp - 0x668]
mov eax, dword [ebp - 0x660]
imul eax, dword [ebp - 0x66c]
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 - 0x5b4], edx
mov eax, dword [ebp - 0x5b4]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x670]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x61c], eax
mov edx, dword [ebp - 0x618]
shl edx, 8
mov eax, dword [ebp - 0x614]
shl eax, 0x10
mov ecx, dword [ebp - 0x620]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0x61c]
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x5b0], 0xc
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 1
push 0
push 0x1000
push 0
push 4
lea edx, [ebp - 0x5b0]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
jne 0x47f965
xor al, al
jmp 0x48076c
push 0x1000
push 0
push 0
push 2
mov eax, dword [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp - 0x5b8]
mov edx, dword [ebp - 0x198]
mov dword [ecx], edx
mov eax, dword [ebp - 0x5b8]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x294]
push ecx
push 0x489650
lea edx, [ebp - 0x5a4]
push edx
call fcn.0048207f
add esp, 0xc
lea eax, [ebp - 0x5a4]
push eax
push 0x489654
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, dword [0x48cd7c]
shl ecx, 2
push ecx
call fcn.004818ad
add esp, 4
mov dword [ebp - 0x5ec], eax
mov edx, dword [ebp - 0x5ec]
mov dword [0x48cd84], edx
mov eax, dword [0x48cd7c]
shl eax, 2
push eax
call fcn.004818ad
add esp, 4
mov dword [ebp - 0x5f0], eax
mov ecx, dword [ebp - 0x5f0]
mov dword [0x48cd6c], ecx
mov edx, dword [0x48cd7c]
shl edx, 2
push edx
call fcn.004818ad
add esp, 4
mov dword [ebp - 0x5f4], eax
mov eax, dword [ebp - 0x5f4]
mov dword [0x48cd88], eax
mov ecx, dword [0x48cd7c]
shl ecx, 2
push ecx
call fcn.004818ad
add esp, 4
mov dword [ebp - 0x5f8], eax
mov edx, dword [ebp - 0x5f8]
mov dword [0x48cd8c], edx
push 0x1000
call fcn.004818ad
add esp, 4
mov dword [ebp - 0x5fc], eax
mov eax, dword [ebp - 0x5fc]
mov dword [0x48cd90], eax
mov ecx, dword [0x48cd7c]
shl ecx, 2
push ecx
call fcn.004818ad
add esp, 4
mov dword [ebp - 0x600], eax
mov edx, dword [ebp - 0x600]
mov dword [0x48cd68], edx
mov eax, dword [0x489240]
xor eax, dword [ebp - 0x198]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x1a4], 0
jmp 0x47fac7
mov ecx, dword [ebp - 0x1a4]
add ecx, 1
mov dword [ebp - 0x1a4], ecx
mov edx, dword [ebp - 0x1a4]
cmp edx, dword [0x48cd7c]
jge 0x47fec8
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [0x48cd84]
mov dword [ecx + eax*4], 0xffffffff
mov dword [ebp - 0x694], 0x100
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x688], eax
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x684], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x690], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x68c], edx
mov ecx, dword [ebp - 0x684]
imul ecx, dword [ebp - 0x68c]
mov edx, dword [ebp - 0x688]
imul edx, dword [ebp - 0x68c]
mov eax, dword [ebp - 0x684]
imul eax, dword [ebp - 0x690]
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 - 0x188], edx
mov eax, dword [ebp - 0x188]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x694]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x6a8], 0x100
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x69c], eax
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x698], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6a4], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6a0], edx
mov ecx, dword [ebp - 0x698]
imul ecx, dword [ebp - 0x6a0]
mov edx, dword [ebp - 0x69c]
imul edx, dword [ebp - 0x6a0]
mov eax, dword [ebp - 0x698]
imul eax, dword [ebp - 0x6a4]
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 - 0x188], edx
mov eax, dword [ebp - 0x188]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x6a8]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x6bc], 0x100
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6b0], eax
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6ac], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6b8], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6b4], edx
mov ecx, dword [ebp - 0x6ac]
imul ecx, dword [ebp - 0x6b4]
mov edx, dword [ebp - 0x6b0]
imul edx, dword [ebp - 0x6b4]
mov eax, dword [ebp - 0x6ac]
imul eax, dword [ebp - 0x6b8]
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 - 0x188], edx
mov eax, dword [ebp - 0x188]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x6bc]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x678], eax
mov dword [ebp - 0x6d0], 0x100
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6c4], eax
mov eax, dword [ebp - 0x188]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6c0], edx
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6cc], eax
mov eax, 0x1df5e0d
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x6c8], edx
mov ecx, dword [ebp - 0x6c0]
imul ecx, dword [ebp - 0x6c8]
mov edx, dword [ebp - 0x6c4]
imul edx, dword [ebp - 0x6c8]
mov eax, dword [ebp - 0x6c0]
imul eax, dword [ebp - 0x6cc]
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 - 0x188], edx
mov eax, dword [ebp - 0x188]
xor edx, edx
mov ecx, 0x2710
div ecx
imul eax, dword [ebp - 0x6d0]
xor edx, edx
mov ecx, 0x2710
div ecx
and eax, 0xff
mov dword [ebp - 0x67c], eax
mov edx, dword [ebp - 0x678]
shl edx, 8
mov eax, dword [ebp - 0x674]
shl eax, 0x10
mov ecx, dword [ebp - 0x680]
shl ecx, 0x18
or ecx, eax
or ecx, edx
or ecx, dword [ebp - 0x67c]
mov edx, dword [ebp - 0x1a4]
mov eax, dword [0x48cd6c]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [0x48cd88]
mov dword [edx + ecx*4], 0
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [0x48cd8c]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebp - 0x1a4]
mov eax, dword [0x48cd68]
mov dword [eax + edx*4], 0
jmp 0x47fab8
mov ecx, dword [0x48cd7c]
sar ecx, 1
add ecx, 1
mov dword [0x489628], ecx
xor edx, edx
mov dl, byte [0x48cd66]
test edx, edx
jne 0x47fefa
cmp dword [0x489628], 6
jae 0x47fef8
mov dword [0x489628], 6
jmp 0x47ff0d
cmp dword [0x489628], 0x12
jae 0x47ff0d
mov dword [0x489628], 0x12
push 0x489658
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x190], eax
push 0x489664
mov eax, dword [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a0], eax
push 0x489678
mov ecx, dword [ebp - 0x190]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x290]
mov dword [0x48cd70], edx
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov cl, byte [0x48cd98]
mov byte [ebp - 0x4a4], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x4a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, byte [0x48cd9c]
mov byte [ebp - 0x124], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
and eax, 0xff
test eax, eax
je 0x47ffd9
cmp dword [ebp - 0x274], 0
jne 0x47ffd9
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.0047f2a2
add esp, 4
and eax, 0xff
test eax, eax
je 0x47ffd9
lea edx, [ebp - 0x4a4]
mov dword [ebp - 0x274], edx
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x47fff8
xor al, al
jmp 0x48076c
mov ecx, dword [0x48cd70]
push ecx
lea edx, [ebp - 0x280]
push edx
push 0
push 0
push 4
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x480031
xor al, al
jmp 0x48076c
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x194]
push ecx
push 0
mov edx, dword [0x48cd70]
mov eax, dword [edx]
push eax
push 0x47f331
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x23c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x3a0], edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x3a0]
add eax, dword [ecx + 0x28]
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
push edx
push 1
mov eax, dword [0x48cd70]
push eax
call fcn.0048141d
add esp, 0xc
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [0x48cd70]
push edx
call fcn.004814e1
add esp, 8
mov eax, dword [0x48cd70]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [0x48cd70]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov ecx, dword [0x48cd70]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp - 0x19c]
push eax
push 0
mov ecx, dword [0x48cd70]
push ecx
call fcn.0048141d
add esp, 0xc
lea edx, [ebp - 0x184]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 0x1c], 1
mov eax, dword [0x48cd70]
mov ecx, dword [eax]
push ecx
call fcn.0047f413
add esp, 4
and eax, 0xff
test eax, eax
je 0x48076a
push 0x3e8
mov edx, dword [ebp - 0x18c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x480765
mov dword [ebp - 0x298], 0x48968c
xor eax, eax
mov al, byte [0x48cd64]
test eax, eax
jne 0x4801cb
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
test ecx, ecx
je 0x4801cb
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
pushf
pop ax
add ax, 0x62
add ax, 0x9e
push ax
popf
add ax, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x4801cb
mov edx, dword [ebp - 0x18c]
mov eax, dword [0x48cd70]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 8]
jne 0x480746
mov dword [ebp - 0x5bc], 0x80010001
mov edx, dword [ebp - 0x18c]
cmp dword [edx], 1
jne 0x480514
mov dword [ebp - 0x298], 0x489694
xor eax, eax
mov al, byte [0x48cd65]
test eax, eax
je 0x4802f4
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx + 0xc], 0x80000001
jne 0x4802f4
mov dword [ebp - 0x298], 0x4896ac
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x5c4], eax
mov ecx, dword [ebp - 0x5c4]
sub ecx, dword [0x48cd74]
shr ecx, 0xc
mov dword [ebp - 0x5c0], ecx
xor edx, edx
mov dl, byte [0x48cd66]
test edx, edx
je 0x4802a7
mov eax, dword [ebp - 0x5c0]
sub eax, 1
test eax, eax
jl 0x480282
push 1
mov ecx, dword [ebp - 0x5c0]
sub ecx, 1
push ecx
call fcn.0048077d
add esp, 8
mov edx, dword [ebp - 0x5c0]
add edx, 1
cmp edx, dword [0x48cd7c]
jge 0x4802a7
push 1
mov eax, dword [ebp - 0x5c0]
add eax, 1
push eax
call fcn.0048077d
add esp, 8
cmp dword [ebp - 0x5c0], 0
jl 0x4802ef
mov ecx, dword [ebp - 0x5c0]
cmp ecx, dword [0x48cd7c]
jge 0x4802ef
mov edx, dword [ebp - 0x1c]
and edx, 0xff
test edx, edx
je 0x4802e5
push 0
mov eax, dword [ebp - 0x5c0]
push eax
call fcn.0048077d
add esp, 8
and eax, 0xff
test eax, eax
je 0x4802ef
mov dword [ebp - 0x5bc], 0x10002
jmp 0x48050f
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx + 0xc], 0xc0000005
jne 0x4804c6
mov edx, dword [ebp - 0x18c]
cmp dword [edx + 0x5c], 0
je 0x48031f
mov dword [ebp - 0x298], 0x48970c
jmp 0x480329
mov dword [ebp - 0x298], 0x48972c
mov byte [ebp - 0x5c8], 0
xor eax, eax
mov al, byte [0x48cd94]
test eax, eax
jne 0x480427
xor ecx, ecx
mov cl, byte [0x48cd65]
test ecx, ecx
je 0x480427
mov edx, dword [ebp - 0x1c]
and edx, 0xff
test edx, edx
je 0x480427
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x5d0], ecx
mov edx, dword [ebp - 0x5d0]
sub edx, dword [0x48cd74]
shr edx, 0xc
mov dword [ebp - 0x5cc], edx
xor eax, eax
mov al, byte [0x48cd66]
test eax, eax
je 0x4803d5
mov ecx, dword [ebp - 0x5cc]
sub ecx, 1
test ecx, ecx
jl 0x4803b0
push 1
mov edx, dword [ebp - 0x5cc]
sub edx, 1
push edx
call fcn.0048077d
add esp, 8
mov eax, dword [ebp - 0x5cc]
add eax, 1
cmp eax, dword [0x48cd7c]
jge 0x4803d5
push 1
mov ecx, dword [ebp - 0x5cc]
add ecx, 1
push ecx
call fcn.0048077d
add esp, 8
cmp dword [ebp - 0x5cc], 0
jl 0x480412
mov edx, dword [ebp - 0x5cc]
cmp edx, dword [0x48cd7c]
jge 0x480412
push 0
mov eax, dword [ebp - 0x5cc]
push eax
call fcn.0048077d
add esp, 8
and eax, 0xff
test eax, eax
je 0x480412
mov dword [ebp - 0x5bc], 0x10002
jmp 0x480425
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx + 0x5c], 0
jne 0x480425
mov byte [ebp - 0x5c8], 1
jmp 0x48043a
mov edx, dword [ebp - 0x18c]
cmp dword [edx + 0x5c], 0
jne 0x48043a
mov byte [ebp - 0x5c8], 1
mov eax, dword [ebp - 0x5c8]
and eax, 0xff
test eax, eax
je 0x4804c4
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x5dc], edx
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x5d4], ecx
mov edx, dword [ebp - 0x18c]
xor eax, eax
cmp dword [edx + 0x20], 0
setne al
mov byte [ebp - 0x5d8], al
mov ecx, dword [ebp - 0x5d8]
and ecx, 0xff
test ecx, ecx
je 0x480498
mov dword [ebp - 0x6d4], 0x489784
jmp 0x4804a2
mov dword [ebp - 0x6d4], 0x489790
mov edx, dword [ebp - 0x5d4]
push edx
mov eax, dword [ebp - 0x6d4]
push eax
mov ecx, dword [ebp - 0x5dc]
push ecx
push 0x48979c
call fcn.0048177d
add esp, 0x10
jmp 0x48050f
mov dword [ebp - 0x298], 0x4897e8
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x5e0], eax
mov ecx, dword [ebp - 0x5e0]
mov dword [ebp - 0x6d8], ecx
cmp dword [ebp - 0x6d8], 0x80000003
je 0x480505
cmp dword [ebp - 0x6d8], 0xc0000008
je 0x480505
jmp 0x48050f
mov dword [ebp - 0x5bc], 0x10002
jmp 0x480723
mov edx, dword [ebp - 0x18c]
cmp dword [edx], 2
jne 0x480545
mov dword [ebp - 0x298], 0x489814
mov eax, dword [0x489624]
add eax, 1
mov dword [0x489624], eax
mov dword [ebp - 0x5bc], 0x10002
jmp 0x480723
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx], 4
jne 0x480578
mov dword [ebp - 0x298], 0x48983c
mov edx, dword [0x489624]
sub edx, 1
mov dword [0x489624], edx
mov dword [ebp - 0x5bc], 0x10002
jmp 0x480723
mov eax, dword [ebp - 0x18c]
cmp dword [eax], 5
jne 0x48059c
mov dword [ebp - 0x298], 0x489860
mov dword [ebp - 0x5bc], 0x10002
jmp 0x480723
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx], 8
jne 0x480679
mov dword [ebp - 0x298], 0x48987c
mov edx, dword [ebp - 0x18c]
xor eax, eax
mov ax, word [edx + 0x12]
mov dword [ebp - 0x5e8], eax
mov ecx, dword [ebp - 0x5e8]
add ecx, 2
push ecx
call fcn.004818ad
add esp, 4
mov dword [ebp - 0x604], eax
mov edx, dword [ebp - 0x604]
mov dword [ebp - 0x5e4], edx
push 0
mov eax, dword [ebp - 0x5e8]
add eax, 2
push eax
mov ecx, dword [ebp - 0x5e4]
push ecx
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x48cd70]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x18c]
xor ecx, ecx
mov cx, word [eax + 0x10]
test ecx, ecx
je 0x480639
cmp dword [ebp - 0x20], 0
je 0x480637
mov edx, dword [ebp - 0x5e4]
push edx
call dword [ebp - 0x20]
jmp 0x48064f
cmp dword [ebp - 0x1a0], 0
je 0x48064f
mov eax, dword [ebp - 0x5e4]
push eax
call dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x5e4]
mov dword [ebp - 0x608], ecx
mov edx, dword [ebp - 0x608]
push edx
call fcn.004818a2
add esp, 4
mov dword [ebp - 0x5bc], 0x10002
jmp 0x480723
mov eax, dword [ebp - 0x18c]
cmp dword [eax], 9
jne 0x480693
mov dword [ebp - 0x298], 0x48988c
jmp 0x480723
mov ecx, dword [ebp - 0x18c]
cmp dword [ecx], 3
jne 0x480719
xor edx, edx
mov dl, byte [0x48962c]
test edx, edx
je 0x480717
mov byte [0x48962c], 0
mov eax, dword [0x489248]
xor eax, dword [0x489238]
push eax
mov ecx, dword [0x48cd70]
mov edx, dword [ecx + 8]
push edx
push 0x4898a4
lea eax, [ebp - 0x39c]
push eax
call fcn.0048207f
add esp, 0x10
lea ecx, [ebp - 0x39c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4806fd
xor al, al
jmp 0x48076c
mov dword [ebp - 0x5bc], 0x10002
mov edx, dword [0x48cd70]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x480723
mov dword [ebp - 0x5bc], 0x10002
mov ecx, dword [ebp - 0x5bc]
push ecx
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x480765
push 0x10002
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x48011a
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