joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e740
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x459074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x41e753
xor ecx, ecx
jne 0x41e757
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
ja 0x41e794
jb 0x41e789
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x1c]
jae 0x41e794
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x41e7c7
call fcn.0041e920
jmp 0x41e85a
cmp dword [ebp + 0xc], 0
jne 0x41e7db
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
jmp 0x41e7e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x14], eax
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x41e858
call fcn.0041e920
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
jmp 0x41e85a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421720
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41f110
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f173
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41f169
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41f180
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f1e3
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41f1d9
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41f1f0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4571e0
push 0x4230c0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffcc
mov eax, dword [0x459074]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041ef10
add esp, 4
test eax, eax
jne 0x41f23d
mov eax, 1
jmp 0x41f2d4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x41f273
jmp 0x41f2ae
push 0x10020
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x41f291
jmp 0x41f2ae
lea eax, [ebp - 0x38]
push eax
push 1
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041f2bc
jmp 0x41f2d1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00421720
mov esp, ebp
pop ebp
ret
Function at 0x41f330
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x459074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
je 0x41f34f
cmp dword [ebp + 0x1c], 1
jne 0x41f362
cmp dword [ebp + 0x14], 0
jne 0x41f362
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
je 0x41f3dc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.Drivers
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41f3bd
xor eax, eax
jmp 0x41f505
mov edx, dword [ebp + 0x14]
push edx
push str.System32Drivers
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea ecx, [ebp - 0x310]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041f5a0
add esp, 0x20
test eax, eax
jne 0x41f40f
xor eax, eax
jmp 0x41f505
cmp dword [ebp + 0x30], 0
je 0x41f500
mov ecx, dword [ebp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41f500
mov edx, dword [ebp + 8]
push edx
push str.SYSTEMControlSet001Services
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push str.Instances
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
push 0x455054
push str.DefaultInstance
lea edx, [ebp - 0x108]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041f8e0
add esp, 0x14
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f486
xor eax, eax
jmp 0x41f505
push str.AltitudeAndFlags
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
mov ecx, dword [ebp + 0x30]
push ecx
push str.Altitude
lea edx, [ebp - 0x108]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041f8e0
add esp, 0x14
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f4ca
xor eax, eax
jmp 0x41f505
push 0
push 4
lea eax, [ebp + 0x34]
push eax
push 4
push str.Flags
lea ecx, [ebp - 0x108]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041f7e0
add esp, 0x1c
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f500
xor eax, eax
jmp 0x41f505
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421720
mov esp, ebp
pop ebp
ret
Function at 0x41f690
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0x10
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f6f0
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41f6e6
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41f7e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x459074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x20], 0
je 0x41f82f
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 0x20]
movsx ecx, byte [eax + edx]
test ecx, ecx
je 0x41f82f
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41f82f
jmp 0x41f8af
cmp dword [ebp + 0xc], 0
je 0x41f880
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41f868
jmp 0x41f8af
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 8]
je 0x41f87a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41f8a7
jmp 0x41f8af
xor ecx, ecx
jne 0x41f7f6
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 8]
je 0x41f8c1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421720
mov esp, ebp
pop ebp
ret

Function at 0x431f22
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00431d98
Function at 0x406c90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x412700]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call sub.KERNEL32.dll_Process32First
nop
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x406cfc
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
jmp 0x406d50
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x406d41
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x406d3f
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
jmp 0x406d50
jmp 0x406cfc
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408dd7
mov esp, ebp
pop ebp
ret

Function at 0x409c82
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409cc1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409cc1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409cc1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409cc1
cmp dword [ecx + 0x74], 0xe
jbe 0x409cc1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402f50
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b8767c], 3
jne 0x402f76
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x403180
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x2b8767c]
mov ecx, dword [0x2b84588]
shr eax, 3
sub esp, 0x808
test eax, eax
jbe 0x403253
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b8767c], 0x959
jne 0x403235
push 0
call esi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00402fc0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4031c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x408cc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430c30]
jne 0x408cca
repz ret
jmp fcn.0040b7dc

Function at 0x40afa7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405157
and dword [ebp - 4], 0
cmp dword [0x431fc4], 0
mov ebx, eax
jne 0x40b058
push 0x402ac4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b109
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ab8
push edi
call esi
test eax, eax
je 0x40b109
push eax
call fcn.004050e5
mov dword [esp], 0x402aa8
push edi
mov dword [0x431fc4], eax
call esi
push eax
call fcn.004050e5
mov dword [esp], 0x402a94
push edi
mov dword [0x431fc8], eax
call esi
push eax
call fcn.004050e5
mov dword [esp], 0x402a78
push edi
mov dword [0x431fcc], eax
call esi
push eax
call fcn.004050e5
pop ecx
mov dword [0x431fd4], eax
test eax, eax
je 0x40b058
push 0x402a60
push edi
call esi
push eax
call fcn.004050e5
pop ecx
mov dword [0x431fd0], eax
mov eax, dword [0x431fd0]
cmp eax, ebx
je 0x40b0b0
cmp dword [0x431fd4], ebx
je 0x40b0b0
push eax
call fcn.00405160
push dword [0x431fd4]
mov esi, eax
call fcn.00405160
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b0b0
test edi, edi
je 0x40b0b0
call esi
test eax, eax
je 0x40b0a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b0a7
test byte [ebp - 0xc], 1
jne 0x40b0b0
or dword [ebp + 0x10], 0x200000
jmp 0x40b0e9
mov eax, dword [0x431fc8]
cmp eax, ebx
je 0x40b0e9
push eax
call fcn.00405160
pop ecx
test eax, eax
je 0x40b0e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b0e9
mov eax, dword [0x431fcc]
cmp eax, ebx
je 0x40b0e9
push eax
call fcn.00405160
pop ecx
test eax, eax
je 0x40b0e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431fc4]
call fcn.00405160
pop ecx
test eax, eax
je 0x40b109
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b10b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003810
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x58
lea eax, [ebp - 0x5c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 4
lea eax, [ebp + 8]
mov dword [ebp - 0x5c], 0x67452301
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 0xefcdab89
push eax
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.10003740
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10003030
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, dword [ebp - 0x66]
xor ecx, ebp
call fcn.100212f9
mov esp, ebp
pop ebp
ret

Function at 0x100045d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x94]
push edi
push eax
mov ecx, dword [esi + 0x18]
call fcn.100209f0
cmp dword [esi + 0x18], 0
je 0x10004614
mov ebx, dword [ebp - 0x90]
mov edi, dword [esi + 4]
add ebx, 0x1d
add edi, dword [ebp - 0x94]
add ebx, dword [esi + 8]
jmp 0x10004620
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x98], 0xc8282828
push dword [ebp - 0x98]
mov dword [ebp - 0x88], 0xc81e1e1e
push dword [ebp - 0x88]
push dword [esi + 0x10]
push dword [esi + 0xc]
push ebx
push edi
call fcn.1001d160
add esp, 0x18
cmp byte [ebp + 8], 0
je 0x10004694
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x88], 0xff282828
sub eax, 4
push dword [ebp - 0x88]
mov dword [ebp - 0x98], 0xc81e1e1e
push dword [ebp - 0x98]
push eax
mov eax, dword [esi + 0xc]
sub eax, 4
push eax
lea eax, [ebx + 2]
push eax
lea eax, [edi + 2]
push eax
call fcn.1001d160
add esp, 0x18
cmp byte [esi + 0x3c], 0
je 0x100046a1
mov eax, str._Press_A_Key_
jmp 0x100046d5
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x100046d0
mov eax, dword [ecx*4 + 0x1002b810]
test eax, eax
jne 0x100046d5
push 0x7f
lea eax, [ebp - 0x84]
shl ecx, 0x10
push eax
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
lea eax, [ebp - 0x84]
jne 0x100046d5
mov eax, str.No_Key_Bound
push eax
push dword [0x100320cc]
mov dword [ebp - 0x88], 0xff646464
lea eax, [ebx + 2]
push dword [ebp - 0x88]
push eax
lea eax, [edi + 2]
push eax
call fcn.1001d5e0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100212f9
mov esp, ebp
pop ebp
ret 4

Function at 0x10005f70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
or eax, 0xffffffff
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10005f9b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1002bc10]
sub esi, 1
jne 0x10005f81
not eax
pop esi
pop ebp
ret
Function at 0x10006760
Capabilities:
Create thread
Hide thread from debugger
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
push ebx
mov ebx, dword [ebp + 8]
jne 0x10006833
push esi
push edi
push 0x6282b2af
lea ecx, [ebp - 0x10]
call fcn.10006200
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
sete al
test al, al
je 0x100067ac
push 0x12c
call edi
push 0x29109209
lea ecx, [ebp - 0x10]
call fcn.10006100
push eax
call esi
test eax, eax
sete al
test al, al
je 0x100067cc
push 0x12c
call edi
push str.NtSetInformationThread
push str.ntdll.dll
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x100067f4
push 0
push 0
push 0x11
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov edi, 0x10025fe0
lea ecx, [ebp - 0x10]
sub edi, 0x9d7e1df
push edi
call fcn.10006090
push eax
call esi
test eax, eax
je 0x10006846
push 0
push 0
push 0
push 0x100062f0
push 0
push 0
mov dword [0x1002ca78], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.100212f9
mov esp, ebp
pop ebp
ret 0xc
push edi
lea ecx, [ebp - 0x10]
call fcn.10006090
push eax
call esi
test eax, eax
sete al
test al, al
je 0x10006831
push 0x8ef56974
lea ecx, [ebp - 0x2c]
call fcn.10006050
mov ecx, str.nSUN
mov esi, eax
sub ecx, 0x2a5e6147
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10006010
push 0
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x10016300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100239a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1002c270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x1001634f
mov eax, dword [esi]
jmp 0x10016351
mov eax, esi
mov byte [eax], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 0
call fcn.10003d60
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
call fcn.10003bc0
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 2
call fcn.10003c60
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 3
call fcn.10003bc0
lea ecx, [esi + 0x144]
mov byte [ebp - 4], 4
call fcn.10003bc0
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 5
call fcn.10003e20
lea ecx, [esi + 0x1c8]
mov byte [ebp - 4], 6
call fcn.10003bc0
lea ecx, [esi + 0x204]
mov byte [ebp - 4], 7
call fcn.10003bc0
lea ecx, [esi + 0x240]
mov byte [ebp - 4], 8
call fcn.10003bc0
lea ecx, [esi + 0x27c]
mov byte [ebp - 4], 9
call fcn.10003bc0
lea ecx, [esi + 0x2b8]
mov byte [ebp - 4], 0xa
call fcn.10003bc0
lea ecx, [esi + 0x2f4]
mov byte [ebp - 4], 0xb
call fcn.10003d20
lea ecx, [esi + 0x334]
mov byte [ebp - 4], 0xc
call fcn.10003bc0
lea ecx, [esi + 0x370]
mov byte [ebp - 4], 0xd
call fcn.10003c60
lea ecx, [esi + 0x3c4]
mov byte [ebp - 4], 0xe
call fcn.10003c10
lea ecx, [esi + 0x410]
mov byte [ebp - 4], 0xf
call fcn.10003bc0
lea ecx, [esi + 0x44c]
mov byte [ebp - 4], 0x10
call fcn.10003c10
lea ecx, [esi + 0x498]
mov byte [ebp - 4], 0x11
call fcn.10003c10
lea ecx, [esi + 0x4e4]
mov byte [ebp - 4], 0x12
call fcn.10003bc0
lea ecx, [esi + 0x520]
mov byte [ebp - 4], 0x13
call fcn.10003e20
lea ecx, [esi + 0x568]
mov byte [ebp - 4], 0x14
call fcn.10003c60
lea ecx, [esi + 0x5bc]
mov byte [ebp - 4], 0x15
call fcn.10003bc0
lea ecx, [esi + 0x5f8]
mov byte [ebp - 4], 0x16
call fcn.10003bc0
lea ecx, [esi + 0x634]
mov byte [ebp - 4], 0x17
call fcn.10003bc0
lea ecx, [esi + 0x670]
mov byte [ebp - 4], 0x18
call fcn.10003bc0
lea ecx, [esi + 0x6ac]
mov byte [ebp - 4], 0x19
call fcn.10003bc0
lea ecx, [esi + 0x6e8]
mov byte [ebp - 4], 0x1a
call fcn.10003e20
lea ecx, [esi + 0x730]
mov byte [ebp - 4], 0x1b
call fcn.10003bc0
lea ecx, [esi + 0x76c]
mov byte [ebp - 4], 0x1c
call fcn.10003bc0
lea ecx, [esi + 0x7a8]
mov byte [ebp - 4], 0x1d
call fcn.10003bc0
lea ecx, [esi + 0x7e4]
mov byte [ebp - 4], 0x1e
call fcn.10003e20
lea ecx, [esi + 0x82c]
mov byte [ebp - 4], 0x1f
call fcn.10003c60
lea ecx, [esi + 0x880]
mov byte [ebp - 4], 0x20
call fcn.10003bc0
lea ecx, [esi + 0x8bc]
mov byte [ebp - 4], 0x21
call fcn.10003c10
lea ecx, [esi + 0x908]
mov byte [ebp - 4], 0x22
call fcn.10003c10
lea ecx, [esi + 0x954]
mov byte [ebp - 4], 0x23
call fcn.10003bc0
lea ecx, [esi + 0x990]
mov byte [ebp - 4], 0x24
call fcn.10003bc0
lea ecx, [esi + 0x9cc]
mov byte [ebp - 4], 0x25
call fcn.10003bc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret