Function at 0x42dae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4c6d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c9100]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 8]
mov edi, esi
mov edx, dword [ecx]
sub edi, edx
mov eax, dword [ecx + 4]
sub eax, edx
sar edi, 3
sar eax, 3
cmp eax, 0x1fffffff
je 0x42dcfd
mov ecx, dword [ecx + 8]
lea ebx, [eax + 1]
sub ecx, edx
mov dword [ebp - 0x38], ebx
sar ecx, 3
mov eax, 0x1fffffff
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x42dcf8
lea eax, [edx + ecx]
mov ecx, ebx
cmp eax, ebx
cmovae ecx, eax
mov dword [ebp - 0x30], ecx
cmp ecx, 0x1fffffff
ja 0x42dcf8
lea eax, [ecx*8]
mov dword [ebp - 0x24], ecx
test eax, eax
jne 0x42db85
xor ebx, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ecx
jmp 0x42dbc4
cmp eax, 0x1000
jb 0x42dbb6
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x42dcf8
push ecx
call fcn.0046158b
add esp, 4
test eax, eax
je 0x42dd02
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebp - 0x1c], ebx
mov dword [ebx - 4], eax
jmp 0x42dbc4
push eax
call fcn.0046158b
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
lea eax, [ebx + edi*8]
mov dword [ebp - 4], 0
lea edi, [eax + 8]
mov dword [ebp - 0x28], eax
push 8
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
call fcn.0046158b
mov ecx, dword [ebp + 0x10]
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
mov ecx, dword [ecx]
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
add eax, 4
mov byte [ebp - 4], 1
push eax
push 0
push edx
push 0x42e990
push 0
push 0
call fcn.00487e2d
mov ecx, dword [ebp - 0x28]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x42dd07
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov edx, dword [edx]
cmp esi, eax
jne 0x42dc8c
mov edi, eax
mov esi, ebx
cmp edx, edi
je 0x42dc5a
mov eax, dword [edx]
lea esi, [esi + 8]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
cmp edx, edi
jne 0x42dc38
mov edx, dword [ebp - 0x20]
push dword [ebp - 0x30]
mov ecx, edx
push dword [ebp - 0x38]
push ebx
call fcn.0042e490
mov eax, dword [ebp - 0x28]
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.0046157d
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x1c], ebx
cmp edx, esi
je 0x42dcbf
mov edi, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
mov dword [edi], eax
mov eax, edi
mov edi, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
add eax, 8
mov dword [ebp - 0x1c], eax
cmp edx, esi
jne 0x42dc93
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
cmp esi, eax
je 0x42dc5d
nop dword [eax]
mov eax, dword [esi]
lea edi, [edi + 8]
mov ecx, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
add esi, 8
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
cmp esi, dword [ebp - 0x2c]
jne 0x42dcd0
jmp 0x42dc5d
call fcn.00422b90
call fcn.0042e3f0
call fcn.0048347f
push 6
mov dword [ecx + 4], 0
call fcn.00463576
push ecx
mov ecx, dword [ebp - 0x34]
mov edx, ecx
call fcn.0042d540
add esp, 4
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.0042d490
push 0
push 0
call fcn.00479651
int3