joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427283
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push 0x30
mov eax, 0x50e6ca
call fcn.004ac14c
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
xor esi, esi
mov dword [ebx + 0x28], 2
lea eax, [ebx + 0x40]
push esi
push dword [eax]
mov dword [ebp - 0x30], eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x1d]
call fcn.00426a5d
lea ecx, [ebp - 0x1d]
mov dword [ebp - 0x1c], eax
call fcn.00425ffb
lea ecx, [ebp - 0x1d]
mov dword [ebp - 0x18], eax
call fcn.00426a94
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x28], esi
lea esi, [ebx + 0x34]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x1d]
call fcn.00426751
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.0041543f
mov esi, dword [ebp + ebx*4 - 0x1c]
and dword [ebp - 4], 0
push esi
call fcn.004073f2
add esp, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
call fcn.00409a76
push esi
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call fcn.0041543f
add esp, 0xc
push dword [ebp - 0x24]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4273be
push esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.0041543f
add esp, 0xc
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040967c
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00407cc8
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4273be
lea ecx, [ebp - 0x1d]
call fcn.00425fc4
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
push eax
call fcn.0041543f
add esp, 0xc
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040967c
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00407cc8
push esi
call fcn.004073f2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00409a76
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4273c8
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call edi
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407cc8
mov ecx, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00407cc8
mov esi, dword [ebp - 0x2c]
inc ebx
cmp ebx, 3
jb 0x4272e0
mov ecx, dword [ebp - 0x3c]
call fcn.0042754d
xor eax, eax
call fcn.004ac0f6
ret 4
Function at 0x427401
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x50e710
call fcn.004ac14c
mov edi, ecx
lea esi, [edi + 0x44]
mov ecx, esi
call fcn.0041c6e0
test eax, eax
je 0x427545
cmp dword [ebp + 0xc], 0
je 0x427545
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ecae0
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x219]
push dword [edi + 0x38]
push 0x103
push eax
push 0x5182e8
push 0x518530
call fcn.00426d50
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00405cd4
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call fcn.004243cb
mov ecx, dword [ebp - 0x220]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00407cc8
mov ecx, esi
call fcn.004212ea
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x427528
lea ecx, [ebp - 0x219]
call fcn.00426b02
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0041543f
add esp, 0xc
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], 1
call fcn.00426fd7
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0041543f
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004243bf
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00407cc8
mov ecx, dword [ebp - 0x220]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00407cc8
mov ecx, esi
call fcn.00424135
test eax, eax
je 0x427545
lea ecx, [ebp - 0x219]
call fcn.00426925
mov dword [edi + 0x28], 3
call fcn.004ac0f6
ret 0xc

Function at 0x42754d
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.004ecae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [esi + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x20d]
call fcn.004268ee
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.004ac0d0
leave
ret
Function at 0x429f77
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
mov dword [ebp - 0x878], ecx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004ecae0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x86d]
call fcn.00429a21
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004ecae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.00407dc8
push 0x518558
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0042a537
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a045
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x42a16f
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x42a121
mov esi, dword [ebp - 0x86c]
and esi, 0x10
je 0x42a0d3
mov ecx, 0x518560
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a08c
test dx, dx
je 0x42a088
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a08c
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a066
xor eax, eax
jmp 0x42a091
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a121
mov ecx, 0x518564
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a0ca
test dx, dx
je 0x42a0c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a0ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a0a4
xor eax, eax
jmp 0x42a0cf
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a121
test esi, esi
jne 0x42a121
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004ecae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x86c]
push eax
push edi
call ebx
test eax, eax
jne 0x42a050
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x874]
call fcn.00405cd4
lea ecx, [ebp - 0x874]
push ecx
mov ecx, dword [ebp - 0x878]
call fcn.0042a1c1
mov ecx, dword [ebp - 0x874]
add ecx, 0xfffffff0
call fcn.00407cc8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac0d0
leave
ret
Function at 0x42a1c1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004ac250
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
xor eax, eax
cmp dword [esi - 0xc], eax
je 0x42a24e
push edi
push 7
pop ecx
lea edi, [ebp - 0x2024]
rep stosd dword es:[edi], eax
push 0x2000
push 0
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push eax
mov dword [ebp - 0x2020], 3
call fcn.004ecae0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004f5094
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ac0d0
leave
ret 4

Function at 0x42a329
Capabilities:
Read .ini file

Disassembly:
push 0x24
mov eax, 0x50e862
call fcn.004ac14c
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0x517bf4
call fcn.0040f546
mov ecx, esi
call fcn.00429e67
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f546
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004077b8
push eax
lea ecx, [ebp - 0x30]
call fcn.00405cab
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
push 0x104
cmovae edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00407b9f
push 0x104
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.00407d29
push edi
push 0x104
push esi
push 0x517b34
lea ecx, [ebp - 0x29]
call fcn.00429ac6
push eax
lea ecx, [ebp - 0x29]
call fcn.0042980e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.00407ce0
lea ecx, [ebp - 0x29]
call fcn.00429925
push eax
lea ecx, [ebp - 0x30]
call fcn.0042a19d
mov esi, dword [ebp - 0x30]
test eax, eax
je 0x42a3eb
push 0x518544
push esi
call fcn.0042a576
pop ecx
pop ecx
test eax, eax
jne 0x42a3ee
xor ebx, ebx
inc ebx
lea ecx, [esi - 0x10]
call fcn.00407cc8
lea ecx, [ebp - 0x28]
call fcn.00412036
mov eax, ebx
call fcn.004ac0f6
ret
Function at 0x42cb38
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x5185f0]
lea eax, [ebp - 0x24]
push eax
push 0x1f
push 0x557348
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x52734634
mov dword [ebp - 0x10], 0x72696465
mov dword [ebp - 0xc], 0x69746365
mov word [ebp - 8], 0x6e6f
mov byte [ebp - 6], 0
call fcn.0040c95a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac0d0
leave
ret

Function at 0x42d880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.Wow64RevertWow64Wow64DisableWow6]
lea eax, [ebp - 0x24]
push eax
push 0x1e
push 0x557370
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x65527346
mov dword [ebp - 0x10], 0x65726964
mov dword [ebp - 0xc], 0x6f697463
mov word [ebp - 8], 0x6e
call fcn.0040c95a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac0d0
leave
ret

Function at 0x42e087
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004ecae0
add esp, 0xc
push esi
call fcn.0042df9c
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ac0d0
leave
ret

Function at 0x42e0fe
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.004ecae0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42e14e
cmp dword [ebp - 0x114], 6
jb 0x42e14e
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004ac0d0
leave
ret
Function at 0x42e1d4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x430
push 0x543c98
call fcn.004ac650
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x440], esi
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
push 0x200
push ebx
lea eax, [ebp - 0x42c]
push eax
call fcn.004ecae0
add esp, 0xc
push edi
lea ecx, [ebp - 0x431]
call fcn.0042cef5
push eax
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x430]
push eax
push 0x20219
push ebx
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e2cb
mov dword [ebp - 0x43c], ebx
mov edi, 0x210
push edi
push ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.004ecae0
add esp, 0xc
mov dword [ebp - 0x438], edi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x43c]
push eax
push ebx
lea ecx, [ebp - 0x432]
call fcn.0042c8e5
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e2cb
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp + 0x10], eax
jle 0x42e2cb
push dword [ebp + 0x10]
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0042e2f1
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42e3b9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.004ac250
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x105c]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x44
pop edi
push edi
push 0
push eax
call fcn.004ecae0
add esp, 0xc
mov dword [ebp - 0x105c], edi
lea eax, [ebp - 0x105c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x1030], 1
mov word [ebp - 0x102c], ax
lea edi, [ebp - 0x1018]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ebx, ebx
je 0x42e474
push 0x1000
xor edi, edi
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.004ecae0
add esp, 0xc
lea ecx, [ebp - 0x1005]
push ebx
push esi
call fcn.0042d6b0
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0042c886
add esp, 0x10
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x105c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1004]
push eax
push edi
jmp 0x42e48c
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x105c]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x42e4ae
push dword [ebp - 0x1014]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1018]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac0d0
leave
ret
Function at 0x42e4bf
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
lea ecx, [ebp - 1]
call fcn.0042ce03
push eax
call fcn.0042df9c
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042de4e
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
test eax, eax
je 0x42e52c
push 0x3c
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004ecae0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], 0x440
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42e52c
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00407cc8
mov eax, esi
pop esi
leave
ret

Function at 0x42e6c2
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1464
call fcn.004ac250
mov eax, dword [0x54e548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x145c]
push edi
push 0x1458
push 0
push eax
call fcn.004ecae0
add esp, 0xc
lea eax, [ebp - 0x145c]
push 0xa2c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x145c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x145d]
call fcn.0042ca07
push eax
lea eax, [ebp - 0x145c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x145d]
call fcn.0042db61
mov bl, byte [ebp + 0xc]
xor edi, edi
inc edi
test bl, bl
je 0x42e755
push edi
push edi
push 0x517b34
push eax
call fcn.0042e53c
add esp, 0x10
lea eax, [ebp - 0x145c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e785
lea ecx, [ebp - 0x145d]
call fcn.0042d0ba
test bl, bl
je 0x42e785
push edi
push edi
push 0x517b34
push eax
call fcn.0042e53c
add esp, 0x10
xor eax, eax
push eax
push edi
push edi
push eax
mov dword [ebp - 0x1464], eax
lea eax, [ebp - 0x1464]
push eax
push dword [esi]
lea eax, [ebp - 0x145c]
push eax
movzx eax, bl
push eax
call fcn.0042a793
test eax, eax
jne 0x42e7fb
push str._n__tWinMain:_CreateProcess_fail.__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x145d]
call fcn.0042cebe
test bl, bl
je 0x42e7d8
push edi
push edi
push 0x517b34
push eax
call fcn.0042e53c
add esp, 0x10
lea ecx, [ebp - 0x145d]
call fcn.0042d399
test bl, bl
je 0x42e7f7
push edi
push edi
push 0x517b34
push eax
call fcn.0042e53c
add esp, 0x10
xor eax, eax
jmp 0x42e83b
lea ecx, [ebp - 0x145d]
call fcn.0042cd07
test bl, bl
je 0x42e81a
push edi
push edi
push 0x517b34
push eax
call fcn.0042e53c
add esp, 0x10
lea ecx, [ebp - 0x145d]
call fcn.0042cc42
test bl, bl
je 0x42e839
push edi
push edi
push 0x517b34
push eax
call fcn.0042e53c
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac0d0
leave
ret
Function at 0x438e60
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x438e85
or esi, 1
push 1
call edi
test ax, ax
jns 0x438e91
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x438e9d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x438ea9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x43e650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43e695
cmp byte [ebp + 8], 0
je 0x43e689
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x44e190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
movzx eax, word [edi + 0xc]
sub eax, 0x41
je 0x44e1f2
sub eax, 2
je 0x44e1d3
sub eax, 0x15
jne 0x44e242
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44e242
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x44e237
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44e242
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x44e237
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x44e242
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 2
push eax
mov eax, dword [esi + 0x14]
push 0xffffffffffffffff
push 0x102b
mov dword [ebp - 0x30], 2
push dword [eax + 0x558]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
push dword [ebp + 0xc]
push str.selectallkey
push dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
call fcn.0043c3c0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44ed30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.004428e0
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ed7e
mov ecx, dword [ebx + 0x55c]
mov eax, 5
push edi
xor edi, edi
cmp byte [ebp + 8], 0
cmovne edi, eax
push edi
call fcn.00435f60
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x452300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x45236d
cmp dword [ebp + 8], 0x100
jne 0x45235d
cmp word [ebp + 0xc], 0xd
jne 0x45235d
cmp byte [esi + 0x59a], 0
je 0x45233e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45235d
cmp byte [esi + 0x59b], 0
jne 0x45235d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x452356
push 0
push 0
push 0
push str.return
push esi
call fcn.0043c3c0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x4532b0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x557558
push 0x34
call fcn.004ac995
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x453329
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
jmp 0x45332b
xor esi, esi
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x453338
mov edi, dword [edi]
xor ebx, ebx
test edi, edi
je 0x4533af
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4533af
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4533af
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x4533af
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x4533af
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4533af
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.00452c30
mov ebx, eax
test ebx, ebx
jne 0x4533dd
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4533c4
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4533e3
push eax
call edi
mov dword [esi + 8], 0
jmp 0x4533e3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4533f5
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
test ebx, ebx
pop ebx
jne 0x453414
mov ecx, esi
call fcn.004528f0
push 0x34
push esi
call fcn.004abe1a
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4587e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x557558
cmp al, 6
jb 0x45881d
push 0x18
call fcn.004ac995
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x458859
mov ecx, eax
call fcn.00458870
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.004ac995
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x458859
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret