Function at 0x1003de80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa07c
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x100dc0d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x1003debe
xor eax, eax
jmp 0x1003e0f5
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
call fcn.1003dcb0
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x1003e3e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 4], 0
jne 0x1003dfe1
call fcn.1004ec30
mov dword [ebp - 0x20], eax
push 1
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x30], al
cmp byte [ebp - 0x30], 1
je 0x1003df32
jmp 0x1003dfda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
push 0x100b82b0
lea ecx, [ebp - 0x78]
call fcn.1000c2e0
mov dword [ebp - 4], 0
push 0x100b82ac
lea ecx, [ebp - 0x60]
call fcn.1000c2e0
mov byte [ebp - 4], 1
call fcn.1004ec30
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x34]
push ecx
push str.CWorkThread::Start__CreateThread_failed__errno:
push 0x4e
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x140]
call fcn.1000cda0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
call fcn.10006e30
mov ecx, eax
call fcn.10006e90
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.1000e1d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.100045a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100045a0
xor eax, eax
jmp 0x1003e0f5
lea ecx, [ebp - 0x18]
call fcn.1003db50
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
jne 0x1003e009
lea ecx, [ebp - 0x18]
call fcn.1003dd90
cmp eax, dword [ebp + 0xc]
jae 0x1003e009
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003dfe9
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 8], 0
jne 0x1003e0f0
call fcn.1004ec30
mov dword [ebp - 0x28], eax
push 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0x40], al
cmp byte [ebp - 0x40], 1
je 0x1003e03b
jmp 0x1003e0ec
push 0x100b8348
lea ecx, [ebp - 0xa8]
call fcn.1000c2e0
mov dword [ebp - 4], 3
push 0x100b8344
lea ecx, [ebp - 0x90]
call fcn.1000c2e0
mov byte [ebp - 4], 4
call fcn.1004ec30
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xc]
push eax
push str.CWorkThread::Start__wait_thread_running_timeout_
push 0x56
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x1d8]
call fcn.1000cda0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
call fcn.10006e30
mov ecx, eax
call fcn.10006e90
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d8]
call fcn.1000e1d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.100045a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.100045a0
xor eax, eax
jmp 0x1003e0f5
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce3a
mov esp, ebp
pop ebp
ret 8