Function at 0x40bd60
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0b00
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb8], eax
jne 0x40bdcb
cmp dword [ebp + 0x10], 0
jne 0x40bdcb
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
jmp 0x40cc4e
mov eax, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xf0], eax
call eax
cmp eax, dword [0x4bdd94]
mov edx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [sym.imp.USER32.dll_mouse_event]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xbc], eax
jne 0x40c405
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4bdda8]
add eax, 0x36
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0xc]
add eax, 0x168
mov dword [ebp - 0xac], eax
cmp ecx, dword [0x4bddb0]
jl 0x40c40b
cmp ecx, dword [0x4bddb8]
jg 0x40c40b
mov edi, dword [0x4bddac]
cmp edi, dword [0x4bddb4]
jl 0x40c40b
cmp edi, dword [0x4bddbc]
jg 0x40c40b
mov eax, ecx
sub eax, dword [0x4bddb0]
mov dword [ebp - 0x98], eax
cmp eax, dword [ebp - 0xac]
jl 0x40c40b
mov eax, dword [ebp - 0xac]
add eax, 0x14
cmp dword [ebp - 0x98], eax
jg 0x40c40b
sub edi, dword [0x4bddb4]
mov eax, dword [ebp - 0xb0]
cmp edi, eax
jl 0x40c40b
add eax, 0x14
cmp edi, eax
jg 0x40c40b
cmp dword [0x4bddc8], 0
jne 0x40c40b
cmp dword [0x4bddcc], 0
jne 0x40c40b
push 1
call edx
bt ax, 0xf
jae 0x40c405
push 0
push 0
push 0
push 0
push 4
call dword [ebp - 0xbc]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x150]
call fcn.00441520
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x28]
call fcn.00441520
mov edx, dword [esi + 8]
lea ecx, [ebp - 0x168]
call fcn.00441520
mov edx, dword [esi]
lea ecx, [ebp - 0xec]
call fcn.00441520
mov edx, dword [ebp - 0xd8]
mov edi, 0x202c
mov ecx, dword [ebp - 0xdc]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x40bf50
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xec]
cmova eax, dword [ebp - 0xec]
mov word [eax + ecx], di
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0xec]
jmp 0x40bf71
push 2
push 0x4b26b4
mov byte [ebp - 0x98], 0
lea ecx, [ebp - 0xec]
push dword [ebp - 0x98]
push 2
call fcn.004ae2c0
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x138]
movq qword [ebp - 0x128], xmm0
push eax
push dword [ebp - 0xb8]
call fcn.004ae4b0
mov edx, dword [ebp - 0x54]
mov eax, edx
mov ecx, dword [ebp - 0x58]
sub eax, ecx
cmp eax, 2
jb 0x40bfe2
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
mov word [eax + ecx], di
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x68]
jmp 0x40c000
push 2
push 0x4b26b4
mov byte [ebp - 0x98], 0
lea ecx, [ebp - 0x68]
push dword [ebp - 0x98]
push 2
call fcn.004ae2c0
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0xd4]
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x120]
movq qword [ebp - 0x110], xmm0
push eax
push dword [ebp - 0xb8]
call fcn.004ae4b0
mov edx, dword [ebp - 0xc0]
mov eax, edx
mov ecx, dword [ebp - 0xc4]
sub eax, ecx
cmp eax, 2
jb 0x40c086
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xd4]
cmova eax, dword [ebp - 0xd4]
mov word [eax + ecx], di
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0xd4]
jmp 0x40c0a7
push 2
push 0x4b26b4
mov byte [ebp - 0x98], 0
lea ecx, [ebp - 0xd4]
push dword [ebp - 0x98]
push 2
call fcn.004ae2c0
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x88]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x108]
movq qword [ebp - 0xf8], xmm0
push eax
push dword [ebp - 0xb8]
call fcn.004ae4b0
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x40c125
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c11b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x40c15f
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c155
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
cmp ecx, 0xf
jbe 0x40c1b4
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c1aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x40c1e8
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c1de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x40c234
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c22a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0xf
jbe 0x40c26e
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c264
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
cmp ecx, 0xf
jbe 0x40c2bf
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c2b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x40c2f5
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c2eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40c32b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c321
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c321
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x88]
cmova ecx, dword [ebp - 0x88]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c350
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x88]
cmp edx, 0xf
mov edi, eax
cmova ecx, dword [ebp - 0x88]
lea eax, [ecx + 1]
mov dword [ebp - 0x98], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c383
sub ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x88]
cmp edx, 0xf
cmova eax, dword [ebp - 0x88]
push eax
lea eax, [ecx + 1]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x40c405
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c3fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c3fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [0x4bdda8]
mov eax, dword [sym.imp.MSIMG32.dll_GradientFill]
xor edx, edx
mov dword [ebp - 0xac], eax
mov eax, dword [sym.imp.USER32.dll_keybd_event]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xb4], eax
nop dword [eax]
mov eax, dword [esi]
lea edi, [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0xc]
xor esi, esi
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x54], eax
mov eax, edi
sub eax, dword [ebp - 0x9c]
sar eax, 2
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
test eax, eax
je 0x40c4cf
cmp eax, 0x3fffffff
ja 0x40cc6b
push eax
lea ecx, [ebp - 0x5c]
call fcn.004ae8d0
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0xcc]
sub edi, eax
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [0x4bdda8]
add esp, 0xc
mov edx, dword [ebp - 0xb0]
sar edi, 2
lea eax, [esi + edi*4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
add eax, 0x36
movsx edi, dx
imul edx, edi, 0x2e
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
add eax, 0xac
add eax, edx
mov dword [ebp - 0x94], edx
cmp ecx, dword [0x4bddb0]
jl 0x40c549
cmp ecx, dword [0x4bddb8]
jg 0x40c549
mov edx, dword [0x4bddac]
cmp edx, dword [0x4bddb4]
jl 0x40c549
cmp edx, dword [0x4bddbc]
jg 0x40c549
sub ecx, dword [0x4bddb0]
cmp ecx, eax
jl 0x40c549
add eax, 0x29
cmp ecx, eax
jg 0x40c549
sub edx, dword [0x4bddb4]
mov eax, dword [ebp - 0x9c]
cmp edx, eax
jl 0x40c549
add eax, 0x14
mov dword [ebp - 0x9c], 1
cmp edx, eax
jle 0x40c553
mov dword [ebp - 0x9c], 0
call dword [ebp - 0xf0]
cmp eax, dword [0x4bdd94]
jne 0x40c652
cmp dword [ebp - 0x9c], 0
je 0x40c652
cmp dword [0x4bddc8], 0
jne 0x40c652
cmp dword [0x4bddcc], 0
jne 0x40c652
push 1
call dword [ebp - 0xa8]
bt ax, 0xf
jae 0x40c5b0
push 0
push 0
push 0
push 0
push 4
call dword [ebp - 0xbc]
inc dword [esi + edi*4]
jmp 0x40c5d2
push 2
call dword [ebp - 0xa8]
bt ax, 0xf
jae 0x40c5d2
push 0
push 0
push 0
push 0
push 0x10
call dword [ebp - 0xbc]
dec dword [esi + edi*4]
push 0x25
call dword [ebp - 0xa8]
bt ax, 0xf
jae 0x40c5f5
push 0
push 2
push 0
push 0x25
call dword [ebp - 0xb4]
add dword [esi + edi*4], 5
jmp 0x40c652
push 0x26
call dword [ebp - 0xa8]
bt ax, 0xf
jae 0x40c618
push 0
push 2
push 0
push 0x26
call dword [ebp - 0xb4]
add dword [esi + edi*4], 5
jmp 0x40c652
push 0x27
call dword [ebp - 0xa8]
bt ax, 0xf
jae 0x40c631
push 0
push 2
push 0
push 0x27
jmp 0x40c648
push 0x28
call dword [ebp - 0xa8]
bt ax, 0xf
jae 0x40c652
push 0
push 2
push 0
push 0x28
call dword [ebp - 0xb4]
add dword [esi + edi*4], 0xfffffffb
mov eax, dword [esi + edi*4]
cmp eax, 0xff
jl 0x40c665
mov dword [esi + edi*4], 0xff
jmp 0x40c670
test eax, eax
jg 0x40c670
mov dword [esi + edi*4], 0
mov edi, dword [esi + 4]
sub esp, 0x10
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0xa4]
mov dword [edi], eax
mov eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xa0]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x94]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, esp
push 0x14
push 0x29
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
mov eax, dword [ebp + 0x10]
add eax, 0x36
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xac
add eax, edi
push eax
call fcn.00407780
mov eax, dword [ebp + 0x10]
add edi, 0xad
add eax, 0x37
mov dword [ebp - 0x14], 0x1e00
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
add eax, edi
mov dword [ebp - 0x94], eax
xor eax, eax
mov word [ebp - 0x22], ax
cmp dword [ebp - 0x9c], eax
je 0x40c795
mov dword [ebp - 0x90], eax
mov eax, dword [0x4bdd8c]
cdq
and edx, 3
mov dword [ebp - 0x8c], 1
add eax, edx
sar eax, 2
movzx edi, al
mov eax, dword [0x4bdd88]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, al
mov eax, edi
shl eax, 8
or ecx, eax
mov eax, dword [0x4bdd84]
cdq
and edx, 3
shl ecx, 8
add eax, edx
mov edx, dword [ebp - 0xa0]
sar eax, 2
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x30], eax
add eax, 0x27
mov dword [ebp - 0x20], eax
lea eax, [edx + 0x12]
mov dword [ebp - 0x1c], eax
movzx eax, cl
shl ax, 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x90]
jmp 0x40c819
mov dword [ebp - 0x70], eax
mov eax, 0x66666667
imul dword [0x4bdd8c]
mov dword [ebp - 0x6c], 1
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edi, al
mov eax, 0x66666667
imul dword [0x4bdd88]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx ecx, al
mov eax, edi
shl eax, 8
or ecx, eax
mov eax, 0x66666667
imul dword [0x4bdd84]
shl ecx, 8
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0xa0]
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x30], eax
add eax, 0x27
mov dword [ebp - 0x20], eax
lea eax, [edx + 0x12]
mov dword [ebp - 0x1c], eax
movzx eax, cl
shl ax, 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
push 1
push 1
push eax
push 2
lea eax, [ebp - 0x30]
shl edi, 8
push eax
push dword [0x4bdda4]
and ecx, 0xff00
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x26], cx
mov word [ebp - 0x24], di
mov dword [ebp - 0x18], 0x1e001e00
call dword [ebp - 0xac]
test esi, esi
je 0x40c897
mov ecx, dword [ebp - 0x98]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40c878
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c31b
push ecx
push esi
call fcn.004af678
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa4]
inc edx
mov dword [ebp - 0xb0], edx
cmp dx, 3
jg 0x40c8bb
mov ecx, dword [0x4bdda8]
jmp 0x40c430
sub esp, 0x10
lea ecx, [ebp - 0x28]
mov eax, esp
mov dword [eax], 0x96
mov dword [eax + 4], 0x96
mov dword [eax + 8], 0x96
mov dword [eax + 0xc], 0xff
mov edx, dword [esi]
call fcn.00441520
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov edx, 0x4b26b8
push eax
call fcn.00441a10
mov eax, dword [ebp + 0x10]
add esp, 4
add eax, 0x3a
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xb1
push eax
call fcn.00407dc0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40c946
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c93c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c93c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
sub esp, 0x10
lea ecx, [ebp - 0x28]
mov eax, esp
mov dword [eax], 0x96
mov dword [eax + 4], 0x96
mov dword [eax + 8], 0x96
mov dword [eax + 0xc], 0xff
mov edx, dword [esi + 4]
call fcn.00441520
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov edx, 0x4b26bc
push eax
call fcn.00441a10
mov eax, dword [ebp + 0x10]
add esp, 4
add eax, 0x3a
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xdf
push eax
call fcn.00407dc0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40c9d2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c9c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c9c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
sub esp, 0x10
lea ecx, [ebp - 0x28]
mov eax, esp
mov dword [eax], 0x96
mov dword [eax + 4], 0x96
mov dword [eax + 8], 0x96
mov dword [eax + 0xc], 0xff
mov edx, dword [esi + 8]
call fcn.00441520
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov edx, 0x4b26c0
push eax
call fcn.00441a10
mov eax, dword [ebp + 0x10]
add esp, 4
add eax, 0x3a
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x10d
push eax
call fcn.00407dc0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40ca5e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ca54
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
sub esp, 0x10
lea ecx, [ebp - 0x28]
mov eax, esp
mov dword [eax], 0x96
mov dword [eax + 4], 0x96
mov dword [eax + 8], 0x96
mov dword [eax + 0xc], 0xff
mov edx, dword [esi + 0xc]
call fcn.00441520
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov edx, 0x4b26c4
push eax
call fcn.00441a10
mov eax, dword [ebp + 0x10]
add esp, 4
add eax, 0x3a
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x13b
push eax
call fcn.00407dc0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40caea
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cae0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40cae0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
sub esp, 0x10
mov eax, esp
push 0x14
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
mov eax, dword [ebp + 0x10]
add eax, 0x36
push 0x14
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x168
push eax
call fcn.00407780
movups xmm1, xmmword [esi]
mov eax, dword [ebp + 0x10]
add eax, 0x37
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
movaps xmm0, xmm1
xor eax, eax
psrldq xmm0, 8
mov word [ebp - 0x42], ax
add edi, 0x169
mov word [ebp - 0x32], ax
mov dword [ebp - 0x70], eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
mov dword [ebp - 0x6c], 1
movzx ecx, al
shl ecx, 8
movd eax, xmm0
mov dword [ebp - 0x50], edi
movzx eax, al
or ecx, eax
movd eax, xmm1
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, dword [esi + 8]
cdq
and edx, 3
mov dword [ebp - 0xa0], ecx
add eax, edx
sar eax, 2
movzx esi, al
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, al
mov eax, esi
shl eax, 8
or ecx, eax
mov eax, dword [ebp - 0xa4]
shl ecx, 8
mov eax, dword [eax]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp - 0x94]
sar eax, 2
movzx eax, al
or ecx, eax
mov dword [ebp - 0x4c], edx
lea eax, [edi + 0x12]
mov dword [ebp - 0x40], eax
lea eax, [edx + 0x12]
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x3c], eax
movzx eax, dl
shl ax, 8
mov word [ebp - 0x48], ax
mov eax, edx
and eax, 0xff00
shr edx, 0x10
mov word [ebp - 0x46], ax
movzx eax, cl
and ecx, 0xff00
push 1
shl ax, 8
push 1
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x70]
push eax
push 2
lea eax, [ebp - 0x50]
shl edx, 8
push eax
push dword [0x4bdda4]
shl esi, 8
mov word [ebp - 0x44], dx
mov word [ebp - 0x36], cx
mov word [ebp - 0x34], si
call dword [ebp - 0xac]
mov eax, dword [ebp - 0xa4]
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0xb8]
movups xmmword [eax], xmm0
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.004af21a
mov esp, ebp
pop ebp
ret 0x14
call fcn.004ae7a0
int3