Function at 0x429990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460281
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
lea esi, [ebp - 0xbc]
mov ebx, ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc8], edi
call fcn.0040fbc0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x4299ed
mov eax, dword [edi]
jmp 0x4299ef
mov eax, edi
movzx esi, word [eax]
mov eax, dword [0x477d2c]
test eax, eax
je 0x429c54
mov ecx, esi
imul ecx, ecx, 0x2c
mov eax, dword [ecx + eax - 0xaf0]
cmp eax, 7
jne 0x429c54
push esi
call fcn.0042caf0
add esp, 4
test al, al
jne 0x429c54
push esi
call fcn.0042ca60
add esp, 4
test al, al
jne 0x429c54
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp - 0xc0]
cmp eax, 1
jne 0x429a4a
cmp byte [ecx + 1], 0
jne 0x429a5d
cmp eax, 3
jne 0x429c38
cmp byte [ecx + 2], 0
je 0x429c38
xor esi, esi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0xc4], esi
jb 0x429a6d
mov edi, dword [edi]
push edi
mov edi, ecx
call fcn.00429190
add esp, 4
test al, al
je 0x429af2
push 0x3c
push 8
mov dword [ebp - 0xc4], 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, esi
je 0x429af2
mov edx, dword [ebp - 0xc0]
push 0xffffffffffffffff
push esi
mov dword [ebp - 0xcc], esi
mov esi, dword [ebp - 0xc8]
push esi
lea ecx, [edi + 4]
mov dword [edi], edx
call fcn.00403e20
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xbc]
push eax
lea ecx, [edi + 0x20]
call fcn.00403e20
lea ecx, [ebp - 0xcc]
push ecx
push 0
push edi
push 0x429400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x429af8
mov esi, dword [ebp - 0xc8]
xor eax, eax
xor edi, edi
mov ecx, 7
xor edx, edx
mov word [ebp - 0x84], dx
mov dword [ebp - 0x82], eax
mov dword [ebp - 0x7e], eax
mov dword [ebp - 0x7a], eax
mov word [ebp - 0x76], ax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edi
mov word [ebp - 0x74], ax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov word [ebp - 0x58], dx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x1c]
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x3c], ecx
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x38], edx
call fcn.00403e20
mov eax, esi
call fcn.00401eb0
push 0xffffffffffffffff
mov dword [ebp - 0x34], eax
push edi
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403e20
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebx + 0x14]
add ebx, 0x20
mov dword [ebp - 0x7c], eax
mov eax, ebx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x80], edx
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x429ba0
sub eax, ecx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.00403570
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 4]
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, ecx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x429be0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00403570
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004296c0
add esp, 4
cmp dword [ebp - 0x8c], 8
jb 0x429c2d
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00444884
add esp, 4
lea esi, [ebp - 0x84]
call fcn.00429c90
cmp dword [ebp - 0xa8], 8
jb 0x429c50
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00444884
add esp, 4
mov al, 1
jmp 0x429c6e
cmp dword [ebp - 0xa8], 8
jb 0x429c6c
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00444884
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret