Function at 0x414de0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x490650
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
push ebp
push ebp
push 0x4445d0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4b3dd0
call fcn.0044b120
mov dword [esp + 0x1c], eax
mov eax, dword [0x4b3dd0]
add esp, 4
cmp eax, ebp
jg 0x414ee8
cmp dword [0x4b2db0], ebp
jne 0x415534
mov eax, dword [esp + 0x2c]
push eax
call fcn.00411760
call fcn.00455695
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414e67
push 0x80004005
call fcn.00406550
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], ebp
call fcn.0045d52e
cmp eax, ebp
je 0x414e98
push 0x1f40
push eax
lea ecx, [esp + 0x34]
call fcn.00405e80
mov esi, dword [esp + 0x2c]
push 0x30
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push esi
call fcn.00405c60
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004345b0
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 0x415534
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x415534
xor ebx, ebx
cmp eax, ebp
jle 0x414f8f
mov dword [esp + 0x14], 0x4b3ddc
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
xor eax, eax
cmp edi, ebp
setne al
cmp eax, ebp
je 0x414e5d
mov eax, dword [0x4b39a4]
mov ecx, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414f46
cmp dx, bp
je 0x414f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414f46
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x414f20
xor eax, eax
jmp 0x414f4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
je 0x414f7c
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00405c60
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044b820
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
je 0x414fdc
mov eax, dword [0x4b3dd0]
add dword [esp + 0x14], 0x10
inc ebx
cmp ebx, eax
jl 0x414f00
cmp eax, ebp
mov dword [esp + 0x14], ebp
jle 0x4153e4
mov ebp, 0x4b3ddc
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 0x415184
cmp eax, dword [esi]
jne 0x415184
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4151bb
mov dword [0x4b2e04], ebx
shl ebx, 4
mov esi, ebx
lea ecx, [esi + 0x4b3ddc]
push ecx
mov ecx, 0x4b3e2c
call fcn.00405bc0
lea edx, [esi + 0x4b3dd4]
push edx
mov ecx, 0x4b3e24
call fcn.00405bc0
lea eax, [esi + 0x4b3dd8]
push eax
mov ecx, 0x4b3e28
call fcn.00405bc0
lea ecx, [esi + 0x4b3de0]
push ecx
mov ecx, 0x4b3e30
call fcn.00405bc0
xor ebx, ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0044c690
mov esi, dword [esp + 0x18]
and esi, 0x80000001
jns 0x41504b
dec esi
or esi, 0xfffffffe
inc esi
mov dword [0x4b2da8], esi
call fcn.0044d6c0
push 0x4b2dd4
call fcn.0044d120
mov eax, 1
add esp, 4
cmp dword [0x4b3a08], eax
jne 0x4154a9
cmp dword [0x4b2de0], eax
jne 0x4154a9
push 0x4b3a0c
mov ecx, 0x4b60a4
call fcn.00405bc0
mov ecx, dword [0x4b3a10]
mov edx, dword [0x4b3a14]
mov dword [0x4b60a8], ecx
push 0x4b3a18
mov ecx, 0x4b60b0
mov dword [0x4b60ac], edx
call fcn.00405bc0
mov ecx, dword [0x4b3a20]
mov eax, dword [0x4b3a1c]
mov dword [0x4b60b8], ecx
push 0x4b60b0
mov ecx, 0x4b60b0
mov dword [0x4b60b4], eax
call fcn.00435fd0
add esp, 4
push 0x4b60b0
mov ecx, 0x4b60b0
call fcn.00435660
add esp, 4
push 0x4b60b0
mov ecx, 0x4b60b0
call fcn.004360b0
mov edi, dword [esp + 0x30]
add esp, 4
push 0xcc
mov ecx, edi
call fcn.0045bed4
mov edx, dword [eax + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1437
push edx
call esi
cmp dword [0x4b2e14], 8
jne 0x415147
push 0x83
mov ecx, edi
call fcn.0045bed4
mov eax, dword [eax + 0x20]
push ebx
push ebx
push 0x1430
push eax
call esi
cmp dword [0x4b2e14], 9
jne 0x415169
push 0x83
mov ecx, edi
call fcn.0045bed4
mov ecx, dword [eax + 0x20]
push ebx
push ebx
push 0x1430
push ecx
call esi
push 0xcc
mov ecx, edi
call fcn.0045bed4
mov edx, dword [eax + 0x20]
push ebx
push ebx
push 6
push edx
call esi
jmp 0x4154fd
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 0x4151ed
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.00471b37
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.0044b820
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4151f2
mov eax, dword [esp + 0x14]
inc eax
add ebp, 0x10
cmp eax, dword [0x4b3dd0]
mov dword [esp + 0x14], eax
jl 0x414fa0
jmp 0x4153e4
call fcn.00406480
mov edi, dword [esp + 0x14]
mov esi, dword [0x4b3e2c]
mov dword [0x4b2e04], edi
shl edi, 4
mov ecx, dword [edi + 0x4b3ddc]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x415260
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x415251
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x415251
push eax
call fcn.00405c60
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x415246
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b3e2c], ebx
jmp 0x415260
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b3e2c
call fcn.00406030
mov ecx, dword [edi + 0x4b3dd4]
mov esi, dword [0x4b3e24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4152c1
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x4152b2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4152b2
push eax
call fcn.00405c60
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4152a7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b3e24], ebx
jmp 0x4152c1
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b3e24
call fcn.00406030
mov ecx, dword [edi + 0x4b3dd8]
mov esi, dword [0x4b3e28]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x415322
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x415313
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x415313
push eax
call fcn.00405c60
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x415308
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b3e28], ebx
jmp 0x415322
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b3e28
call fcn.00406030
mov ecx, dword [edi + 0x4b3de0]
mov esi, dword [0x4b3e30]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x415383
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x415374
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x415374
push eax
call fcn.00405c60
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x415369
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [0x4b3e30], ebx
jmp 0x415383
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4b3e30
call fcn.00406030
mov edi, dword [edi + 0x4b3ddc]
mov esi, dword [0x4b39a4]
lea eax, [edi - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4153e4
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x4153d5
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x4153d5
push eax
call fcn.00405c60
add esp, 4
mov edi, eax
or edx, 0xffffffff
lock xadd dword [ebp], edx
dec edx
test edx, edx
jg 0x4153ca
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0x10
mov dword [0x4b39a4], edi
jmp 0x4153e4
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, 0x4b39a4
call fcn.00406030
mov eax, dword [0x4b3dd0]
cmp dword [esp + 0x14], eax
jne 0x41502b
cmp dword [esp + 0x18], 0
jne 0x41502b
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415418
push 0x80004005
call fcn.00406550
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
push 0x1f41
mov dword [esp + 0x28], 1
call fcn.0045d52e
test eax, eax
je 0x415451
push 0x1f41
push eax
lea ecx, [esp + 0x34]
call fcn.00405e80
mov esi, dword [esp + 0x2c]
cmp dword [0x4b2db0], 0
jne 0x41547c
push 0x30
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00405c60
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004345b0
add esp, 8
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415534
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x415534
mov dword [0x4b3a08], ebx
call fcn.0044f220
mov eax, dword [0x4b3994]
push eax
call fcn.0044c1b0
mov edi, dword [esp + 0x30]
add esp, 4
push 0x83
mov ecx, edi
call fcn.0045bed4
mov ecx, dword [eax + 0x20]
push ebx
push ebx
push 0x1432
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0044c060
cmp dword [0x4b2dfc], ebx
je 0x415534
call fcn.0044be40
cmp dword [0x4b2e00], ebx
je 0x415534
mov eax, dword [0x4b2e14]
cmp eax, 8
jne 0x415514
xor eax, eax
cmp dword [0x4b3a08], ebx
setne al
jmp 0x41552e
cmp eax, 9
mov eax, dword [0x4b3a08]
jne 0x415527
neg eax
sbb eax, eax
and eax, 2
jmp 0x41552e
neg eax
sbb eax, eax
and eax, 3
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