Function at 0x1000e697
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 8
call fcn.1002d2ff
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x1005137a
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.1002d2ff
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x1005137a
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.1002d2ff
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.1002d2ff
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1005d16a
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.1002d2ff
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
push 4
call fcn.1002d2ff
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx], 0x1005d172
jmp 0x1000e7ab
push 1
lea eax, [ebp - 8]
push eax
call fcn.1000f297
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 0x1000e991
mov ebx, dword [ebp - 8]
call fcn.10002805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000e7fa
push 0x86
push 0x401d7a4
push 4
call fcn.1002d311
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000e817
push 0x86
push 0x401d7a4
push 1
call fcn.1002d311
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push 0x1005d13b
mov ebx, dword [ebp - 0x38]
push dword [ebx]
mov ecx, 2
call fcn.100028b7
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000e84d
push ebx
call fcn.1002d305
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000f667
test eax, eax
je 0x1000e989
push 0x80000301
push 0
push 0x40000000
push 0x80000301
push 0
push connect
push 2
mov ebx, 0xc8
call fcn.1002dff0
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.1002dff0
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 0x1000e90e
push 0x12c
push 0x401d7a4
push 6
call fcn.1002d311
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000e989
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.1002dbf0
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.10002805
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 0x1000e95e
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.1002d329
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 0x1000e7c5
add esp, 0xc
push 0
mov ebx, 0x28
mov eax, 0x10035390
call fcn.1002dc90
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.1002dff0
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.1002dff0
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 0x1000ea5a
push 0x25c
push 0x401d7a4
push 6
call fcn.1002d311
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1000ea6d
push ebx
call fcn.1002d305
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000eaeb
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.1002dbf0
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.10002805
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 0x1000eac0
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.1002d329
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.10002fca
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 0x1000f19b
cmp dword [ebp - 0x1c], 0
jne 0x1000ebf6
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jne 0x1000eb2d
mov dword [ebp - 0x1c], 1
mov ebx, dword [ebp - 0x18]
call fcn.10002805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000eb54
push 0x411
push 0x401d7a4
push 4
call fcn.1002d311
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000eb71
push 0x411
push 0x401d7a4
push 1
call fcn.1002d311
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 0x100107de
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000ebc7
push 0x411
push 0x401d7a4
push 6
call fcn.1002d311
add esp, 0xc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push dword [ebp - 0x44]
xor eax, eax
call dword [0x10145535]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x1000ebf6
push 0x411
push 0x401d7a4
push 6
call fcn.1002d311
add esp, 0xc
mov ebx, dword [ebp - 0x18]
call fcn.10002805
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000ec1d
push 0x470
push 0x401d7a4
push 4
call fcn.1002d311
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000ec3a
push 0x470
push 0x401d7a4
push 1
call fcn.1002d311
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.1002dff0
add esp, 0x64
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push 0
push dword [0x101454bd]
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.1002d2ff
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 0x1000ed50
push 0x4a3
push 0x401d7a4
push 6
call fcn.1002d311
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.1002dbf0
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 0x1000eda5
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1000eda3
imul eax, dword [edi]
jmp 0x1000ed98
mov ecx, eax
cmp ecx, 0x400
jle 0x1000edb2
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.1002d305
add esp, 4
pop eax
test eax, eax
je 0x1000f18e
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 0
je 0x1000ee15
mov ebx, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
push dword [ebp - 0x38]
call fcn.1000f950
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000ee0c
push ebx
call fcn.1002d305
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x1000ee41
mov ebx, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
push dword [ebp - 0x38]
call fcn.1000f950
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000ee3d
push ebx
call fcn.1002d305
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 0x1000ee69
mov eax, 0x1005137a
push eax
push 2
mov ebx, 0x1a0
call fcn.1002ec90
add esp, 0x1c
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000fa75
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000ee9b
push ebx
call fcn.1002d305
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000eeaf
push ebx
call fcn.1002d305
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 0x1000eee4
mov eax, 0x100513b3
push eax
push 4
mov ebx, 0x148
call fcn.1002f150
add esp, 0x34
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x1000efaa
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 0x1000ef35
mov eax, 0x100513b3
push eax
push 4
mov ebx, 0x148
call fcn.1002f150
add esp, 0x34
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x1000efaa
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 0x1000ef86
mov eax, 0x100513b3
push eax
push 4
mov ebx, 0x148
call fcn.1002f150
add esp, 0x34
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jne 0x1000efaa
xor eax, eax
jmp 0x1000efaf
mov eax, 1
test eax, eax
je 0x1000f189
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.1000fc8d
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 0x1000effc
mov eax, 0x100513b3
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1000f010
mov eax, 0x100513b3
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, 0x10034b90
call fcn.1002dc90
add esp, 0x40
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000f053
push ebx
call fcn.1002d305
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000f063
push ebx
call fcn.1002d305
add esp, 4
lea eax, [ebp - 0x44]
push eax
call fcn.1000bdbb
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1000f07f
push ebx
call fcn.1002d305
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x38]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000f095
push ebx
call fcn.1002d305
add esp, 4
pop eax
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [0x10145465]
push 1
mov ebx, 0xc
mov eax, 0x100327b0
call fcn.1002dc90
add esp, 0x10
push 0x101454b9
push 4
mov eax, 2
call fcn.1002dbf0
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov ebx, dword [0x101454b9]
mov dword [ebp - 0x3c], ebx
call fcn.10002805
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 0x1000f106
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.1002d329
add esp, 8
mov dword [0x101454b9], 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.1002d2ff
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1000f15e
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1002d2ff
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 [0x10145465]
push 1
mov ebx, 0x10
mov eax, 0x100327d0
call fcn.1002dc90
add esp, 0x10
jmp 0x1000f193
jmp 0x1000f193
pop eax
pop ebx
pop ecx
jmp 0x1000eb02
add esp, 0xc
push 0x3e8
call fcn.1000b3cd
jmp 0x1000eaf6