joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8c3f90
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov byte [ebp - 0xc], 0
push 0xc8
push 0
lea eax, [ebp - 0xdc]
push eax
call fcn.008d5570
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
push 0xc8
lea edx, [ebp - 0xdc]
push edx
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x8c4014
push 0x20
lea edx, [ebp - 0xdc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.008d51c0
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x8cdd00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
push 0x9427b8
lea ecx, [ebp - 0x20]
push ecx
call fcn.008d54f5
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
push 0
push 0x1f0003
call dword [sym.imp.kernel32.dll_OpenEventA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x8cde80
cmp dword [0x9352d8], 0
je 0x8cdd63
cmp dword [0x9352dc], 0
je 0x8cdd63
call fcn.008c2940
mov dword [0x9352dc], 0
mov dword [0x95d260], 0
mov eax, dword [0x958588]
push eax
mov ecx, dword [0x95d260]
push ecx
mov edx, dword [0x9594e0]
push edx
call dword [0x95b800]
call dword [0x95bb34]
cmp dword [0x958570], 0
je 0x8cdda2
mov eax, dword [0x958570]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x96162c], 0
je 0x8cddb8
mov ecx, dword [0x96162c]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x9587a4], 0
je 0x8cddce
mov edx, dword [0x9587a4]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x95870c], 0
je 0x8cdde3
mov eax, dword [0x95870c]
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
cmp dword [0x958588], 0
je 0x8cddf9
mov ecx, dword [0x958588]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x958574], 0
je 0x8cde0f
mov edx, dword [0x958574]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x958578], 0
je 0x8cde24
mov eax, dword [0x958578]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x95857c], 0
je 0x8cde3a
mov ecx, dword [0x95857c]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x958580], 0
je 0x8cde50
mov edx, dword [0x958580]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [0x95858c], 0
je 0x8cde65
mov eax, dword [0x95858c]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.kernel32.dll_SetEvent]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0xe
call fcn.008d50de
mov esp, ebp
pop ebp
ret
Function at 0x8ce030
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.008d5e70
add esp, 4
add eax, 0x11
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.008d6960
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x8ce0fb
cmp dword [ebp + 8], 0x30
je 0x8ce099
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10010]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10010]
add ecx, 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10010], ecx
jmp 0x8ce0a2
mov eax, dword [ebp - 8]
mov dword [eax], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
call fcn.008d5d80
add esp, 8
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0xc]
call fcn.008ce4c0
mov byte [ebp - 4], al
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.008d696e
add esp, 4
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x8ce1b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp - 0x114]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0xc]
sub eax, 4
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 0x20], eax
push 0x9427f4
call fcn.0085c880
push eax
push 0x1388
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov edx, dword [ebp - 0x114]
mov dword [edx + 0x24], eax
push 0x942804
call fcn.0085c880
push eax
push 0x1388
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 0x28], eax
mov dword [ebp - 0x108], 0
jmp 0x8ce249
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 4
jge 0x8ce29a
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x94281c
call fcn.0085c880
push eax
lea edx, [ebp - 0x100]
push edx
call fcn.008d54f5
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x114]
mov dword [edx + ecx*4 + 8], eax
jmp 0x8ce23a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov edx, dword [ebp - 0x114]
mov dword [edx + 4], eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x104], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x114]
mov dword [edx + 0x18], eax
cmp dword [ebp - 0x104], 0xb7
je 0x8ce32f
push 8
mov ecx, dword [ebp - 0x114]
call fcn.008ce170
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
push 8
lea eax, [ebp - 0x110]
push eax
push 0
mov ecx, dword [ebp - 0x114]
call fcn.008ce410
mov ecx, dword [ebp - 0x114]
mov esi, dword [ecx + 0x1c]
sub esi, 4
mov ecx, dword [ebp - 0x114]
call fcn.008ce190
sub esi, eax
mov edx, dword [ebp - 0x114]
mov dword [edx + 0x20], esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x8ce6c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x202]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x8ce730
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x8ce701
xor eax, eax
jmp 0x8ce732
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 1
jmp 0x8ce732
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x8ce740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 0x204], ecx
lea eax, [ebp - 0x100]
push eax
push 0xff
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov ecx, dword [ebp - 0x204]
add ecx, 4
push ecx
lea edx, [ebp - 0x100]
push edx
push 0x94282c
lea eax, [ebp - 0x200]
push eax
call fcn.008d54f5
add esp, 0x10
lea ecx, [ebp - 0x200]
push ecx
mov edx, dword [ebp - 0x204]
add edx, 0x103
push edx
call fcn.008d5d80
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
call fcn.008ce6c0
test eax, eax
je 0x8ce7c5
mov eax, dword [ebp - 0x204]
add eax, 0x103
jmp 0x8ce7d0
mov eax, dword [ebp - 0x204]
add eax, 0x103
mov esp, ebp
pop ebp
ret

Function at 0x8cf090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.008d5f00
add esp, 8
test eax, eax
jne 0x8cf143
push 0x100
lea ecx, [ebp - 0x348]
push ecx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x348]
push edx
call fcn.008d5e70
add esp, 4
movsx eax, byte [ebp + eax - 0x349]
cmp eax, 0x5c
jne 0x8cf0f4
lea ecx, [ebp - 0x348]
push ecx
call fcn.008d5e70
add esp, 4
mov byte [ebp + eax - 0x349], 0
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
je 0x8cf122
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x348]
push ecx
push 0x942868
lea edx, [ebp - 0x248]
push edx
call fcn.008d54f5
add esp, 0x10
jmp 0x8cf141
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x348]
push ecx
push 0x942878
lea edx, [ebp - 0x248]
push edx
call fcn.008d54f5
add esp, 0x10
jmp 0x8cf156
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.008d5d80
add esp, 8
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x148], 0xffffffff
je 0x8cf194
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x8cf1a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x94b488
push 0x8d6d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push Ordinal_2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x8cf23e
jmp 0x8cf374
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x8cf260
jmp 0x8cf374
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x8cf280
jmp 0x8cf374
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x8cf2a3
push 0xb
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x8cf374
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x454c
je 0x8cf2c7
push 0xb
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x8cf374
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xbc], 0
jne 0x8cf2f2
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
push 0x714
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x8cf374
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xb8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
mov dword [ebp - 0x44], ecx
cmp dword [ebp + 0x10], 0
je 0x8cf323
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x2c]
jae 0x8cf335
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
push 0x7a
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x8cf374
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.008d5570
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.008d51c0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
call fcn.008cf382
jmp 0x8cf3c6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x8cfe40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1b14
call fcn.008d56f0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
push 0x942a18
lea ecx, [ebp - 0x1914]
call fcn.008cfd80
mov ecx, eax
call fcn.008cfe30
push eax
lea ecx, [ebp - 0x808]
push ecx
call fcn.008d54f5
add esp, 0xc
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x808]
push eax
push reloc.wsock32.dll_getsockname
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x8cff91
mov dword [ebp - 0x80c], 0x1000
lea ecx, [ebp - 0x80c]
push ecx
lea edx, [ebp - 0x180c]
push edx
push 0
push 0
push 0x942a38
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x8cff87
lea ecx, [ebp - 0x180c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.008d5d80
add esp, 8
mov dword [ebp - 0x1810], 4
lea eax, [ebp - 0x1810]
push eax
lea ecx, [ebp - 0x1814]
push ecx
push 0
push 0
push 0x942a44
lea ecx, [ebp - 0x1a14]
call fcn.008cfd80
mov ecx, eax
call fcn.008cfe30
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x8cff87
cmp dword [ebp + 0xc], 0
je 0x8cff5c
cmp dword [ebp - 0x1814], 0
je 0x8cff5c
mov eax, dword [ebp - 0x1814]
push eax
push 0x942a50
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.008d54f5
add esp, 0xc
jmp 0x8cff80
push 0x942a54
lea ecx, [ebp - 0x1b14]
call fcn.008cfd80
mov ecx, eax
call fcn.008cfe30
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.008d5d80
add esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x8d0650
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15ec
call fcn.008d56f0
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
push 0x942b90
lea ecx, [ebp - 0x15ec]
call fcn.008cfd80
mov ecx, eax
call fcn.008cfe30
push eax
push reloc.wsock32.dll_getsockname
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
je 0x8d069f
xor eax, eax
jmp 0x8d0778
mov dword [ebp - 0xc], 0
mov ecx, 1
test ecx, ecx
je 0x8d076b
mov dword [ebp - 0x14ec], 0xff
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x14ec]
push edx
lea eax, [ebp - 0x14e8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
test eax, eax
je 0x8d06ea
jmp 0x8d076b
lea eax, [ebp - 0x13e8]
push eax
lea ecx, [ebp - 0x14e8]
push ecx
call fcn.008d0080
test eax, eax
je 0x8d075d
movsx edx, byte [ebp - 0x1268]
push edx
call fcn.008d6e57
add esp, 4
mov esi, eax
movsx eax, byte [ebp + 8]
push eax
call fcn.008d6e57
add esp, 4
cmp esi, eax
jne 0x8d075d
cmp dword [ebp + 0xc], 0
je 0x8d073d
lea ecx, [ebp - 0x14e8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.008d5d80
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x8d0754
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 0x13e8]
mov ecx, 0x4f5
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], 1
jmp 0x8d076b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x8d06a6
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x8d0f10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb18
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x914]
call fcn.008d1080
push 0x13d5
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.008d5570
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
cmp dword [ebp + 0xc], 0
je 0x8d0fd1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.008d0c70
test eax, eax
je 0x8d0fcf
push 0x942d70
lea ecx, [ebp - 0xa14]
call fcn.008cfd80
mov ecx, eax
call fcn.008cfe30
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.008d5d90
add esp, 8
mov edx, dword [ebp + 0x10]
add edx, 0x381
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.008d5d90
add esp, 8
mov ecx, dword [ebp + 0x10]
add ecx, 0x7d5
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.008cf3e0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x914]
call fcn.008d1790
mov dword [ebp - 4], eax
jmp 0x8d104b
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov dl, byte [ebp + 8]
push edx
call fcn.008d0650
test eax, eax
je 0x8d104b
push 0x942d80
lea ecx, [ebp - 0xb14]
call fcn.008cfd80
mov ecx, eax
call fcn.008cfe30
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.008d5d90
add esp, 8
mov ecx, dword [ebp + 0x10]
add ecx, 0x381
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.008d5d90
add esp, 8
mov eax, dword [ebp + 0x10]
add eax, 0x7d5
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.008cf3e0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x914]
call fcn.008d1790
mov dword [ebp - 4], eax
lea eax, [ebp - 0x904]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.008d5d80
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0xb18], edx
lea ecx, [ebp - 0x914]
call fcn.008d1c80
mov eax, dword [ebp - 0xb18]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x8d47a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x95892c], eax
push 0x40
mov eax, dword [0x95892c]
push eax
push 0x9588e8
call fcn.008d51c0
add esp, 0xc
mov ecx, dword [0x958924]
mov dword [0x958934], ecx
mov dword [0x958944], 1
push 0x958928
push 4
mov edx, dword [0x958934]
push edx
mov eax, dword [0x95892c]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x8d480a
xor eax, eax
jmp 0x8d4811
push 1
call fcn.008d4430
mov esp, ebp
pop ebp
ret
Function at 0x8d4e30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x8d4e64
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 8]
jae 0x8d4ed7
cmp dword [ebp + 0x10], 0
je 0x8d4ea1
cmp dword [ebp - 0x14], 1
jbe 0x8d4ea1
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx - 2]
cmp eax, 0xff
jne 0x8d4ea1
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx - 1]
cmp edx, 0x15
jne 0x8d4ea1
mov dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 0
ja 0x8d4ecc
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
xor edx, dword [ebp - 0xc]
and edx, 0xff
xor eax, dword [edx*4 + 0x948134]
mov dword [ebp - 0xc], eax
jmp 0x8d4ed5
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
jmp 0x8d4e5b
mov ecx, dword [ebp - 0xc]
xor ecx, 0xffffffff
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x8dbf54
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x94ac68
cmp edx, dword [eax]
je 0x8dbf76
add eax, 8
inc ecx
cmp eax, 0x94acf8
jl 0x8dbf67
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x94ac68]
jne 0x8dc0a4
mov eax, dword [0x9589c0]
cmp eax, 1
je 0x8dc07e
test eax, eax
jne 0x8dbfa7
cmp dword [0x948594], 1
je 0x8dc07e
cmp edx, 0xfc
je 0x8dc0a4
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x8dbfde
lea eax, [ebp - 0x1a4]
push 0x94ba58
push eax
call fcn.008d5d80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.008d5e70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x8dc021
lea eax, [ebp - 0x1a4]
push eax
call fcn.008d5e70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x94ba54
push edi
call fcn.008d61d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x94ba38
push eax
call fcn.008d5d80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.008d5d90
lea eax, [ebp - 0xa0]
push 0x94ba34
push eax
call fcn.008d5d90
push dword [esi + 0x94ac6c]
lea eax, [ebp - 0xa0]
push eax
call fcn.008d5d90
push 0x12010
lea eax, [ebp - 0xa0]
push 0x94ba0c
push eax
call fcn.008ddafa
add esp, 0x2c
pop edi
jmp 0x8dc0a4
lea eax, [ebp + 8]
lea esi, [esi + 0x94ac6c]
push 0
push eax
push dword [esi]
call fcn.008d5e70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100017b0
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0xc], 0
call fcn.10001710
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x100018b8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x100018b8
movaps xmm0, xmmword [0x1009fc00]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x122c2d2b
mov dword [ebp - 0x24], 0x27212d30
mov word [ebp - 0x20], 0x3131
mov byte [ebp - 0x1e], 0
nop
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x10001820
push ebx
mov byte [ebp - 0x1c], 0xb
mov al, 0x65
xor al, byte [ebp - 0x1c]
mov bl, 0x67
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov dl, 0x6f
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
mov byte [ebp - 0x12], 0
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov dh, dl
mov byte [ebp - 0x18], bl
xor dl, al
mov byte [ebp - 0x14], bh
xor dh, al
mov byte [ebp - 0x19], dl
mov cl, 0x7f
mov byte [ebp - 0x15], dh
xor cl, al
mov byte [ebp - 0x12], 0
mov ch, 0x25
mov byte [ebp - 0x1a], cl
xor ch, al
mov al, byte [ebp - 0xd]
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x16], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x100018cb
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x100018cb
cmp dword [ebp - 0xc], 0
je 0x100018cb
push 9
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10067570
mov esp, ebp
pop ebp
ret