joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x499014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x49be80], 0
mov ecx, dword [0x49b5bc]
push edi
mov dword [ebp - 0x48], ecx
mov dword [ecx + 0x2c], 0
lea edi, [ecx + 0x2c]
mov dword [ebp - 0x44], edi
je 0x4258fb
push ebx
push esi
xor esi, esi
xor edx, edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [edx + ecx]
test eax, eax
je 0x4258dd
cmp eax, 4
jbe 0x425849
cmp eax, 5
jne 0x4258dd
add esi, 0x16
lea edi, [ebx + 8]
add esi, ecx
nop dword [eax]
movzx eax, word [esi]
add ebx, ebx
cmp dword [0x49be80], 0
je 0x425839
cmp dword [0x49b410], 0
je 0x425827
movzx eax, al
movzx eax, byte [eax + 0x49b418]
shl ax, 8
jmp 0x42582e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
test ax, ax
jns 0x425839
or ebx, 1
sub esi, 2
sub edi, 1
jne 0x425800
mov edi, dword [ebp - 0x44]
jmp 0x4258d5
lea esi, [eax - 1]
mov dword [ebp - 0x38], 0x34
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 0x83
push eax
push esi
call dword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x4258d5
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x49b5f0]
sub edx, eax
mov ecx, dword [esi + 0x49b5f4]
sub ecx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42588f
mov ebx, 4
jmp 0x42589f
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x49b5f8]
mov ecx, dword [esi + 0x49b5fc]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x4258c0
or ebx, 1
jmp 0x4258cd
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x4258cd
or ebx, 2
mov eax, dword [ebp - 0x18]
shl eax, 4
or ebx, eax
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov byte [edi], bl
mov ecx, dword [ebp - 0x48]
add edx, 2
add esi, 0x10
mov dword [ebp - 0x3c], edx
inc edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
cmp edx, 8
jl 0x4257d0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0045b910
mov esp, ebp
pop ebp
ret
Function at 0x42ce30
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
push 0
mov edi, ecx
movzx eax, word [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
jne 0x42ce65
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x42ceaf
sub eax, 2
jne 0x42ce5c
mov eax, dword [esi]
sub eax, 0
je 0x42ce8b
sub eax, 2
je 0x42ce84
xorps xmm0, xmm0
jmp 0x42ce94
movsd xmm0, qword [esi + 8]
jmp 0x42ce94
movd xmm0, dword [esi + 8]
cvtdq2pd xmm0, xmm0
push 0
lea eax, [ebp - 8]
movsd qword [ebp - 0x18], xmm0
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
sub eax, 0
je 0x42cec6
sub eax, 2
je 0x42cebf
xor eax, eax
jmp 0x42cec9
cvttsd2si eax, qword [esi + 8]
jmp 0x42cec9
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 0x42eaf0
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 0x42eb8a
cmp dword [ebp - 8], 2
jb 0x42eb8a
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x42eb5f
sub eax, 1
je 0x42eb8a
sub eax, 1
jne 0x42eb8a
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x42eb8a
cmp dword [ebp - 8], 8
jb 0x42eb8a
movsd xmm0, qword [ebp - 0x18]
mov eax, 1
movsd qword [esi + 8], xmm0
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 0x42eb8a
cmp dword [ebp - 8], 4
jb 0x42eb8a
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 0x43fa00
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [0x49b5bc]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x440
mov dword [ebp - 0x50], str.open
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x40], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x43fb15
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x43fb03
call fcn.00423870
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
and ebx, 2
je 0x43faa2
push 0
push dword [edi + 0x10]
call esi
mov eax, dword [edi + 0x4c4]
test eax, eax
je 0x43faa2
push 0
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x43fae0
cmp dword [ebp + 8], 0x103
jne 0x43fae0
xor edx, edx
lea ecx, [ebp - 0x20]
call fcn.00401440
push 0x4ff
push 0xc8
push 0
push 0
push 0
call edi
jmp 0x43faa8
test bx, bx
je 0x43fafe
mov edi, dword [ebp - 4]
push 5
push dword [edi + 0x10]
call esi
mov eax, dword [edi + 0x4c4]
test eax, eax
je 0x43fafe
push 5
push eax
call esi
call fcn.00423960
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x104], ecx
sub ecx, dword [esi + 0x58]
add eax, ecx
mov dword [esi + 0x108], edx
sub edx, dword [esi + 0x5c]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x64]
add eax, edx
mov dword [esi + 0x118], ecx
mov dword [esi + 0x124], eax
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0xe8]
mov dword [esi + 0x11c], edx
mov edx, 1
mov dword [esi + 0x110], eax
pop esi
pop ebp
jmp fcn.00447b40
Function at 0x4533c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 1], 0
xor edi, edi
lea ecx, [ebp - 0x10]
push edi
push ecx
push 1
lea ecx, [ebp - 1]
mov eax, edx
push ecx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x453449
cmp byte [ebp - 1], 0
je 0x453444
push dword [ebx + 0x2ac]
mov edx, dword [ebx + 0x44]
mov ecx, ebx
push edi
call fcn.00452880
mov ecx, dword [ebx + 0x2a4]
add esp, 8
test ecx, ecx
je 0x453449
call fcn.004013b0
mov ecx, dword [ebx + 0x2a4]
xor edx, edx
mov esi, eax
call fcn.004049c0
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.0042eba0
mov ecx, esi
mov edi, eax
call fcn.004013b0
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 0x4548a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x499014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm1, xmmword [0x48aa10]
xor al, al
push ebx
push esi
mov byte [ebp - 0x412], al
lea esi, [ebp - 0x3fc]
push edi
mov edi, dword [ebp + 8]
mov al, 0x36
mov dword [ebp - 0x420], edx
mov ah, 1
mov dword [ebp - 0x424], ecx
mov edx, 8
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x411], al
mov dword [ebp - 0x410], 0
mov dword [ebp - 0xc], 0
lea ecx, [edx - 8]
movd xmm0, ecx
lea esi, [esi + 0x40]
pshufd xmm0, xmm0, 0
lea ecx, [edx - 4]
paddd xmm0, xmm1
movups xmmword [esi - 0x50], xmm0
movd xmm0, ecx
lea ecx, [edx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x40], xmm0
movd xmm0, edx
add edx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x30], xmm0
movd xmm0, ecx
lea ecx, [edx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x20], xmm0
cmp ecx, 0x100
jl 0x454900
xor esi, esi
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x418], edx
nop word [eax + eax]
mov cl, al
shr al, 1
shl cl, 7
add al, cl
test ah, ah
je 0x4549a5
movzx edx, byte [esi + edi]
mov cl, al
and cl, 1
add cl, 2
movzx ecx, cl
imul edx, ecx
mov ch, byte [ebp - 0x411]
add ch, dl
mov edx, dword [ebp - 0x418]
mov byte [ebp - 0x411], ch
jmp 0x4549ab
mov ch, byte [ebp - 0x411]
mov cl, byte [esi + edi]
xor cl, al
jne 0x4549cb
test ah, ah
je 0x4549c1
cmp ch, byte [esi + edi + 1]
sete byte [ebp - 0x412]
mov cl, byte [edi]
mov al, 0x1b
xor ah, ah
xor esi, esi
xor cl, al
mov edx, dword [ebp + edx*4 - 0x40c]
inc esi
mov edi, dword [ebp - 0x418]
add bl, dl
add bl, cl
movzx ebx, bl
mov ecx, dword [ebp + ebx*4 - 0x40c]
mov dword [ebp + edi*4 - 0x40c], ecx
mov dword [ebp + ebx*4 - 0x40c], edx
mov edx, edi
mov edi, dword [ebp - 0x41c]
inc edx
mov dword [ebp - 0x418], edx
cmp edx, 0x100
jl 0x454970
cmp byte [ebp - 0x412], 0
je 0x454a88
mov edi, dword [ebp - 0x420]
xor esi, esi
mov edx, dword [ebp - 0x410]
mov ebx, dword [ebp - 0xc]
test edi, edi
jle 0x454a72
nop
inc dl
movzx edx, dl
mov ecx, dword [ebp + edx*4 - 0x40c]
mov al, cl
add al, bl
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x40c]
mov dword [ebp + edx*4 - 0x40c], eax
mov dword [ebp + ebx*4 - 0x40c], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 0x424]
mov al, byte [ebp + eax*4 - 0x40c]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x454a30
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b910
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045b910
mov esp, ebp
pop ebp
ret
Function at 0x4559c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4559cb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004559e0
Function at 0x458260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x499014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 2
push 0x104
mov dword [0x49b5c0], 0xc000
call fcn.0045f3d4
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x458449
mov ecx, str.SoftwareClickteamMMFScreenSavers_
mov edx, ebx
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4582a0
push esi
mov edx, 0x49b950
push edi
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4582c0
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4582d0
mov ecx, edx
lea eax, [ebp - 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45843e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x214], 4
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 4
push eax
push 0
push str.Prefs
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0xc000
call esi
mov ecx, dword [0x49b5c0]
test eax, eax
cmove ecx, dword [ebp - 0x21c]
cmp word [0x49b73e], 0
mov dword [0x49b5c0], ecx
jne 0x458432
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 1
push eax
push 0x49b73e
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0x208
push eax
push 0
push str.Path
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x45841c
mov edi, 0x49b73e
mov ecx, edi
call fcn.00454f30
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x49b580]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0045ce35
add esp, 8
test eax, eax
je 0x458432
lea edx, [eax + 2]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4583f0
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x458400
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 0x458432
push 0x104
push 0x49b73e
push dword [0x49b580]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0045f3ea
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045b910
mov esp, ebp
pop ebp
ret
Function at 0x459890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x495e88
push 0x45cfe0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x499014]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [0x49bdf4], ecx
mov dword [ebp - 4], 0
movzx ecx, word [eax]
cmp ecx, 0x73
ja case.0x4598e6.1
movzx ecx, byte [ecx + 0x459a60]
jmp dword [ecx*4 + 0x459a40]
xor ecx, ecx
call fcn.00459f40
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [0x49be84], 1
nop dword [eax]
add eax, 2
mov dword [ebp - 0x20], eax
movzx ecx, word [eax]
cmp ecx, 0x20
je case.0x4598e6.80
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x1c], eax
lea ecx, [edi - 0x30]
cmp cx, 9
ja 0x459952
lea esi, [esi + esi*4]
movzx ecx, di
lea esi, [esi - 0x18]
lea esi, [ecx + esi*2]
add eax, 2
movzx edi, word [eax]
jmp 0x459932
test esi, esi
je 0x459983
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459983
mov ecx, esi
call fcn.00459f40
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
or eax, 0xffffffff
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], 0xfffffffe
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, eax
call fcn.00458b20
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
call fcn.00458b20
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
add eax, 2
mov dword [ebp - 0x20], eax
jmp 0x4598d3
Function at 0x459f40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x499014]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
push 0x64
push dword [0x49bdf4]
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 [0x49bdf4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0x2b
mov dword [esp + 0x20], 0x459d00
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
test edi, edi
je 0x459ff4
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 + 0x10], 0x52000000
mov dword [esp + 0x18], 0
mov dword [0x49be28], 1
mov dword [esp + 0x14], str.Preview
jmp 0x45a060
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 + 0x14], eax
mov dword [esp + 0x18], 0x96000000
mov dword [esp + 0x20], 8
mov dword [esp + 0x1c], str.Screen_Saver
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x45a05c
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a05c
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.0045b910
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45a09f
push 0
push dword [0x49bdf4]
push 0
push edi
push esi
push ebx
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0x38]
push str.WindowsScreenSaverClass
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x49be2c], eax
jmp 0x45a0a4
mov eax, dword [0x49be2c]
test eax, eax
je 0x45a0c4
cmp dword [0x49be28], 0
jne 0x45a0bd
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x49be2c]
mov ecx, eax
call fcn.004584f0
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045b910
mov esp, ebp
pop ebp
ret
Function at 0x45a0e0
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 ecx, word [esi]
cmp ecx, 0x22
jne 0x45a127
nop
push esi
call edi
mov esi, eax
movzx eax, word [esi]
mov ecx, eax
test ax, ax
je 0x45a120
cmp eax, 0x22
jne 0x45a100
movzx eax, word [esi + 2]
add esi, 2
movzx eax, ax
jmp 0x45a13d
mov eax, ecx
movzx eax, ax
jmp 0x45a13d
mov eax, ecx
cmp ecx, 0x20
jbe 0x45a13d
nop
push esi
call edi
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
ja 0x45a130
test ax, ax
je 0x45a15a
movzx ecx, ax
cmp cx, 0x20
ja 0x45a15a
push esi
call edi
mov esi, eax
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x45a145
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], 0
push eax
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.00459890
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x460b2c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004609a3
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x10001a4a
Capabilities:
Check if file exists
Check os version
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x208], ax
xor edi, edi
lea eax, [ebp - 0x206]
push edi
push eax
call fcn.10131950
push 0x208
push edi
push ebx
call fcn.10131950
add esp, 0x18
lea eax, [ebp - 0x31c]
push eax
mov dword [ebp - 0x31c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x318], 6
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea eax, [ebp - 0x208]
jb 0x10001ac9
push 0x28
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.AppDataLocalLow
lea eax, [ebp - 0x208]
push eax
push eax
call esi
jmp 0x10001ad3
push 0x1c
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.hebcapincache
lea eax, [ebp - 0x208]
push eax
push eax
call esi
lea eax, [ebp - 0x208]
push eax
push ebx
call fcn.10131873
pop ecx
pop ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10001b04
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov eax, ebx
pop esi
leave
ret

Function at 0x10001b0a
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x45a]
push eax
call fcn.10131950
push dword [ebp + 8]
lea eax, [ebp - 0x45c]
push str._s.cache
push eax
call fcn.10131892
add esp, 0x18
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001ba1
push 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call fcn.10001c61
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10001b8c
push 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call fcn.10001c61
lea eax, [ebp - 0x254]
push eax
push edi
call esi
test eax, eax
jne 0x10001b7b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
leave
ret 4