joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4362c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f4f1a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor ebx, ebx
push 8
mov dword [esp + 0x6c], ebx
call fcn.004c958c
add esp, 4
cmp eax, ebx
je 0x436475
mov dword [esp + 0x68], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x68]
mov dword [ecx], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov edx, eax
mov eax, dword [esp + 0x94]
push edx
push eax
mov dword [esp + 0x90], 1
call fcn.004359c0
xor edi, edi
cmp dword [esp + 0x78], ebx
jbe 0x436430
mov ecx, dword [esp + 0x90]
add ecx, 0x50
mov dword [esp + 0x94], ecx
jmp 0x436365
xor ebx, ebx
push edi
lea eax, [esp + 0x24]
lea ecx, [esp + 0x6c]
call fcn.004366d0
mov esi, eax
lea eax, [esp + 0x30]
call fcn.00436cb0
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x436388
xor ecx, ecx
jmp 0x43638a
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x436396
sub eax, edx
mov edx, dword [ecx + 4]
mov ebp, dword [edx + eax*4]
push edi
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x6c]
call fcn.004366d0
mov esi, eax
lea eax, [esp + 0x48]
call fcn.00436cb0
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4363bf
xor ecx, ecx
jmp 0x4363c1
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x4363cd
sub eax, edx
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx + eax*4]
push edi
lea eax, [esp + 0x54]
lea ecx, [esp + 0x6c]
call fcn.004366d0
mov esi, eax
lea eax, [esp + 0x60]
call fcn.00436cb0
mov ecx, dword [eax]
test ecx, ecx
je 0x4363f4
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x436400
sub eax, edx
mov esi, dword [ebp + 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
push 1
push 1
push 0
push esi
push 0
add ebx, 0x1c
push ebx
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [esp + 0x78]
jb 0x436363
lea edi, [esp + 0x68]
mov dword [esp + 0x88], 2
call fcn.00436ba0
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004c9387
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea esi, [esp + 0x18]
mov dword [esp + 0x88], ebx
call fcn.00406640
int3
Function at 0x43c5c0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f0f90
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x418], eax
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x43c]
mov ebp, dword [esp + 0x440]
mov esi, 8
mov dword [esp + 0x10], 0
cmp dword [eax + 0x14], esi
jb 0x43c61c
mov eax, dword [eax]
push 0x5089f4
push eax
call fcn.004cccdb
mov edi, eax
add esp, 8
test edi, edi
je 0x43c659
cmp dword [ebp + 0x14], esi
jb 0x43c63a
mov eax, dword [ebp]
jmp 0x43c63c
mov eax, ebp
push 0x509664
push eax
call fcn.004cccdb
mov esi, eax
add esp, 8
test esi, esi
jne 0x43c660
push edi
call fcn.004cafc8
add esp, 4
xor al, al
jmp 0x43c71e
mov eax, 0x10
lea edx, [esp + 0x18]
lea ecx, [eax - 0xf]
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x1c], 0x520002
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call fcn.00448970
push esi
push 1
lea edx, [esp + 0x1c]
push 0x14
push edx
mov dword [esp + 0x24], eax
call fcn.004cd2b7
add esp, 0x10
push edi
test eax, eax
jne 0x43c6ce
call fcn.004cafc8
push esi
call fcn.004cafc8
add esp, 8
cmp dword [ebp + 0x14], 8
jb 0x43c6c3
mov ebp, dword [ebp]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x43c71e
push 0x400
lea eax, [esp + 0x30]
push 1
push eax
call fcn.004cd135
add esp, 0x10
test eax, eax
je 0x43c70d
push esi
push eax
lea ecx, [esp + 0x30]
push 1
push ecx
call fcn.004cd2b7
push edi
push 0x400
lea edx, [esp + 0x40]
push 1
push edx
call fcn.004cd135
add esp, 0x20
test eax, eax
jne 0x43c6e6
push edi
call fcn.004cafc8
push esi
call fcn.004cafc8
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004c9392
add esp, 0x428
ret
Function at 0x44b6c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f29f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044b8e0
test al, al
jne 0x44b720
lea eax, [esp + 0x14]
push eax
call fcn.0044b9b0
add esp, 4
xor edi, edi
test al, al
je 0x44b72a
cmp dword [esp + 0x14], edi
jne 0x44b72a
mov eax, 1
jmp 0x44b8b5
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edi
mov word [esp + 0x38], cx
mov dword [esp + 0x64], edi
mov dword [esp + 0x2c], eax
xor edx, edx
push 0x29
mov eax, str.SoftwareMicrosoftInternet_ExplorerMain
lea esi, [esp + 0x1c]
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], dx
call fcn.00404e70
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x44b778
lea eax, [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
push 0xf013f
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x44b79b
mov dword [esp + 0x34], edi
xor al, al
jmp 0x44b79d
mov al, 1
test al, al
sete bl
cmp dword [esp + 0x2c], esi
jb 0x44b7b5
mov edx, dword [esp + 0x18]
push edx
call fcn.004c9387
add esp, 4
test bl, bl
je 0x44b7f1
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x44b7d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], edi
cmp dword [esp + 0x4c], esi
jb 0x44b7e7
mov eax, dword [esp + 0x38]
push eax
call fcn.004c9387
add esp, 4
mov eax, 0x80004005
jmp 0x44b8b5
xor ecx, ecx
push 0xa
mov eax, str.Start_Page
lea esi, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], cx
call fcn.00404e70
mov edx, dword [ebp + 0x10]
mov esi, 8
cmp dword [ebp + 0x14], esi
jb 0x44b826
mov eax, dword [ebp]
jmp 0x44b828
mov eax, ebp
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x44b836
lea ecx, [esp + 0x18]
add edx, edx
push edx
push eax
mov eax, dword [esp + 0x3c]
push 1
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [esp + 0x2c], esi
jb 0x44b861
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c9387
add esp, 4
xor eax, eax
xor edx, edx
test bl, bl
setne al
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], dx
lea esi, [eax - 1]
mov eax, dword [esp + 0x34]
and esi, 0x80004005
cmp eax, edi
je 0x44b89f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], edi
cmp dword [esp + 0x4c], 8
jb 0x44b8b3
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004c9387
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004c9392
add esp, 0x54
ret
Function at 0x44f7e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ec438
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 1
jb 0x44f822
mov eax, dword [esi]
jmp 0x44f824
mov eax, esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push ecx
call ebp
test eax, eax
jne 0x44f8ae
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44f8ae
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c83da
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], 0
cmp dword [esi + 0x14], 8
jb 0x44f882
mov esi, dword [esi]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx]
push edi
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
push eax
call ebp
test eax, eax
je 0x44f8c5
push edi
mov dword [esp + 0x28], 0xffffffff
call fcn.004c9b0b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 8
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov eax, edi
mov word [edi + edx*2 - 2], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f8d5
mov esi, dword [esp + 0x30]
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.00404e70
push edi
mov dword [esp + 0x28], 0xffffffff
call fcn.004c9b0b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 8

Function at 0x44f920
Capabilities:
Set registry value

Disassembly:
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x44f92b
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x44f933
mov ecx, dword [ecx]
add edx, edx
push edx
push eax
mov eax, dword [esp + 0xc]
push 1
push 0
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 4
Function at 0x44f960
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ec400
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov esi, ecx
cmp dword [esi + 0x14], 8
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 7
jb 0x44f9b1
mov eax, dword [esi]
jmp 0x44f9b3
mov eax, esi
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44fa49
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44fa49
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c83da
mov edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
push ecx
push 0
push edi
call fcn.004cf830
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x44fa1c
mov esi, dword [esi]
mov ecx, dword [ebp]
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x20]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44fa50
push edi
mov dword [esp + 0x48], 0xffffffff
call fcn.004c9b0b
add esp, 4
xor al, al
jmp 0x44fb22
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov ebp, edi
cmp eax, ecx
je 0x44fa7a
mov edx, dword [esp + 0x14]
push edx
push ecx
call fcn.00417990
mov edi, dword [ebx + 4]
add esp, 8
mov esi, eax
call fcn.00417150
mov edi, dword [esp + 0x14]
mov dword [ebx + 4], esi
cmp word [edi], 0
je 0x44fb0f
xor eax, eax
mov word [esp + 0x1c], ax
mov eax, ebp
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44faa0
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x20]
call fcn.00404e70
mov ecx, esi
mov edi, ebx
mov byte [esp + 0x44], 1
call fcn.00416b10
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x44], 0
cmp dword [esp + 0x30], 8
lea ebp, [ebp + ecx*2 + 2]
jb 0x44faea
mov edx, dword [esp + 0x1c]
push edx
call fcn.004c9387
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp word [ebp], ax
jne 0x44fa84
mov edi, dword [esp + 0x14]
push edi
mov dword [esp + 0x48], 0xffffffff
call fcn.004c9b0b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004c9392
add esp, 0x38
ret 4
Function at 0x44fb50
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004cf830
mov eax, dword [esp + 0x220]
mov ecx, dword [edi]
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x44fbda
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44fba7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 8]
call fcn.00404e70
mov al, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004c9392
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor al, al
call fcn.004c9392
add esp, 0x20c
ret 4

Function at 0x450090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f2920
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0044fda0
mov eax, dword [esi + 0x50]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x28], ebx
mov edx, dword [eax]
push str.SendHpsFlag
push edx
mov dword [esp + 0x28], 4
call edi
cmp eax, ebx
jne 0x4501e6
mov ecx, 4
cmp dword [esp + 0x14], ecx
jne 0x4501e6
cmp dword [esp + 0x18], ebx
je 0x4501e6
mov eax, dword [esi + 0x50]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x20], ebx
mov edx, dword [eax]
push str.HpsFlag
push edx
call edi
cmp eax, ebx
jne 0x4501e6
cmp dword [esp + 0x1c], 4
jne 0x4501e6
mov eax, 0x50ad64
lea ecx, [esp + 0x3c]
call fcn.00404f90
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push 0x50ad6c
push ecx
call fcn.00455d40
add esp, 0xc
mov edi, eax
add esi, 4
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 1
call fcn.0044db90
mov esi, eax
call fcn.00416c90
mov esi, 8
mov byte [esp + 0x68], bl
cmp dword [esp + 0x34], esi
jb 0x4501b8
mov edx, dword [esp + 0x20]
push edx
call fcn.004c9387
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
cmp dword [esp + 0x50], esi
jb 0x4501e6
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004c9387
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret
Function at 0x450215
Capabilities:
Set registry value

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x45024a
call fcn.0045a400
mov ecx, esi
call fcn.00450ca0
mov ecx, dword [esi + 0x50]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
mov dword [esp + 0x18], 1
mov edx, dword [ecx]
push str.InstallSent
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 4
Function at 0x450ca0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f28a9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
xor esi, esi
push 0x80
mov edi, ecx
lea ecx, [esp + 0x42]
xor eax, eax
push esi
mov dword [esp + 0x1c], esi
push ecx
mov word [esp + 0x48], ax
call fcn.004cf830
mov ecx, SysReAllocString
add esp, 0xc
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x3c]
push edx
lea ebx, [esi + 0xd]
mov dword [esp + 0x2e4], esi
call fcn.0045aea0
or esi, 0xffffffff
mov bl, al
mov dword [esp + 0x2e4], esi
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x450d44
cmp eax, 0x80000001
je 0x450d44
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x450d54
cmp word [esp + 0x3c], 0
jne 0x450e00
lea eax, [esp + 0x18]
push eax
call fcn.00456ad0
lea ecx, [esp + 0x14]
push ecx
mov ebx, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2e4], ebx
call fcn.004571f0
mov byte [esp + 0x2e0], 2
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x450db0
cmp dword [eax - 4], ebx
jle 0x450da1
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004063d0
mov eax, dword [esp + 0x14]
push eax
push 0xd
call fcn.0045b0a0
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 0xfffffff0
mov byte [esp + 0x2e0], bl
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450dd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2e0], 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x450deb
push eax
call fcn.00416bf0
mov dword [esp + 0x2e0], esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x450e00
push eax
call fcn.00416bf0
mov ecx, dword [0x50adf0]
mov dx, word [0x50adf4]
push 0x202
lea eax, [esp + 0xce]
push 0
push eax
mov dword [esp + 0xd0], ecx
mov word [esp + 0xd4], dx
call fcn.004cf830
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc8]
push ecx
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
push 5
mov eax, str.brand
lea esi, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
call fcn.00404e70
add edi, 4
push edi
mov ecx, esi
mov dword [esp + 0x2e4], 4
call fcn.0044db90
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x450e96
mov eax, dword [eax]
lea ecx, [esp + 0xc4]
push ecx
push eax
call fcn.0045bf00
add esp, 8
mov dword [esp + 0x2e0], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x450ec5
mov edx, dword [esp + 0x20]
push edx
call fcn.004c9387
add esp, 4
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret
Function at 0x452c90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x452ca9
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x4c], 0
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0
push 0x485
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
ret

Function at 0x452ec0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x452edc
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x4c], 0
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0
push 0x485
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00452280
pop esi
ret
Function at 0x453300
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
cmp eax, 0x20
jne 0x4534b9
mov ebp, dword [esp + 0x20]
shr ebp, 0x10
mov eax, 0x201
cmp bp, ax
jne 0x4533b3
lea ecx, [esp + 0x10]
push ecx
mov edi, 1
call dword [sym.imp.USER32.dll_GetCursorPos]
test esi, esi
je 0x453340
lea eax, [esi - 0x24]
jmp 0x453342
xor eax, eax
mov eax, dword [eax + 4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
shl eax, 0x10
or eax, ecx
mov edx, eax
shr edx, 0x10
cwde
movsx ebx, dx
push eax
mov ecx, esi
call fcn.00454870
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x453380
xor edi, edi
lea eax, [edi + 1]
jmp 0x453393
push 1
mov dword [esi + 0x18], eax
mov ecx, dword [esi - 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov ebx, dword [esp + 0x24]
xor edx, edx
test eax, eax
sete dl
mov dword [ebx], edx
test edi, edi
je 0x4533b7
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ebx, dword [esp + 0x24]
mov eax, 0x202
cmp bp, ax
jne 0x453415
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.USER32.dll_GetCursorPos]
test esi, esi
je 0x4533dd
lea eax, [esi - 0x24]
jmp 0x4533df
xor eax, eax
mov eax, dword [eax + 4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [esp + 0x14]
movzx edx, word [esp + 0x10]
lea ecx, [esp + 0x24]
shl eax, 0x10
push ecx
or eax, edx
call fcn.00453e50
neg eax
sbb eax, eax
inc eax
cmp dword [esp + 0x24], 0
mov dword [ebx], eax
jne 0x4533a4
mov eax, 0x200
cmp bp, ax
jne 0x453478
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.USER32.dll_GetCursorPos]
test esi, esi
je 0x45343b
lea eax, [esi - 0x24]
jmp 0x45343d
xor eax, eax
mov eax, dword [eax + 4]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx edx, word [esp + 0x14]
movzx eax, word [esp + 0x10]
lea ecx, [esp + 0x24]
shl edx, 0x10
push ecx
or edx, eax
push edx
call fcn.00453d80
neg eax
sbb eax, eax
inc eax
cmp dword [esp + 0x24], 0
mov dword [ebx], eax
jne 0x4533a4
cmp dword [esi + 0x14], 0xffffffff
mov edi, 1
je 0x4534a0
test bp, bp
je 0x45349c
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, edi
jmp 0x4534a4
xor edi, edi
xor eax, eax
mov dword [ebx], eax
test edi, edi
je 0x4534f2
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp eax, 0x2a3
jne 0x4534f2
or eax, 0xffffffff
cmp dword [esi + 0x14], eax
je 0x4534d9
push 1
mov dword [esi + 0x14], eax
mov ecx, dword [esi - 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esp + 0x24]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc