Function at 0x41bc00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e75d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edx, dword [ebx]
sub eax, edx
sar eax, 3
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
sub eax, edx
mov dword [ebp - 0x10], esp
sar eax, 3
mov dword [ebp - 0x20], ebx
cmp eax, 0x1fffffff
je 0x41be57
mov ecx, dword [ebx + 8]
lea edi, [eax + 1]
sub ecx, edx
mov dword [ebp - 0x24], edi
sar ecx, 3
mov eax, 0x1fffffff
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x41be52
lea eax, [edx + ecx]
mov ecx, edi
cmp eax, edi
cmovae ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, 0x1fffffff
ja 0x41be52
lea edx, [ecx*8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
cmp edx, 0x1000
jb 0x41bcbe
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x41be52
push eax
call fcn.00420d50
add esp, 4
test eax, eax
je 0x41be61
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x41bcda
test edx, edx
je 0x41bcd5
push edx
call fcn.00420d50
mov edi, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jmp 0x41bcda
xor edi, edi
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
push 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
lea eax, [edi + eax*8]
mov dword [ebp + 8], eax
add eax, 8
mov dword [ebp - 0x1c], eax
call fcn.00420d50
mov ecx, dword [ebp + 0x10]
mov edx, eax
add esp, 4
mov dword [ebp + 0x10], 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 + 8]
add eax, 4
mov byte [ebp - 4], 1
push eax
push 0
push edx
push 0x41d630
push 0
push 0
call fcn.0042e1e3
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x41be66
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [ebp + 0x10], eax
cmp esi, eax
jne 0x41bd78
mov esi, edi
cmp edx, eax
je 0x41bde1
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 + 0x10]
jne 0x41bd53
jmp 0x41bde1
mov ebx, edi
cmp edx, esi
je 0x41bda5
nop
mov eax, dword [edx]
lea ebx, [ebx + 8]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
mov dword [ebx - 8], eax
mov dword [ebx - 4], ecx
cmp edx, esi
jne 0x41bd80
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx + 4]
mov dword [ebp + 0x10], eax
cmp esi, eax
je 0x41bde1
lea edx, [ecx + 8]
sub edx, esi
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + edx], eax
mov dword [esi + edx + 4], ecx
add esi, 8
cmp esi, dword [ebp + 0x10]
jne 0x41bdc0
mov edx, dword [ebx]
test edx, edx
je 0x41be29
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
je 0x41bdfd
cmp dword [eax + 4], 0
jne 0x41be5c
add eax, 8
cmp eax, ecx
jne 0x41bdf0
mov ecx, dword [ebx + 8]
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x41be1f
mov esi, dword [edx - 4]
add ecx, 0x23
sub edx, esi
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x41be61
mov edx, esi
push ecx
push edx
call fcn.00420d85
add esp, 8
mov eax, dword [ebp - 0x24]
mov dword [ebx], edi
lea ecx, [edi + eax*8]
mov eax, dword [ebp + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x28]
add ecx, edi
pop edi
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004015e0
call fcn.00405ad0
call fcn.0042e04b
call fcn.0042d25f
push 6
mov dword [ecx + 4], 0
call fcn.0042085a
push ecx
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
call fcn.0041b5a0
add esp, 4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0041ae20
push 0
push 0
call fcn.004222c7
int3