Function at 0x41e980
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678b00
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x71a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x258]
call fcn.004d8390
push 0
call dword [0x68295c]
test eax, eax
jns 0x41e9cf
xor esi, esi
jmp 0x41ed19
push 0
call dword [0x682954]
lea ecx, [ebp - 0x238]
call fcn.004d8390
call dword [0x682424]
push eax
lea ecx, [ebp - 0x238]
call fcn.004d88b1
call fcn.004d72e3
mov esi, dword [0x72ae98]
test esi, esi
jne 0x41ea68
push 0x72ae60
call fcn.00428076
add esp, 4
test eax, eax
je 0x41ea1d
push eax
call fcn.0042825d
add esp, 4
mov esi, dword [0x72ae98]
test esi, esi
jne 0x41ea40
push 0x3c
call fcn.0042de91
add esp, 4
mov ecx, eax
call fcn.004d1cc3
mov esi, eax
mov dword [0x72ae98], esi
push 0x72ae60
mov dword [ebp - 4], 0
call fcn.0042809b
add esp, 4
test eax, eax
je 0x41ea61
push eax
call fcn.0042825d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0
mov ecx, esi
call fcn.004d248d
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x701738
mov word [ecx], ax
call fcn.00404e30
push 0
push edi
call fcn.00408a60
mov ecx, eax
call fcn.004cdd63
push 9
call fcn.004d8bb4
add esp, 4
call fcn.004dfce0
mov esi, dword [0x72afdc]
test esi, esi
jne 0x41eb2a
push 0x72afac
call fcn.00428076
add esp, 4
test eax, eax
je 0x41ead9
push eax
call fcn.0042825d
add esp, 4
mov esi, dword [0x72afdc]
test esi, esi
jne 0x41eb02
push 8
call fcn.0042de91
mov esi, eax
add esp, 4
mov dword [esi], 0x7024cc
mov dword [esi + 4], 0x7024e4
mov dword [0x72afdc], esi
push 0x72afac
mov dword [ebp - 4], 1
call fcn.0042809b
add esp, 4
test eax, eax
je 0x41eb23
push eax
call fcn.0042825d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0041dd00
call fcn.00417d70
mov esi, eax
mov byte [esi], 1
call fcn.00406e30
cmp dword [esi + 4], 0
jne 0x41eb6a
push 0
push 0
push 1
push 0
call dword [0x68248c]
push esi
push 0
push 0x4064c0
mov dword [esi + 8], eax
call fcn.0050d534
add esp, 0xc
mov dword [esi + 4], eax
xor al, al
mov ebx, 0x72ad98
xchg byte [ebx], al
sub esp, 0xc
call fcn.00422c20
test eax, eax
jne 0x41ec17
push edi
call fcn.0043c580
add esp, 4
push 4
call fcn.0043c9b0
add esp, 4
push 0x701f04
push 0x84
call fcn.00434270
push eax
call dword [0x68244c]
mov esi, eax
test esi, esi
je 0x41ebf0
push esi
call fcn.00434270
push eax
call dword [0x682450]
mov edi, eax
test edi, edi
je 0x41ebe9
push esi
call fcn.00434270
push eax
call dword [0x68245c]
test eax, eax
je 0x41ebe9
push 0
push eax
push edi
call dword [0x682458]
push eax
call fcn.0043c9c0
add esp, 0xc
push esi
call dword [0x68241c]
push 0x4034d0
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push 0x702e0c
call fcn.0044ad30
call fcn.00452bc0
mov ecx, eax
call fcn.00452c90
jmp 0x41ec19
js 0x41ec2f
call fcn.00422e90
mov ecx, dword [0x72ae24]
test ecx, ecx
je 0x41ec2f
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov al, 1
xchg byte [ebx], al
call fcn.004d7292
call fcn.00417d70
mov esi, eax
mov dl, 1
lea ecx, [esi + 0xc]
xchg byte [ecx], dl
push dword [esi + 8]
call dword [0x682488]
mov eax, dword [esi + 4]
test eax, eax
je 0x41ec99
push 0x1388
push eax
call dword [0x682490]
cmp eax, 0x102
jne 0x41ec92
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push eax
push dword [esi + 4]
call dword [0x682468]
push dword [ebp - 0x25c]
push dword [esi + 4]
call dword [0x682464]
mov dword [esi + 4], 0
lea eax, [ebp - 0x264]
push eax
push 0xf003f
push 0
push 0x7024e8
push 0x80000001
call dword [0x682064]
test eax, eax
jne 0x41ecfd
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [0x682434]
test eax, eax
je 0x41ecfd
push 4
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 1
push eax
push 4
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call dword [0x682060]
call dword [0x682944]
call dword [0x682958]
lea ecx, [ebp - 0x238]
mov esi, 1
call fcn.004d83be
lea ecx, [ebp - 0x258]
call fcn.004d83be
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d815
mov esp, ebp
pop ebp
ret 0x10