joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411de0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x411dec
jmp 0x411e3f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411dfc
jmp 0x411e3f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x411e2f
sub esp, 0x28
mov ecx, esp
push 0
call fcn.00415690
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411e50
add esp, 0x30
jmp 0x411e3f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00412010
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x412010
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41205a
mov ecx, dword [ebp - 8]
and ecx, 0x10
je 0x41205a
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
call fcn.00406bf0
add esp, 4
test eax, eax
je 0x412058
jmp 0x4120d5
jmp 0x41207b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41207b
mov ecx, dword [ebp + 8]
push ecx
push 0x5f51b8
call fcn.00432e00
add esp, 8
jmp 0x4120d5
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4120cd
cmp dword [ebp - 4], 0
jne 0x4120b5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4120b5
mov ecx, dword [ebp + 8]
push ecx
push str.DeleteFile:_s_suceesss
call fcn.00432e00
add esp, 8
jmp 0x4120d5
cmp dword [ebp - 4], 0
je 0x4120cd
mov edx, dword [ebp + 8]
push edx
call fcn.00406bf0
add esp, 4
test eax, eax
je 0x4120cd
jmp 0x4120d5
xor eax, eax
jne 0x41201d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412109
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xc]
call fcn.00407930
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00418910
lea ecx, [ebp - 0xc]
call fcn.00407ac0
xor eax, eax
jmp 0x41210e
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x412120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.00537020
add esp, 0xc
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x104
lea ecx, [ebp - 4]
call fcn.00407970
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0xc]
push eax
push 0x5f5180
push 0x5f5188
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x214]
push ecx
call fcn.00553b5f
add esp, 4
test eax, eax
jbe 0x4121ab
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 4]
call fcn.00407c20
lea ecx, [ebp - 4]
call fcn.00417580
lea ecx, [ebp - 4]
call fcn.004174c0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407910
lea ecx, [ebp - 4]
call fcn.00407ac0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x413080
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov byte [ebp - 1], 0
mov dword [ebp - 0x1c], 0x6c
push 0xd8
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.00537020
add esp, 0xc
lea ecx, [ebp - 0x124]
push ecx
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6c
jae 0x4131b9
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x14]
jae 0x4131b9
push 0x410
push 0
lea eax, [ebp - 0x534]
push eax
call fcn.00537020
add esp, 0xc
mov ecx, dword [0x5f56fc]
mov dword [ebp - 0x10], ecx
mov dx, word [0x5f5700]
mov word [ebp - 0xc], dx
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 8]
mov ax, word [ebp + edx*2 - 0x124]
mov word [ebp + ecx - 0x10], ax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
push 0x207
lea edx, [ebp - 0x534]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x413140
jmp 0x4130cd
lea ecx, [ebp - 0x534]
push ecx
call fcn.00553b5f
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x534]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418460
push eax
call fcn.00556bcd
add esp, 0xc
test eax, eax
jne 0x4131b4
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418c40
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00413c00
add esp, 0xc
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00415d00
lea ecx, [ebp - 0x34]
call fcn.00415bc0
lea ecx, [ebp - 0x4c]
call fcn.00415bc0
mov byte [ebp - 1], 1
jmp 0x4131b9
jmp 0x4130cd
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4131c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x662e58]
test edx, edx
je 0x4131e8
push 0x662e58
mov ecx, dword [ebp + 8]
call fcn.00415640
mov eax, dword [ebp + 8]
jmp 0x413239
push 0
push 0x1a
push 0x662e58
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp + 0xc]
call fcn.00418540
push eax
push 0x662e58
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x662e58
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413229
push 0x662e58
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x662e58
mov ecx, dword [ebp + 8]
call fcn.00415640
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0x413310
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x1c], 0
je 0x413336
mov dword [ebp - 0x10], 0x100
jmp 0x41333d
mov dword [ebp - 0x10], 0x200
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0xc]
call fcn.00407930
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xc]
call fcn.00407cd0
push 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x20]
or ecx, 0x20006
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
call fcn.00407c80
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4133f8
xor edx, edx
mov byte [ebp - 1], dl
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 1]
call fcn.00416420
mov ecx, eax
call fcn.00407c80
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4133d4
mov dword [ebp - 0x14], 1
jmp 0x4133db
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 2], al
lea ecx, [ebp - 0x24]
call fcn.00407ac0
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x4133f8
mov dword [ebp - 0x18], 1
cmp dword [ebp - 8], 0
je 0x413408
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xc]
call fcn.00407ac0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x413800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1860
call fcn.00472110
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x400
push 0x800
push 0
lea eax, [ebp - 0x860]
push eax
call fcn.00537020
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x413860
push 0x400
lea ecx, [ebp - 0x860]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004139a0
add esp, 0x10
test eax, eax
jne 0x41385e
xor eax, eax
jmp 0x41399b
jmp 0x413873
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x860]
push edx
call fcn.00556bab
add esp, 8
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00537020
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00537020
add esp, 0xc
mov dword [ebp - 0x60], 0x44
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x34], 1
mov ax, word [ebp + 0x14]
mov word [ebp - 0x30], ax
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.00537020
add esp, 0xc
mov dword [ebp - 0x1c], 0x800
push 0x1000
push 0
lea eax, [ebp - 0x1860]
push eax
call fcn.00537020
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x413915
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x860]
push edx
push 0x5f59e0
lea eax, [ebp - 0x1860]
push eax
call fcn.00415100
add esp, 0x10
jmp 0x413930
lea ecx, [ebp - 0x860]
push ecx
push 0x5f592c
lea edx, [ebp - 0x1860]
push edx
call fcn.00415100
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1860]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x413998
cmp dword [ebp + 0x18], 0
je 0x413970
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [ebp + 0x28], 0
je 0x413984
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x417260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x417269
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4172ac
mov eax, dword [ebp - 8]
jmp 0x417312
cmp dword [ebp - 0xc], 1
je 0x4172bf
cmp dword [ebp - 0xc], 2
je 0x4172bf
mov eax, 0xd
jmp 0x417312
cmp dword [ebp + 0xc], 0
je 0x417306
cmp dword [ebp - 4], 0
je 0x4172f5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4172ec
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4172f3
mov eax, 0xd
jmp 0x417312
jmp 0x417306
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x417329
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41735e
call fcn.00416620
jmp 0x417374
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x417372
push 0x26
call fcn.004096d0
add esp, 4
jmp 0x417374
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x419e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 4]
call fcn.00407970
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.00407930
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00419d60
lea ecx, [ebp - 8]
call fcn.00407ac0
lea ecx, [ebp - 4]
call fcn.00408d00
movzx eax, al
test eax, eax
je 0x419e83
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 4]
call fcn.00407c00
push 0x5f5aec
lea ecx, [ebp - 4]
call fcn.0041c5c0
test eax, eax
jne 0x419eb8
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407910
lea ecx, [ebp - 4]
call fcn.00407ac0
lea ecx, [ebp + 0x10]
call fcn.00407ac0
mov eax, dword [ebp + 8]
jmp 0x419f51
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00537020
add esp, 0xc
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x104
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x5f5b0c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x21c]
test ecx, ecx
je 0x419f32
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 4]
call fcn.00407c20
lea ecx, [ebp - 4]
call fcn.00417580
lea ecx, [ebp - 4]
call fcn.004174c0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407910
lea ecx, [ebp - 4]
call fcn.00407ac0
lea ecx, [ebp + 0x10]
call fcn.00407ac0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41cfa0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x41d05d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x41cfd3
xor eax, eax
jmp 0x41d08b
push 0x5f5e60
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x5f5e6c
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push 0x5f5e78
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push 0x5f5e88
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x5f5e98
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x41d05d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x41d081
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x41d081
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x41d081
mov dword [ebp - 8], 1
jmp 0x41d088
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x41f460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
call fcn.0041cd30
mov ecx, eax
call fcn.00419b70
movzx eax, al
test eax, eax
je 0x41f4b2
xor ecx, ecx
mov byte [ebp - 1], cl
push 1
push 0
push 0
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 1]
call fcn.004214c0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f5fb8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.00407ac0
jmp 0x41f52f
call fcn.0041cd30
mov ecx, eax
call fcn.00419b90
movzx eax, al
test eax, eax
je 0x41f4fb
xor ecx, ecx
mov byte [ebp - 2], cl
push 1
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 2]
call fcn.004210d0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f5fc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00407ac0
jmp 0x41f52f
xor eax, eax
mov byte [ebp - 3], al
push 1
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 3]
call fcn.00420af0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f5fd0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.00407ac0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
call fcn.0041cd30
mov ecx, eax
call fcn.00419b70
movzx eax, al
test eax, eax
je 0x41f592
xor ecx, ecx
mov byte [ebp - 1], cl
push 1
push 0
push 0
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 1]
call fcn.004212d0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f5fdc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.00407ac0
jmp 0x41f60f
call fcn.0041cd30
mov ecx, eax
call fcn.00419b90
movzx eax, al
test eax, eax
je 0x41f5db
xor ecx, ecx
mov byte [ebp - 2], cl
push 1
push 0
push 0
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 2]
call fcn.00420cb0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f5fe8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00407ac0
jmp 0x41f60f
xor eax, eax
mov byte [ebp - 3], al
push 1
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 3]
call fcn.00420ee0
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f5ff4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.00407ac0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x423300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x4244b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x428670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00427040
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 0xc], 1
jne 0x42880d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x42880d
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00429160
mov ecx, dword [ebp - 4]
call fcn.00427900
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x428705
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x42880d
mov dword [ebp - 0xc], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x428725
mov dword [ebp - 0x14], 1
jmp 0x42872c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x428765
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x428765
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00422030
jmp 0x42878b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x42878b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
jne 0x42878b
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x4287a7
mov dword [ebp - 0x18], 1
jmp 0x4287ae
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x4287e7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x4287e7
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00422030
jmp 0x42880d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x42880d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x42880d
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x42bb30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
push 0x5f6518
push 0
call fcn.0043b840
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jne 0x42bb81
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 1]
call fcn.0042d420
mov ecx, eax
call fcn.00407c80
push eax
push 0x5f6544
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00407ac0
mov esp, ebp
pop ebp
ret
Function at 0x42bfd0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov dword [ebp - 4], 1
push 0x5f6a44
lea ecx, [ebp - 0xc]
call fcn.00407930
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x5f6a68
push 0x5f6a7c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42c032
cmp dword [ebp - 0x1c], 1
jne 0x42c032
jmp 0x42c200
push 0x208
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00537020
add esp, 0xc
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x104
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x5f6aac
push 0x5f6ac4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42c08a
mov dword [ebp - 4], 2
jmp 0x42c200
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407c20
push 0x5f6af4
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c0c8
mov dword [ebp - 4], 2
jmp 0x42c200
push 0x208
push 0
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00537020
add esp, 0xc
push 0x104
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [0x663374]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.00407970
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00407930
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0041cad0
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00407ac0
lea ecx, [ebp - 8]
call fcn.00407970
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00407930
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0041cad0
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.00407ac0
lea ecx, [ebp - 8]
call fcn.00408d00
movzx ecx, al
test ecx, ecx
je 0x42c17f
mov dword [ebp - 4], 2
lea ecx, [ebp - 8]
call fcn.00407ac0
lea ecx, [ebp - 0x10]
call fcn.00407ac0
jmp 0x42c200
lea ecx, [ebp - 0x10]
call fcn.00407c80
push eax
lea ecx, [ebp - 8]
call fcn.00407c80
push eax
call fcn.00412940
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x42c1b8
push 0x5f6b18
lea ecx, [ebp - 0xc]
call fcn.00407c20
mov dword [ebp - 4], 0xffffffff
jmp 0x42c1e8
cmp dword [ebp - 0x28], 0
jne 0x42c1d4
push 0x5f6b1c
lea ecx, [ebp - 0xc]
call fcn.00407c20
mov dword [ebp - 4], 0
jmp 0x42c1e8
mov dword [ebp - 4], 1
push 0x5f6b20
lea ecx, [ebp - 0xc]
call fcn.00407c20
lea ecx, [ebp - 8]
call fcn.00407ac0
lea ecx, [ebp - 0x10]
call fcn.00407ac0
xor edx, edx
jne 0x42bfed
lea ecx, [ebp - 0xc]
call fcn.0042ed60
push eax
call fcn.0041cd30
mov ecx, eax
call fcn.00430fd0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0xc]
call fcn.00407ac0
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret