Function at 0x1000cfd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 8
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x1005430c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x1005430c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
push 0x10
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x408
call fcn.1002ffeb
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10060112
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 4
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
push 4
call fcn.1002ffeb
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx], 0x1006011a
jmp 0x1000d0e4
push 1
lea eax, [ebp - 8]
push eax
call fcn.1000dbd0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1000d2ca
mov ebx, dword [ebp - 8]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000d133
push 0x86
push 0x401d7a4
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000d150
push 0x86
push 0x401d7a4
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push 0x100600e3
mov ebx, dword [ebp - 0x38]
push dword [ebx]
mov ecx, 2
call fcn.100018f7
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000d186
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000dfa0
test eax, eax
je 0x1000d2c2
push 0x80000301
push 0
push 0x40000000
push 0x80000301
push 0
push connect
push 2
mov ebx, 0xc8
call fcn.10030d70
add esp, 0x1c
mov dword [ebp - 0x38], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 3
mov ebx, 0xc8
call fcn.10030d70
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push 0
push 0x2000000
push 3
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x1000d247
push 0x12c
push 0x401d7a4
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000d2c2
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.100309a0
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
call fcn.1000155f
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 0x3c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x1000d297
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x3c]
call fcn.10030015
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x40]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x1000d0fe
add esp, 0xc
push 0
mov ebx, 0x28
mov eax, 0x100380e0
call fcn.10030a40
add esp, 4
mov dword [ebp - 0x38], eax
push 0x80000301
push 0
push 0x40000000
push 0x80000301
push 0
push connect
push 2
mov ebx, 0xc8
call fcn.10030d70
add esp, 0x1c
mov dword [ebp - 0x3c], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 3
mov ebx, 0xc8
call fcn.10030d70
add esp, 0x28
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0
push 0x2000000
push 3
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x1000d393
push 0x25c
push 0x401d7a4
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000d3a6
push ebx
call fcn.1002fff1
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000d424
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.100309a0
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
call fcn.1000155f
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 0x3c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x1000d3f9
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x3c]
call fcn.10030015
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x40]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
mov ebx, dword [ebp - 0x18]
call fcn.10001546
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1000dad4
cmp dword [ebp - 0x1c], 0
jne 0x1000d52f
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jne 0x1000d466
mov dword [ebp - 0x1c], 1
mov ebx, dword [ebp - 0x18]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000d48d
push 0x411
push 0x401d7a4
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000d4aa
push 0x411
push 0x401d7a4
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push 0x1000f117
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000d500
push 0x411
push 0x401d7a4
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push dword [ebp - 0x44]
xor eax, eax
call dword [0x101487ee]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x1000d52f
push 0x411
push 0x401d7a4
push 6
call fcn.1002fffd
add esp, 0xc
mov ebx, dword [ebp - 0x18]
call fcn.1000155f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000d556
push 0x470
push 0x401d7a4
push 4
call fcn.1002fffd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000d573
push 0x470
push 0x401d7a4
push 1
call fcn.1002fffd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x40
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 8
mov ebx, 0xc8
call fcn.10030d70
add esp, 0x64
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push 0
push dword [0x1014876a]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x3c]
push 1
push 0x400
mov eax, dword [ebp - 0x20]
push eax
push 0x40c
call fcn.1002ffeb
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x400
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov ebx, dword [ebp - 0x38]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ReadDirectoryChangesW]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x1000d689
push 0x4a3
push 0x401d7a4
push 6
call fcn.1002fffd
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x44]
push ebx
mov edi, dword [ebp - 0x48]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.100309a0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x1000d6de
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1000d6dc
imul eax, dword [edi]
jmp 0x1000d6d1
mov ecx, eax
cmp ecx, 0x400
jle 0x1000d6eb
mov ecx, 0x400
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x400
call fcn.1002fff1
add esp, 4
pop eax
test eax, eax
je 0x1000dac7
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 0
je 0x1000d74e
mov ebx, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
push dword [ebp - 0x38]
call fcn.1000e289
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000d745
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x1000d77a
mov ebx, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
push dword [ebp - 0x38]
call fcn.1000e289
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000d776
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
add ebx, 8
mov dword [ebp - 0x38], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push htons
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1000d7a2
mov eax, 0x1005430c
push eax
push 2
mov ebx, 0x1a0
call fcn.10031a40
add esp, 0x1c
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000e3ae
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000d7d4
push ebx
call fcn.1002fff1
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000d7e8
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push connect
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Cheat_Engine
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1000d81d
mov eax, 0x100542f9
push eax
push 4
mov ebx, 0x148
call fcn.10031f00
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x1000d8e3
push connect
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ADDRESSES.FIRST
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1000d86e
mov eax, 0x100542f9
push eax
push 4
mov ebx, 0x148
call fcn.10031f00
add esp, 0x34
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x1000d8e3
push connect
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MEMORY.FIRST
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1000d8bf
mov eax, 0x100542f9
push eax
push 4
mov ebx, 0x148
call fcn.10031f00
add esp, 0x34
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jne 0x1000d8e3
xor eax, eax
jmp 0x1000d8e8
mov eax, 1
test eax, eax
je 0x1000dac2
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
push 1
push 1
call fcn.1000e5c6
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_connect
push 0
push str.Cheat_Engine
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x1000d935
mov eax, 0x100542f9
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1000d949
mov eax, 0x100542f9
push eax
push reloc.WS2_32.dll_connect
push 0
push str.Cheat_Engine
push reloc.WS2_32.dll_connect
push 0
push str._s___s___s___s
push 5
mov ebx, 0x150
mov eax, 0x10037930
call fcn.10030a40
add esp, 0x40
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000d98c
push ebx
call fcn.1002fff1
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000d99c
push ebx
call fcn.1002fff1
add esp, 4
lea eax, [ebp - 0x44]
push eax
call fcn.1000a639
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1000d9b8
push ebx
call fcn.1002fff1
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x38]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000d9ce
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [0x1014870e]
push 1
mov ebx, 0xc
mov eax, 0x10035520
call fcn.10030a40
add esp, 0x10
push 0x10148766
push 4
mov eax, 2
call fcn.100309a0
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov ebx, dword [0x10148766]
mov dword [ebp - 0x3c], ebx
call fcn.1000155f
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 0x3c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x1000da3f
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x3c]
call fcn.10030015
add esp, 8
mov dword [0x10148766], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x40]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x38]
push edi
push eax
push 4
call fcn.1002ffeb
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1000da97
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1002ffeb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
push 0x80000301
push 0
push dword [0x1014870e]
push 1
mov ebx, 0x10
mov eax, 0x10035540
call fcn.10030a40
add esp, 0x10
jmp 0x1000dacc
jmp 0x1000dacc
pop eax
pop ebx
pop ecx
jmp 0x1000d43b
add esp, 0xc
push 0x3e8
call fcn.10005ed6
jmp 0x1000d42f