Function at 0x41dc40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6ca2
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push esi
push edi
mov eax, dword [0x8d0d94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x2d64]
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], eax
jne 0x41dea4
lea ecx, [ebp - 0xec]
call fcn.0041df30
mov dword [ebp - 4], 0
push 8
push dword [esi + 0x2340]
call dword [0x8d7160]
mov byte [ebp - 4], 1
push 6
push eax
push dword [esi + 0x2340]
call dword [0x8d7164]
mov edx, eax
mov byte [ebp - 4], 2
test edx, edx
je 0x41dcfc
lea ecx, [ebp - 0x68]
call fcn.00402730
mov dword [ebp - 4], 3
lea eax, [edx + 8]
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.CWString.0
call fcn.00449af0
mov dword [ebp - 4], 4
mov ebx, 2
lea edx, [ebp - 0x64]
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x5c]
lea eax, [ebp - 0x58]
jmp 0x41dd3c
lea ecx, [ebp - 0x94]
call fcn.00402730
mov dword [ebp - 4], 5
mov dword [ebp - 0x94], vtable.CWString.0
mov dword [ebp - 4], 6
mov ebx, 4
lea edx, [ebp - 0x90]
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x88]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp + 8], eax
call fcn.00402730
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], vtable.CWString.0
call dword [eax + 0x44]
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00402cb0
mov byte [ebp - 4], 6
or ebx, 8
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 4
test bl, 4
je 0x41dda2
and ebx, 0xfffffffb
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x10], ebx
call fcn.004027f0
mov dword [ebp - 4], 2
test bl, 2
je 0x41ddbc
and ebx, 0xfffffffd
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x10], ebx
call fcn.004027f0
and ebx, 0xfffffff7
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
or ebx, 1
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
call dword [eax + 0x44]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd0]
call dword [eax + 0x44]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00402cb0
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004027f0
call fcn.00412e30
mov edi, eax
lea eax, [ebp - 0xec]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x24]
push 0x1f4
mov dword [0x8d6b70], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x8d6be0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [eax + 0x2eb4]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41de75
push eax
call esi
mov dword [ebx + 0x14], 0
lea eax, [ebp + 8]
push eax
push 0
push edi
push fcn.0041bef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41de92
push eax
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.00413160
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20