joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454a04
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x470c54]
cmp dword [eax + 0x30], 0
je 0x454aae
cmp dword [ebx + 0x94], 0
jne 0x454aa8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454994
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454aa8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454a6e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454aa8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b83c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454a7d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45558c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4555c1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404548
jmp 0x4555ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044ac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456480
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4564c1
mov eax, esi
call fcn.0043cbb8
test al, al
je 0x4564c1
mov eax, dword [ebx + 0x84]
call fcn.0043c8b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4564c1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c8b4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459c00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x459c2e
mov eax, ebx
call fcn.0045a6b8
cmp dword [ebx + 0x3c], 0
je 0x459c27
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x459c9f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x459c91
cmp dword [ebx + 8], 0
je 0x459c50
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x459c62
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x459c91
cmp dword [ebx + 8], 0
je 0x459c43
cmp eax, 3
je 0x459c75
dec eax
jne 0x459c43
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x459c43
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x459c43
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x459cbd
cmp dword [ebx + 0x10], 0xcc
je 0x459cbd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00459cc8
pop ebx
ret
Function at 0x46bd8c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x46be74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404458
lea eax, [ebp - 0x194]
push eax
mov dl, 1
mov al, 1
call fcn.00407254
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x46be5e
xor edx, edx
push ebp
push 0x46be57
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, esi
call fcn.004044f0
cmp dword [ebp - 4], 0
jne 0x46be11
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00404a94
push 0x104
mov eax, dword [ebp - 4]
call fcn.00404908
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.00404908
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x46be44
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
push dword [ebp - 0x1a0]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be5e
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be7b
lea eax, [ebp - 4]
call fcn.00404458
ret

Function at 0x46c7a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov eax, dword [ebp - 4]
call fcn.004048f8
xor eax, eax
push ebp
push 0x46c818
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
push 0x46c828
mov eax, dword [ebp - 4]
call fcn.00404908
push eax
mov eax, ebx
call fcn.00404908
push eax
push 0x46c82c
mov eax, dword [0x46f8dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
test eax, eax
jns 0x46c7fc
call fcn.0040360c
cmp eax, 0x20
setg bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c81f
lea eax, [ebp - 4]
call fcn.00404458
ret
Function at 0x402b54
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x408014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402bec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402bcc
xor eax, eax
push ebp
push 0x402bc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402bcc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x408014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x408014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403498
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x409044], 0
je 0x4034f9
cmp word [0x409218], 0xd7b2
jne 0x4034c1
cmp dword [0x409220], 0
jbe 0x4034c1
mov eax, 0x409214
call dword [0x409230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40805c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403520
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x408020], 0
jne 0x403515
push 0
push 0x408054
push 0x40805c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x403e28
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404058
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403eab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404058
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403eab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404074
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403f34
xor eax, eax
push ebp
push 0x403f2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403c70
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f12
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404094
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f12
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f34
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40404e
cmp byte [ebp - 0xd], 0
jne 0x403f7b
cmp byte [ebp - 0x12], 0
je 0x40404e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403f94
dec ebx
cmp byte [ebx], 0x2e
je 0x403fa3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403f93
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40404e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403fe0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40404e
cmp byte [ebp - 0xd], 0
je 0x40404e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40404e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403f34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404058
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403eab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404058
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403eab
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404074
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403f34
xor eax, eax
push ebp
push 0x403f2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403c70
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f12
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404094
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f12
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f34
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40404e
cmp byte [ebp - 0xd], 0
jne 0x403f7b
cmp byte [ebp - 0x12], 0
je 0x40404e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403f94
dec ebx
cmp byte [ebx], 0x2e
je 0x403fa3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403f93
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40404e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403fe0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40404e
cmp byte [ebp - 0xd], 0
je 0x40404e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40404e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4041e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40424a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040385c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402748
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404234
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404251
lea eax, [ebp - 0x10]
call fcn.00403614
ret

Function at 0x406010
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406049
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403704
jmp 0x406052
mov eax, ebx
mov edx, esi
call fcn.00403668
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40605c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40607d
mov al, byte [esp]
jmp 0x40607f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406704
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40657c
mov eax, dword [0x4083ac]
cmp byte [eax], 0
je 0x406780
mov eax, dword [0x408308]
call fcn.004026c4
call fcn.004025ec
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405504
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4067c8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4067b6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4082e8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x409660]
call fcn.00403c34
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407174
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4071d8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040385c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004053d8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4071df
lea eax, [ebp - 0xc]
call fcn.00403614
ret

Function at 0x407cf8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
xor eax, eax
push ebp
push 0x407dba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
mov edx, 0x44
call fcn.004045b0
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x50], 0xc
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x5c], 0xc
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0xffffffff
push 0x409798
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0x4000000
push 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
mov edx, 0x407dc8
call fcn.004037f0
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.004077e0
lea eax, [ebp - 0x60]
mov edx, 0x407dd8
call fcn.00403890
mov eax, dword [ebp - 0x60]
call fcn.00403960
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407dc1
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00403638
ret
Function at 0x401c6b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.00401c2d
mov edi, eax
cmp edi, esi
je 0x401cab
cmp dword [ebp - 4], esi
je 0x401ca4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x401d48
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x401d1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.00401c6b
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x401d09
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x401cce
cmp dword [ebp - 4], esi
je 0x401d17
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x401d48
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x401d2f
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x401d46
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40391d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
test byte [esi + 0x50], 1
je 0x403982
test byte [esi + 0xa5], 2
lea edi, [esi + 0xa4]
je 0x403982
call dword [sym.imp.USER32.dll_ReleaseCapture]
and byte [edi + 1], 0xfd
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
add eax, 0xfffffff2
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, 0xe
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4039a2
mov ecx, esi
call fcn.004035dc
jmp 0x4039a2
mov eax, dword [esi + 0x70]
xor edi, edi
cmp dword [eax - 8], edi
je 0x4039a2
mov ecx, esi
call fcn.004035dc
push 1
push edi
push edi
push dword [esi + 0x70]
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
leave
ret 0xc

Function at 0x403af8
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
jne 0x403b19
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esi + 0x20]
push 0
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 0x44], eax
pop esi
ret

Function at 0x40455f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
call fcn.004044e3
test eax, eax
jne 0x404589
push edi
push edi
push 0xc0000000
push 2
mov ecx, esi
call fcn.004044e7
test eax, eax
je 0x4045ae
cmp dword [ebp + 8], edi
je 0x4045ae
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4045a9
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
jmp 0x4045b0
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x4045d5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 4]
push ebx
push esi
cmp eax, 0xffffffff
push edi
mov dword [ebp - 0xc], ecx
je 0x404647
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor ebx, ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 8]
push ebx
push ecx
lea ecx, [ebp - 1]
push 1
push ecx
push eax
mov byte [ebp - 1], bl
call esi
cmp dword [ebp - 8], ebx
jne 0x40460e
xor eax, eax
jmp 0x40464a
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 8]
cmp eax, dword [ecx]
jae 0x404647
mov al, byte [ebp - 1]
cmp edi, dword [ebp + 8]
mov byte [edi], al
jbe 0x40462e
cmp al, 0xa
jne 0x40462e
cmp byte [edi - 1], 0xd
je 0x404647
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
mov eax, dword [ebp - 0xc]
inc edi
push dword [eax + 4]
call esi
cmp dword [ebp - 8], ebx
jne 0x40460e
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x404651
Capabilities:
Check mutex on windows

Disassembly:
push dword [esp + 4]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x404676
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
ret
xor eax, eax
ret
Function at 0x40694e
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x416ea0], 2
jne 0x40696a
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop ebp
ret
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop ebp
ret

Function at 0x407299
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 8]
lea ecx, [esi + 0x3c]
push eax
call fcn.004077fa
pop esi
ret 4

Function at 0x4072b9
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x240]
cmp edi, eax
jne 0x4072d0
push 1
pop eax
jmp 0x40730c
mov ecx, dword [esi + 0x40]
test edi, edi
jl 0x40730a
cmp edi, ecx
jge 0x40730a
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jl 0x4072f4
cmp eax, ecx
jge 0x4072f4
mov ecx, dword [esi + 0x3c]
push 0
push dword [ecx + eax*4]
call ebx
mov eax, dword [esi + 0x3c]
push 5
mov dword [esi + 0x240], edi
push dword [eax + edi*4]
call ebx
push 1
pop eax
pop ebx
jmp 0x40730c
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x40732d
Capabilities:
Create thread
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push 7
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x27]
mov byte [ebp - 0x28], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
call fcn.0040cc1b
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push 0x416b70
push eax
call fcn.0040c69b
add esp, 0x10
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push 0xf003f
push str.SOFTWARECNNICCDNCN
push 0x80000001
call fcn.00401c2d
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4073b9
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
push str.uninstime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], ebx
je 0x4073b9
push dword [ebp - 4]
call edi
mov dword [ebp - 4], ebx
lea eax, [esi + 0x12c]
push eax
push ebx
push esi
push 0x4075c5
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 4], ebx
je 0x4073d9
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
leave
ret