Function at 0x412610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46be96
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x48f244]
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 dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], edi
test ecx, ecx
jne 0x412662
cmp edi, 0x1000
jb 0x412669
cmp eax, 0x1000
jae 0x412670
mov ebx, 1
jmp 0x412673
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x48], ebx
test ecx, ecx
jb 0x41268a
ja 0x412680
cmp edi, eax
jb 0x41268a
mov edi, eax
xor ecx, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], ecx
push 0
push ebx
push ecx
push edi
call fcn.004398e0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
test ebx, ebx
je 0x412927
cmp ebx, 0x2e8ba2e
ja 0x412abc
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00413880
lea eax, [ebx - 1]
xor esi, esi
mov dword [ebp - 0x58], eax
nop
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x54]
mul esi
mov ecx, eax
mov eax, ebx
mul esi
add ecx, edx
mov edx, eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x20], edx
cmp esi, dword [ebp - 0x58]
je 0x412734
mov edi, ebx
mov ebx, dword [ebp - 0x3c]
jmp 0x41273b
mov ebx, dword [ebp - 0x40]
sub edi, edx
sbb ebx, ecx
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
cmp eax, dword [ebp - 0x44]
je 0x4127b0
mov ecx, dword [ebp - 0x44]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x41279b
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0xc0]
push eax
call fcn.004049f0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
add eax, edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], ebx
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x18]
push eax
cmp edx, dword [ebp - 0x14]
je 0x412800
call fcn.00413c30
add esp, 4
add dword [ebp - 0x18], 0x58
jmp 0x412809
push edx
lea ecx, [ebp - 0x1c]
call fcn.00413cd0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x41284d
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412ad4
push edx
push ecx
call fcn.00439095
add esp, 8
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x41288d
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412883
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412ad4
push edx
push ecx
call fcn.00439095
add esp, 8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x1c]
push 0xc
mov dword [ebp - 0x64], eax
call fcn.00439065
movq xmm0, qword [ebp - 0x68]
add esp, 4
mov dword [ebp - 0x20], eax
movq qword [eax], xmm0
mov dword [eax + 8], esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
push 0x414200
push 0
push 0
call fcn.0045797b
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x38], edx
test edx, edx
je 0x412ac6
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x24]
je 0x4128fd
mov eax, dword [ebp - 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ecx], edx
mov dword [ecx + 4], eax
add dword [ebp - 0x28], 8
jmp 0x41290a
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00413e20
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
jne 0x412ac1
mov ebx, dword [ebp - 0x48]
inc esi
mov edi, dword [ebp - 0x4c]
cmp esi, ebx
jb 0x412710
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x1c]
push 0xc
mov dword [ebp - 0x64], eax
call fcn.00439065
movq xmm0, qword [ebp - 0x68]
add esp, 4
mov dword [ebp - 0x20], eax
movq qword [eax], xmm0
mov dword [eax + 8], ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
push ecx
push 0
push eax
push 0x414250
push 0
push 0
call fcn.0045797b
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x412ac6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00411bc0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
jne 0x412ac1
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
cmp esi, ebx
je 0x4129ab
mov ecx, esi
call fcn.00411bc0
add esi, 8
cmp esi, ebx
jne 0x412997
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x4129d1
nop word [eax + eax]
cmp dword [eax + 0x50], 1
jne 0x412a88
add eax, 0x58
cmp eax, ecx
jne 0x4129c0
mov byte [ebp - 0x2d], 1
test edi, edi
je 0x412a4d
cmp edi, ecx
je 0x4129f1
mov esi, ecx
nop
mov ecx, edi
call fcn.00412570
add edi, 0x58
cmp edi, esi
jne 0x4129e0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2e8ba2e9
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x58
mov eax, edi
cmp ecx, 0x1000
jb 0x412a28
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412ad4
push ecx
push edi
call fcn.00439095
mov ebx, dword [ebp - 0x28]
add esp, 8
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test esi, esi
je 0x412a9b
mov eax, esi
cmp eax, ebx
je 0x412a64
cmp dword [eax + 4], 0
jne 0x412ac1
add eax, 8
cmp eax, ebx
jne 0x412a57
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x412a91
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412ad4
jmp 0x412a91
mov byte [ebp - 0x2d], 0
jmp 0x4129d5
push ecx
push esi
call fcn.00439095
add esp, 8
mov al, byte [ebp - 0x2d]
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.004390b1
mov esp, ebp
pop ebp
ret 0x18
call fcn.00413870
call fcn.0045051a
push 6
mov dword [ebp - 0x34], 0
call fcn.0043af74
call fcn.004480ba
int3