joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f7d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.00468684
mov edi, eax
add esp, 8
test edi, edi
je 0x43f816
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
mov esi, eax
call fcn.00467ec7
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x43f9b0
Capabilities:
Delete directory

Disassembly:
mov eax, dword [0x4a8cd0]
test eax, eax
je 0x43f9e5
cmp dword [0x4a8d04], 0
je 0x43f9ce
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4a8cd0]
test eax, eax
je 0x43f9e5
push eax
call fcn.00467ec7
add esp, 4
mov dword [0x4a8cd0], 0
mov eax, dword [0x4a8b84]
test eax, eax
je 0x43fa01
push eax
call fcn.00467ec7
add esp, 4
mov dword [0x4a8b84], 0
mov eax, dword [0x4a8d10]
test eax, eax
je 0x43fa11
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4a8d14]
test eax, eax
je 0x43fa21
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
ret
Function at 0x445b90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, edx
push edi
movzx eax, word [esi]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
mov edi, ecx
push eax
push edi
call ebx
test eax, eax
jne 0x445bc5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x445c0f
sub eax, 2
jne 0x445bbc
mov eax, dword [esi]
sub eax, 0
je 0x445beb
sub eax, 2
je 0x445be4
xorps xmm0, xmm0
jmp 0x445bf4
movsd xmm0, qword [esi + 8]
jmp 0x445bf4
movd xmm0, dword [esi + 8]
cvtdq2pd xmm0, xmm0
push 0
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
movsd qword [ebp - 0x18], xmm0
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
sub eax, 0
je 0x445c26
sub eax, 2
je 0x445c1f
xor eax, eax
jmp 0x445c29
cvttsd2si eax, qword [esi + 8]
jmp 0x445c29
mov eax, dword [esi + 8]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4478e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push edi
push 0
push eax
push 2
lea eax, [ebp - 4]
mov edi, ecx
push eax
push edi
mov esi, edx
call ebx
test eax, eax
je 0x447976
cmp dword [ebp - 8], 2
jb 0x447976
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x44794b
dec eax
je 0x447976
dec eax
jne 0x447976
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x447976
cmp dword [ebp - 8], 8
jb 0x447976
movsd xmm0, qword [ebp - 0x18]
movsd qword [esi + 8], xmm0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
test eax, eax
je 0x447976
cmp dword [ebp - 8], 4
jb 0x447976
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a0f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
lea eax, [ebp - 4]
push eax
push edx
mov dword [ebp - 0xc], ecx
call dword [0x4a8cac]
mov edi, eax
cmp edi, 0xffffffff
je 0x44a162
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44a162
push ebx
call fcn.00467e35
mov esi, eax
add esp, 4
test esi, esi
je 0x44a15b
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jne 0x44a152
mov ecx, dword [ebp - 0xc]
push edi
mov dword [ecx], eax
call dword [0x4a8c7c]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00467ec7
add esp, 4
push edi
call dword [0x4a8c7c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ac90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a2ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x1fc], 0
je 0x44aceb
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x44acff
cmp dword [ebp - 0x14], 0xc
jne 0x44acff
push 0
push dword [ebp - 0x10]
push esi
call fcn.0044ad10
push 0
push dword [ebp - 0xc]
push esi
call fcn.0044ad90
push 0
push dword [ebp - 8]
push esi
call fcn.0044ae10
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467e26
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00467e26
mov esp, ebp
pop ebp
ret
Function at 0x44d590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4a2ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 2
push 0x104
mov dword [0x4a8b78], 0xc000
call fcn.00468684
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44d779
mov ecx, str.SoftwareClickteamMMFScreenSavers_
mov edx, ebx
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x44d5d0
push esi
mov edx, 0x4a8d40
push edi
mov esi, edx
jmp 0x44d5f0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44d5f0
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44d600
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x210]
push eax
mov ecx, edx
push ebx
and ecx, 3
push 0x80000001
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44d76e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push str.Prefs
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 4
mov dword [ebp - 0x218], 4
mov dword [ebp - 0x21c], 0xc000
call esi
mov ecx, dword [0x4a8b78]
test eax, eax
cmove ecx, dword [ebp - 0x21c]
cmp word [0x4a5a76], 0
mov dword [0x4a8b78], ecx
jne 0x44d762
lea eax, [ebp - 0x218]
push eax
push 0x4a5a76
lea eax, [ebp - 0x214]
push eax
push 0
push str.Path
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x208
call esi
test eax, eax
jne 0x44d74c
mov edi, 0x4a5a76
mov ecx, edi
call fcn.00424110
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x4a8b38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004691a0
add esp, 8
test eax, eax
je 0x44d762
lea edx, [eax + 2]
mov esi, edx
jmp 0x44d720
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44d720
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44d730
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x44d762
push 0x104
push 0x4a5a76
push dword [0x4a8b38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00467ec7
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00467e26
mov esp, ebp
pop ebp
ret
Function at 0x44d790
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 2
push 0x104
call fcn.00468684
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x44d852
mov ecx, str.SoftwareClickteamMMFScreenSavers_
mov edx, ebx
sub edx, ecx
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x44d7c0
push esi
mov edx, 0x4a8d40
push edi
mov esi, edx
jmp 0x44d7e0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44d7e0
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44d7f0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 4]
push eax
mov ecx, edx
push ebx
and ecx, 3
push 0x80000001
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
pop edi
pop esi
test eax, eax
jne 0x44d849
mov eax, dword [0x4a8b78]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Prefs
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00467ec7
add esp, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
lea eax, [ebp - 8]
push eax
mov esi, ecx
push 1
cmp dword [esi + 0x1f6], 0
lea eax, [ebp - 1]
mov ebx, edx
push eax
push ebx
setne byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45210d
cmp byte [ebp - 1], 0
push edi
je 0x4520ff
mov esi, dword [esi + 0x1f6]
mov edi, dword [0x4a8b6c]
cmp edi, esi
je 0x4520e6
test esi, esi
jne 0x452085
xor ecx, ecx
jmp 0x45208b
mov ecx, dword [esi + 0x1d8]
cmp dword [0x4a8b70], ecx
je 0x4520af
mov dword [0x4a8b74], 0
test ecx, ecx
je 0x4520a9
mov eax, dword [ecx + 0x7c]
mov dword [0x4a8b74], eax
mov dword [0x4a8b70], ecx
mov dword [0x4a8b6c], esi
test esi, esi
je 0x4520cc
mov eax, dword [esi + 0x1d0]
mov dword [0x4a8b4c], eax
mov eax, dword [esi + 0x1d4]
jmp 0x4520d8
mov dword [0x4a8b4c], 0
xor eax, eax
push eax
mov dword [0x4a8b44], eax
call dword [sym.imp.MMFS2.dll_Ordinal_831]
mov esi, edi
mov ecx, ebx
call fcn.00445ee0
mov ecx, esi
mov edi, eax
call fcn.00402900
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x10]
push ecx
push 1
lea ecx, [ebp - 1]
mov eax, edx
push ecx
push eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4521a9
cmp byte [ebp - 1], 0
je 0x4521a4
push dword [ebx + 0x1fe]
mov edx, dword [ebx + 0x44]
push edi
mov ecx, ebx
call fcn.00451580
mov ecx, dword [ebx + 0x1f6]
add esp, 8
test ecx, ecx
je 0x4521a9
call fcn.00402900
mov ecx, dword [ebx + 0x1f6]
xor edx, edx
mov esi, eax
call fcn.004054d0
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00447ad0
mov ecx, esi
mov edi, eax
call fcn.00402900
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452400
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4a9354], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov edi, ecx
jne case.0x4524be.514
cmp dword [0x4a92dc], 0
jne case.0x4524be.514
cmp esi, 0x10
je 0x452544
cmp esi, 0x8000
je 0x45251e
cmp dword [0x4a9350], 0
jne case.0x4524be.514
cmp esi, 0x104
ja 0x4524ac
je case.0x4524be.513
lea eax, [esi - 0x18]
cmp eax, 0xe8
ja case.0x4524be.514
movzx eax, byte [eax + 0x452588]
jmp dword [eax*4 + 0x452574]
test ebx, ebx
je case.0x4524be.514
push 0
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp + 0xc]
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
jne case.0x4524be.514
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4524be.514
lea eax, [esi - 0x200]
cmp eax, 7
ja case.0x4524be.514
movzx eax, byte [eax + 0x452680]
jmp dword [eax*4 + 0x452674]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 8]
sub eax, dword [0x4a9018]
je 0x4524e0
test eax, eax
jns 0x4524e0
neg eax
mov ecx, dword [ebp - 4]
sub ecx, dword [0x4a901c]
je 0x4524f1
test ecx, ecx
jns 0x4524f1
neg ecx
add eax, ecx
cmp eax, 4
jbe case.0x4524be.514
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 8]
mov dword [0x4a9018], eax
mov eax, dword [ebp - 4]
mov dword [0x4a901c], eax
jmp case.0x4524be.514
cmp dword [0x4a9020], 0
je case.0x4524be.514
mov eax, dword [0x4a9348]
test eax, eax
je 0x45248b
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x4a9020], 0
je case.0x4524be.514
call fcn.00452b90
test eax, eax
jne case.0x4524be.514
push 0x4a9018
call dword [sym.imp.USER32.dll_GetCursorPos]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4528d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4a2ff8]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
push 0x64
push dword [0x4a92d8]
mov edi, ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], str.WindowsScreenSaverClass
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x38], eax
mov eax, dword [0x4a92d8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0x2b
mov dword [esp + 0x20], 0x452690
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
test edi, edi
je 0x452984
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x18], 0x52000000
mov dword [esp + 0xc], 0
mov dword [0x4a9354], 1
mov dword [esp + 0x14], str.Preview
jmp 0x4529f5
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
push str.Screen_Saver
push str.WindowsScreenSaverClass
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x96000000
mov dword [esp + 0x14], 8
mov dword [esp + 0x1c], str.Screen_Saver
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4529ec
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4529ec
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00467e26
mov esp, ebp
pop ebp
ret
call fcn.00452d40
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x452a34
push 0
push dword [0x4a92d8]
push 0
push edi
push esi
push ebx
push 0
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push str.WindowsScreenSaverClass
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4a9358], eax
jmp 0x452a39
mov eax, dword [0x4a9358]
test eax, eax
je 0x452a59
cmp dword [0x4a9354], 0
jne 0x452a52
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x4a9358]
mov ecx, eax
call fcn.0044d860
cmp dword [0x4a9020], 0
je 0x452aa9
mov eax, dword [0x4a934c]
test eax, eax
je 0x452aa9
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x4a9348], 0
mov dword [0x4a934c], 0
je 0x452aa9
cmp dword [0x4a9020], 0
mov dword [0x4a9348], 0
je 0x452aa9
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x61
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00467e26
mov esp, ebp
pop ebp
ret
Function at 0x452b90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x4a9350], 0
push edi
mov edi, ecx
jne 0x452c86
cmp dword [0x4a92dc], 0
jne 0x452c86
cmp dword [0x4a9348], 0
push esi
je 0x452c71
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x4a9334]
test esi, esi
je 0x452be3
mov edx, dword [0x4a9330]
mov ecx, eax
sub ecx, edx
cmp ecx, esi
jb 0x452c71
mov ecx, dword [0x4a7674]
cmp ecx, 0xffffffff
je 0x452bfb
sub eax, ecx
cmp eax, 0xc8
jb 0x452c7b
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 3
push 0x113
push 0x113
push edi
lea eax, [ebp - 0x1c]
push eax
mov dword [0x4a9350], 1
call esi
push 3
push 0x113
push 0x113
push edi
lea eax, [ebp - 0x1c]
push eax
call esi
push 0
push 0
push 0x8000
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x4a92dc], eax
mov dword [0x4a9350], 0
test eax, eax
jne 0x452c5b
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop esi
mov dword [0x4a7674], eax
mov eax, dword [0x4a92dc]
pop edi
mov esp, ebp
pop ebp
ret
mov dword [0x4a92dc], 1
mov eax, dword [0x4a92dc]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x452c90
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x22
jne 0x452cd2
mov edi, edi
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x452cc7
cmp eax, 0x22
jne 0x452cb0
add esi, 2
jmp 0x452ce2
cmp word [esi], 0x22
jne 0x452ce2
add esi, 2
jmp 0x452ce2
cmp eax, 0x20
jbe 0x452ce2
push esi
call edi
mov esi, eax
cmp word [esi], 0x20
ja 0x452cd7
movzx eax, word [esi]
test ax, ax
je 0x452d03
lea ebx, [ebx]
cmp ax, 0x20
ja 0x452d03
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x452cf0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push ecx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
call fcn.004521e0
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x452d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4a9020], 0
je 0x452df1
cmp dword [0x4a934c], 0
je 0x452d61
call fcn.00452e00
lea eax, [ebp - 4]
push eax
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x452df1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push str.ScreenSaveUsePassword
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x452de8
cmp dword [ebp - 0xc], eax
je 0x452de8
push str.PASSWORD.CPL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4a934c], eax
test eax, eax
je 0x452de8
push str.VerifyScreenSavePwd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a9348], eax
test eax, eax
je 0x452de3
mov ecx, 1
call fcn.004521c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
call fcn.00452e00
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x45d7c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a2ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp + 8]
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x45d808
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.0046bcd2
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467e26
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00467e26
mov esp, ebp
pop ebp
ret

Function at 0x463ac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x463b5e
mov edi, dword [ebp + 8]
test edi, edi
je 0x463b5e
push 0x40
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x463b5e
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x463b5e
push esi
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x463b4d
cmp dword [esi], 0x4550
jne 0x463b4d
mov eax, dword [esi + 0x80]
test eax, eax
je 0x463b57
lea esi, [eax + edi]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x463b3e
add eax, edi
push ebx
push eax
call fcn.0046a691
add esp, 8
test eax, eax
je 0x463b3e
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x463b24
xor eax, eax
cmp dword [esi + 0xc], eax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
push 0x57
call dword [sym.imp.USER32.dll_SetLastErrorEx]
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
push 1
push 0x57
call dword [sym.imp.USER32.dll_SetLastErrorEx]
pop edi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x463f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a7bf8]
push edi
test eax, eax
je 0x463f79
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x463f79
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x463f79
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x463f61
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x463f61
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x463f61
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x54]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18