Function at 0x451e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5f05
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edi
call fcn.00477060
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
add esp, 4
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], ecx
test eax, eax
je 0x451ef1
mov ecx, eax
call fcn.004754b0
mov esi, eax
mov dword [ebp - 0xc0], esi
jmp 0x451f19
push 0
push 0
push 0x101f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1200
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0xc0], eax
cmp byte [ebp + 0x10], 0
je 0x451f3d
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc8], 2
test eax, eax
jns 0x451f47
mov dword [ebp - 0xc8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 1
push 0x800
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x94], 0x400
call fcn.004a7559
mov dword [ebp - 0x98], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7559
add esp, 8
mov dword [ebp - 0xd0], eax
push eax
push esi
push 0x103b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebp + 0x10], 0
push 0
push 0
je 0x451fd8
push 0x1032
jmp 0x451fdd
push 0x1004
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc4], eax
imul eax, esi
mov dword [ebp - 0xb8], edx
lea esi, [eax + eax*4]
shl esi, 2
cmp edx, esi
jae 0x452109
mov eax, dword [ebp - 0x1c]
mov ecx, esi
sub ecx, eax
mov dword [ebp - 0xb4], eax
mov eax, bind
sub eax, dword [ebp - 0xb4]
cmp eax, ecx
jb 0x4525e3
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x452038
mov ecx, bind
jmp 0x452065
mov eax, edx
shr eax, 1
mov dword [ebp - 0xb0], eax
mov eax, bind
sub eax, dword [ebp - 0xb0]
cmp edx, eax
jbe 0x452058
mov ecx, bind
jmp 0x452065
mov eax, dword [ebp - 0xb0]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00450bb0
mov ecx, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0xb0]
add esp, 8
cmp dword [ebp - 0xb8], 7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x30], ecx
lea eax, [eax*2 + 2]
push eax
jbe 0x4520ed
mov esi, dword [ebp - 0x2c]
push esi
push ecx
call fcn.004aaaa0
mov eax, dword [ebp - 0xb8]
add esp, 0xc
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x4520de
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4525e8
mov esi, edx
push ecx
push esi
lfence
call fcn.004a71e8
add esp, 8
jmp 0x4520fa
lea eax, [ebp - 0x2c]
push eax
push ecx
call fcn.004aaaa0
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x1c], eax
push 0x30
lea eax, [ebp - 0x60]
mov dword [ebp - 0xb0], 0
push 0
push eax
mov byte [ebp - 0x11], 0
call fcn.004aa220
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push 0x4e454c
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x58], xmm0
call fcn.004a27e0
push eax
push 0x4e454c
call fcn.004a29e0
add esp, 0x18
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov esi, dword [ebp - 0xc4]
mov byte [ebp - 4], 1
cmp esi, 0x3e8
jle 0x45224c
push 0x4ec9f4
lea ecx, [ebp - 0x50]
call fcn.004a2300
lea eax, [ebp - 0x11]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount64]
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
je 0x45224c
lfence
test edi, edi
je 0x4521d7
lea eax, [ebp - 0x70]
push eax
push edi
lfence
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x70]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x6c]
jmp 0x4521ef
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 0x44], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
push 2
sar eax, 1
push edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x452230
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x452230
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x452210
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
push 0x419a50
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0xc8]
push 0xffffffffffffffff
push 0x100c
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
js 0x4524d7
lfence
xor esi, esi
mov dword [ebp - 0xb4], esi
cmp dword [ebp - 0xc0], esi
jbe 0x45241a
lfence
nop word [eax + eax]
mov eax, dword [ebp - 0x98]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], edi
mov eax, dword [eax + esi*4]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xac]
push eax
push edi
push 0x1073
push dword [ebp - 0xcc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x94]
lea ecx, [edx - 1]
cmp eax, ecx
jne 0x452343
mov esi, dword [ebp - 0xcc]
nop dword [eax]
push dword [ebp - 0x98]
add edx, 0x400
mov dword [ebp - 0x94], edx
call fcn.004a71f6
mov eax, dword [ebp - 0x94]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7559
add esp, 8
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xac]
push eax
push edi
push 0x1073
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x94]
lea ecx, [edx - 1]
cmp eax, ecx
je 0x4522e0
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x452389
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 1
jb 0x45236f
lea eax, [ecx + 1]
cmp edx, 7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov dword [eax + ecx*2], 9
jmp 0x452389
push 1
push 0x4ec980
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x2c]
push 1
lfence
call fcn.004094b0
mov edx, dword [ebp - 0x98]
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x452394
mov eax, dword [ebp - 0x18]
sub esi, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar esi, 1
mov dword [ebp - 0xb8], ecx
cmp esi, eax
ja 0x4523ed
cmp dword [ebp - 0x18], 7
lea eax, [ecx + esi]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x2c]
cmova edi, dword [ebp - 0x2c]
lea eax, [esi + esi]
push eax
push edx
lfence
lea ecx, [edi + ecx*2]
push ecx
call fcn.004aaaa0
mov eax, dword [ebp - 0xb8]
add esp, 0xc
add eax, esi
xor ecx, ecx
mov word [edi + eax*2], cx
mov edi, dword [ebp - 0x30]
jmp 0x452401
push esi
push edx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x2c]
push esi
lfence
call fcn.004094b0
mov esi, dword [ebp - 0xb4]
inc esi
mov dword [ebp - 0xb4], esi
cmp esi, dword [ebp - 0xc0]
jb 0x452290
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 2
jb 0x452449
lea eax, [ecx + 2]
cmp edx, 7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [eax + ecx*2], 0xa000d
mov word [eax + ecx*2 + 4], dx
jmp 0x452463
push 2
push 0x4e70e4
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x2c]
push 2
lfence
call fcn.004094b0
cmp byte [ebp - 0x11], 0
jne 0x4524c0
mov esi, dword [ebp - 0xc4]
cmp esi, 0x3e8
jle 0x452481
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0x5c], eax
push dword [ebp - 0xc8]
push edi
push 0x100c
push dword [ebp - 0xcc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xb0]
mov edi, eax
cmp esi, 0x3e8
mov dword [ebp - 0x30], edi
lea eax, [ecx + 1]
cmovle eax, ecx
mov dword [ebp - 0xb0], eax
test edi, edi
jns 0x452270
jmp 0x4524d7
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmova eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x98]
call fcn.004a71f6
cmp dword [ebp - 0x18], 7
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
cmova edx, dword [ebp - 0x2c]
neg eax
sbb eax, eax
and eax, 2
push eax
push 0x4e454c
lea eax, [ecx + ecx]
push eax
push edx
call fcn.004a2980
mov edi, dword [ebp - 0xbc]
add esp, 0x14
cmp dword [ebp - 0x60], 0
mov dword [edi], eax
je 0x452580
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x452530
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x452521
push 0
push 1
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x452580
nop dword [eax + eax]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x452580
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x452560
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x452590
call fcn.004a2a20
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4525c6
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4525bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4525e8
push ecx
push edx
call fcn.004a71e8
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
call fcn.0040dbe0
call fcn.004aeb2f
int3