Function at 0x10023890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100793fe
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10098f00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
je 0x100238e0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.10048b59
add esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x70], 0
je 0x1002394f
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1002393e
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx - 4], 0
je 0x10023920
push 3
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x48], eax
jmp 0x10023936
mov eax, dword [ebp - 0x2c]
sub eax, 4
push eax
call fcn.10048b59
add esp, 4
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
jmp 0x10023945
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x70], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x28
call fcn.100136a0
push 0x10082eec
lea ecx, [ebp - 0x24]
call fcn.10013600
mov dword [ebp - 4], 0
push 0x10082ef0
lea ecx, [ebp - 0x14]
call fcn.10013600
mov byte [ebp - 4], 1
push 0x10082ef4
lea ecx, [ebp - 0x1c]
call fcn.10013600
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
add eax, 0x34
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x28
call fcn.100136c0
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x6c]
call fcn.10021400
mov ecx, dword [ebp - 0x44]
add ecx, 0x28
call fcn.100136c0
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x6c]
call fcn.100212f0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x44]
sub ecx, 4
push ecx
push 0x10023f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x50], 0
jne 0x10023a58
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10013680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10013680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10013680
mov eax, dword [ebp - 0x38]
jmp 0x10023aef
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x50], 0xffffffff
jne 0x10023a94
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10013680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10013680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10013680
mov eax, dword [ebp - 0x3c]
jmp 0x10023aef
push 0xffffffffffffffff
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x40
call fcn.10015350
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1005be7e
add esp, 8
mov dword [ebp - 0x40], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10013680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10013680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10013680
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8