Function at 0x414c10
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x48f1b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ad650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0x443270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4b2dc8
call fcn.00449c80
mov dword [esp + 0x1c], eax
mov eax, dword [0x4b2dc8]
add esp, 4
test eax, eax
jg 0x414d12
mov ebx, dword [esp + 0x2c]
call fcn.00411640
call fcn.00454183
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414c8d
push 0x80004005
call fcn.00406520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push 0x1f40
mov dword [esp + 0x28], 0
call fcn.0045bffd
test eax, eax
je 0x414cc2
push 0x1f40
push eax
lea ecx, [esp + 0x34]
call fcn.00405e60
mov esi, dword [esp + 0x2c]
push 0x30
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push esi
call fcn.00405c40
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00433d70
add esp, 8
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41532d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x41532d
xor ebx, ebx
test eax, eax
jle 0x414dad
mov ebp, 0x4b2dd4
mov edi, dword [ebp]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x414c83
mov eax, dword [0x4b299c]
mov ecx, edi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414d66
test dx, dx
je 0x414d62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414d66
add eax, 4
add ecx, 4
test dx, dx
jne 0x414d40
xor eax, eax
jmp 0x414d6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x414d9c
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00405c40
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044a380
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x414dfe
mov eax, dword [0x4b2dc8]
inc ebx
add ebp, 0x10
cmp ebx, eax
jl 0x414d21
mov dword [esp + 0x14], 0
test eax, eax
jle 0x4151ee
mov ebp, 0x4b2dd4
mov esi, dword [ebp]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [esp + 0x1c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x414f8e
cmp eax, dword [esi]
jne 0x414f8e
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x414fc5
mov dword [0x4b1e00], ebx
shl ebx, 4
mov esi, ebx
lea eax, [esi + 0x4b2dd4]
push eax
mov ecx, 0x4b2e24
call fcn.00405ba0
lea ecx, [esi + 0x4b2dcc]
push ecx
mov ecx, 0x4b2e1c
call fcn.00405ba0
lea edx, [esi + 0x4b2dd0]
push edx
mov ecx, 0x4b2e20
call fcn.00405ba0
lea eax, [esi + 0x4b2dd8]
push eax
mov ecx, 0x4b2e28
call fcn.00405ba0
lea edi, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0044b1f0
mov esi, dword [esp + 0x18]
and esi, 0x80000001
jns 0x414e6f
dec esi
or esi, 0xfffffffe
inc esi
mov dword [0x4b1da8], esi
call fcn.0044c1e0
push 0x4b1dd4
call fcn.0044bc80
mov eax, 1
add esp, 4
mov ebx, 8
cmp dword [0x4b2a00], eax
jne 0x4152a7
cmp dword [0x4b1de0], eax
jne 0x4152a7
push 0x4b2a04
mov ecx, 0x4b509c
call fcn.00405ba0
mov ecx, dword [0x4b2a0c]
mov eax, dword [0x4b2a08]
mov dword [0x4b50a4], ecx
push 0x4b2a10
mov ecx, 0x4b50a8
mov dword [0x4b50a0], eax
call fcn.00405ba0
mov edx, dword [0x4b2a14]
mov eax, dword [0x4b2a18]
push 0x4b50a8
mov ecx, 0x4b50a8
mov dword [0x4b50ac], edx
mov dword [0x4b50b0], eax
call fcn.00435210
add esp, 4
push 0x4b50a8
mov ecx, 0x4b50a8
call fcn.004348f0
add esp, 4
push 0x4b50a8
mov ecx, 0x4b50a8
call fcn.004352f0
mov edi, dword [esp + 0x30]
add esp, 4
push 0xcc
mov ecx, edi
call fcn.0045a999
mov ecx, dword [eax + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1437
push ecx
call esi
cmp dword [0x4b1e10], ebx
jne 0x414f71
push 0x83
mov ecx, edi
call fcn.0045a999
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x1430
push edx
call esi
push 0xcc
mov ecx, edi
call fcn.0045a999
mov eax, dword [eax + 0x20]
push 0
push 0
push 6
push eax
call esi
jmp 0x415306
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x414ff7
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00470607
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.0044a380
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x414ffc
mov eax, dword [esp + 0x14]
inc eax
add ebp, 0x10
cmp eax, dword [0x4b2dc8]
mov dword [esp + 0x14], eax
jl 0x414dc2
jmp 0x4151ee
call fcn.00406450
mov edi, dword [esp + 0x14]
mov esi, dword [0x4b2e24]
mov dword [0x4b1e00], edi
shl edi, 4
mov ecx, dword [edi + 0x4b2dd4]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41506a
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x41505b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41505b
push eax
call fcn.00405c40
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x415050
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b2e24], ebx
jmp 0x41506a
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b2e24
call fcn.00406010
mov ecx, dword [edi + 0x4b2dcc]
mov esi, dword [0x4b2e1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4150cb
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x4150bc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4150bc
push eax
call fcn.00405c40
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4150b1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b2e1c], ebx
jmp 0x4150cb
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b2e1c
call fcn.00406010
mov ecx, dword [edi + 0x4b2dd0]
mov esi, dword [0x4b2e20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41512c
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x41511d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41511d
push eax
call fcn.00405c40
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x415112
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b2e20], ebx
jmp 0x41512c
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b2e20
call fcn.00406010
mov ecx, dword [edi + 0x4b2dd8]
mov esi, dword [0x4b2e28]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41518d
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x41517e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41517e
push eax
call fcn.00405c40
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x415173
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b2e28], ebx
jmp 0x41518d
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b2e28
call fcn.00406010
mov edi, dword [edi + 0x4b2dd4]
mov esi, dword [0x4b299c]
lea eax, [edi - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4151ee
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x4151df
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x4151df
push eax
call fcn.00405c40
add esp, 4
mov edi, eax
or edx, 0xffffffff
lock xadd dword [ebp], edx
dec edx
test edx, edx
jg 0x4151d4
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0x10
mov dword [0x4b299c], edi
jmp 0x4151ee
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, 0x4b299c
call fcn.00406010
mov eax, dword [0x4b2dc8]
cmp dword [esp + 0x14], eax
jne 0x414e4d
cmp dword [esp + 0x18], 0
jne 0x414e4d
call fcn.00454183
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415222
push 0x80004005
call fcn.00406520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push 0x1f41
mov dword [esp + 0x28], 1
call fcn.0045bffd
test eax, eax
je 0x415257
push 0x1f41
push eax
lea ecx, [esp + 0x34]
call fcn.00405e60
mov esi, dword [esp + 0x2c]
push 0x30
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push esi
call fcn.00405c40
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00433d70
add esp, 8
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41532d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x41532d
mov dword [0x4b2a00], 0
call fcn.0044dd40
mov ecx, dword [0x4b298c]
push ecx
call fcn.0044ad10
mov ecx, dword [esp + 0x30]
add esp, 4
push 0x83
call fcn.0045a999
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x1432
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0044abc0
cmp dword [0x4b1df8], 0
je 0x41532d
call fcn.0044a9a0
cmp dword [0x4b1dfc], 0
je 0x41532d
mov edi, dword [esp + 0x2c]
cmp dword [0x4b1e10], ebx
jne 0x41531b
xor eax, eax
cmp dword [0x4b2a00], eax
setne al
jmp 0x415327
mov eax, dword [0x4b2a00]
neg eax
sbb eax, eax
and eax, 2
mov dword [edi + 0x4b8], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4