Function at 0x414bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bfdd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x45f200]
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 - 0x24], eax
mov esi, dword [ebp + 8]
mov edi, esi
mov edx, dword [eax]
sub edi, edx
mov ecx, dword [eax + 4]
sub ecx, edx
sar edi, 3
sar ecx, 3
cmp ecx, 0x1fffffff
je 0x414e42
lea ebx, [ecx + 1]
mov ecx, dword [eax + 8]
sub ecx, edx
mov dword [ebp - 0x34], ebx
sar ecx, 3
mov eax, 0x1fffffff
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x414e3d
lea eax, [edx + ecx]
mov ecx, ebx
cmp eax, ebx
cmovae ecx, eax
cmp ecx, 0x1fffffff
ja 0x414e3d
lea edx, [ecx*8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], edx
test edx, edx
jne 0x414c75
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ebx
jmp 0x414cb5
cmp edx, 0x1000
jb 0x414ca7
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x414e3d
push eax
call fcn.004297df
add esp, 4
test eax, eax
je 0x414e4c
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebp - 0x1c], ebx
mov dword [ebx - 4], eax
jmp 0x414cb5
push edx
call fcn.004297df
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 - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.004297df
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ebp - 0x18], eax
movzx ecx, byte [ecx]
mov byte [eax], cl
mov ecx, dword [ebp + 0x10]
movzx ecx, byte [ecx]
mov byte [eax + 1], cl
mov dword [eax + 4], 0x40c1c0
mov ecx, dword [ebp - 0x28]
add ecx, 4
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4150a0
push 0
push 0
call fcn.0042f055
mov ecx, dword [ebp - 0x28]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x414e51
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp esi, ecx
jne 0x414d58
mov edi, ecx
mov esi, ebx
cmp edx, edi
je 0x414db8
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 0x414d34
jmp 0x414db8
mov dword [ebp - 0x1c], ebx
cmp edx, esi
je 0x414d8f
nop
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 - 0x30]
mov dword [eax + 4], ecx
add eax, 8
mov dword [ebp - 0x1c], eax
cmp edx, esi
jne 0x414d60
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
cmp esi, edx
je 0x414db8
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, edx
jne 0x414d96
mov esi, dword [ebp - 0x24]
mov edx, dword [esi]
test edx, edx
je 0x414e09
mov ecx, dword [esi + 4]
mov eax, edx
cmp eax, ecx
je 0x414ddd
nop word [eax + eax]
cmp dword [eax + 4], 0
jne 0x414e47
add eax, 8
cmp eax, ecx
jne 0x414dd0
mov ecx, dword [esi + 8]
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x414dff
mov edi, dword [edx - 4]
add ecx, 0x23
sub edx, edi
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x414e4c
mov edx, edi
push ecx
push edx
call fcn.0042980f
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [esi], ebx
lea ecx, [ebx + eax*8]
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x38]
add ecx, ebx
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.004297d1
mov esp, ebp
pop ebp
ret 0x10
call fcn.004020b0
call fcn.0040a6e0
call fcn.0042f5e5
call fcn.0042e68f
push 6
mov dword [ecx + 4], 0
call fcn.00427dd1
push ecx
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
call fcn.00414540
add esp, 4
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.00413e30
push 0
push 0
call fcn.0042b053
int3