Function at 0x414870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a75d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x473180]
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 eax, ecx
mov dword [ebp - 0x28], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, dword [eax]
sub ecx, edx
sar ecx, 3
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 4]
sub ecx, edx
mov dword [ebp - 0x2c], esi
sar ecx, 3
cmp ecx, 0x1fffffff
je 0x414afb
lea edi, [ecx + 1]
mov ecx, dword [eax + 8]
sub ecx, edx
mov dword [ebp - 0x38], edi
sar ecx, 3
mov eax, 0x1fffffff
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x414af6
lea eax, [edx + ecx]
mov ecx, edi
cmp eax, edi
cmovae ecx, eax
cmp ecx, 0x1fffffff
ja 0x414af6
lea edx, [ecx*8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], edx
test edx, edx
jne 0x41491b
xor edi, edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edi
jmp 0x41495b
cmp edx, 0x1000
jb 0x41494d
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x414af6
push eax
call fcn.00430e06
add esp, 4
test eax, eax
je 0x414b05
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [ebp - 0x1c], edi
mov dword [edi - 4], eax
jmp 0x41495b
push edx
call fcn.00430e06
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov ecx, dword [ebp - 0x20]
push 0x30
mov dword [ebp - 4], 0
lea eax, [edi + ecx*8]
lea ecx, [eax + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
call fcn.00430e06
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x18], eax
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
mov ecx, dword [ebp - 0x20]
add ecx, 4
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x415620
push 0
push 0
call fcn.0043d03e
mov ecx, dword [ebp - 0x20]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x414b0a
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x24], ecx
cmp esi, ecx
jne 0x414a05
mov esi, edi
cmp edx, ecx
je 0x414a73
nop
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, dword [ebp - 0x24]
jne 0x4149e0
jmp 0x414a73
mov dword [ebp - 0x1c], edi
cmp edx, esi
je 0x414a3f
nop dword [eax]
mov esi, 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 [esi], eax
mov eax, esi
mov esi, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
add eax, 8
mov dword [ebp - 0x1c], eax
cmp edx, esi
jne 0x414a10
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
cmp esi, eax
je 0x414a73
mov edx, dword [ebp - 0x30]
nop dword [eax]
mov eax, dword [esi]
lea edx, [edx + 8]
mov ecx, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
add esi, 8
mov dword [edx - 8], eax
mov dword [edx - 4], ecx
cmp esi, dword [ebp - 0x2c]
jne 0x414a50
mov esi, dword [ebp - 0x28]
mov edx, dword [esi]
test edx, edx
je 0x414ac2
mov ecx, dword [esi + 4]
mov eax, edx
cmp eax, ecx
je 0x414a92
cmp dword [eax + 4], 0
jne 0x414b00
add eax, 8
cmp eax, ecx
jne 0x414a85
mov ecx, dword [esi + 8]
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x414ab8
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x30], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x414b05
mov edx, dword [ebp - 0x30]
push ecx
push edx
call fcn.00431087
add esp, 8
mov eax, dword [ebp - 0x38]
mov dword [esi], edi
lea ecx, [edi + eax*8]
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x3c]
add ecx, edi
mov dword [esi + 8], ecx
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.00430de7
mov esp, ebp
pop ebp
ret 8
call fcn.00401650
call fcn.0040fe60
call fcn.0043f8df
call fcn.0043f88e
push 6
mov dword [ecx + 4], 0
call fcn.00415d60
push ecx
mov ecx, dword [ebp - 0x34]
mov edx, ecx
call fcn.00412780
add esp, 4
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.0040f840
push 0
push 0
call fcn.004327ab
int3