joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005670
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1011c760]
push ebx
push esi
push edi
test eax, eax
js 0x1000577d
cmp eax, 1
jge 0x1000577d
mov esi, eax
imul esi, esi, 0x214
add esi, 0x1011c54c
push str..DATAVGUARD_LOG
inc eax
lea ebx, [esi + 4]
push 0x100
mov dword [0x1011c760], eax
push ebx
mov dword [esi], 1
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
cmp dword [esi], 0
je 0x1000577d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
push eax
push ecx
push edx
push ebx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10005758
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1000577d
mov ecx, dword [esi + 0x210]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x10005790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x10005987
cmp eax, dword [ecx + 0x218]
jge 0x10005987
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x10005987
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x812]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp ecx, dword [esi + 0x104]
jne 0x10005816
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x10005816
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x100058d3
mov ecx, dword [esi + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x812]
movzx ecx, word [ebp - 0x816]
movzx edx, word [ebp - 0x818]
push eax
push ecx
push edx
mov dword [esi + 0x10c], edx
lea edx, [esi + 4]
push edx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
call ebx
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x1000589d
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100058d3
mov eax, dword [esi + 0x210]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x807]
push 0
push ecx
mov byte [ebp - 0x808], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x80c]
movzx edx, word [ebp - 0x80e]
lea eax, [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x810]
push ecx
push edx
push eax
lea ecx, [ebp - 0x408]
push str._02d:_02d:_02d__s_r_n
push ecx
call ebx
lea eax, [ebp - 0x408]
add esp, 0x40
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005960
mov ecx, dword [esi + 0x210]
sub eax, edx
push 0
lea edx, [ebp - 0x81c]
push edx
push eax
lea eax, [ebp - 0x408]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret

Function at 0x100059d0
Capabilities:
Create thread

Disassembly:
cmp dword [0x10126bf4], 0
je 0x10005a16
mov eax, dword [0x10126b80]
push 0x10126f04
mov dword [0x1011c768], eax
xor eax, eax
push eax
push 0x1011c764
push 0x10005b00
push eax
push eax
mov dword [0x1011c770], eax
mov dword [0x1011c774], eax
mov dword [0x1011c778], eax
mov dword [0x1011c77c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1011c76c], eax
ret
Function at 0x10005a20
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x10126c18], 0
je 0x10005a3d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10126c18]
cmp eax, dword [ecx]
jne case.0x10005a73.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x1011c770]
cmp eax, 0x1388
jb 0x10005a68
call edi
mov dword [esi*4 + 0x1011c770], eax
mov dword [esi*4 + 0x1011c778], 0
mov eax, dword [0x10126bf8]
pop edi
cmp eax, 5
ja case.default.0x10005a73
jmp dword [eax*4 + 0x10005ae0]
inc dword [esi*4 + 0x1011c778]
cmp dword [esi*4 + 0x1011c778], 0x19
jmp 0x10005acd
inc dword [esi*4 + 0x1011c778]
cmp dword [esi*4 + 0x1011c778], 0x14
jmp 0x10005acd
inc dword [esi*4 + 0x1011c778]
cmp dword [esi*4 + 0x1011c778], 0xf
jmp 0x10005acd
inc dword [esi*4 + 0x1011c778]
cmp dword [esi*4 + 0x1011c778], 0xa
jmp 0x10005acd
inc dword [esi*4 + 0x1011c778]
cmp dword [esi*4 + 0x1011c778], 5
jbe case.0x10005a73.0
push 0
push 0
push 9
call fcn.10003040
add esp, 0xc
ret

Function at 0x10005ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005d13
lea ecx, [ebp - 8]
push ecx
push 0x1011c784
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10005d09
push 0x10018b94
push 0x10
push 0x1011c784
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x10006030
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1000613f
push 0x104
lea eax, [ebp - 0x418]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10006138
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.1000d180
add esp, 4
test al, al
je 0x10006138
lea edx, [ebp - 0x458]
push edx
lea ecx, [ebp - 0x210]
call fcn.100051c0
test al, al
jne 0x100060cd
push esi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.10003040
add esp, 0xc
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.10005530
test al, al
jne 0x10006106
push esi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.10003040
add esp, 0xc
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.100040a0
test al, al
jne 0x10006138
push esi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.10003040
add esp, 0xc
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x100064b0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1594
call fcn.10012670
mov eax, dword [0x1001c018]
xor eax, esp
mov dword [esp + 0x1590], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x150]
xor edi, edi
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000650a
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1590]
xor ecx, esp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
shr esi, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
cmp esi, edi
jle 0x100065f9
lea eax, [esp + edi*4 + 0x148]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, eax
je 0x100065ec
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x100065e5
push 0x104
lea edx, [esp + 0x118c]
push edx
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100065e5
lea esi, [esp + 0x1188]
call fcn.1000d420
push eax
lea eax, [esp + 0x114c]
push 0x10018874
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x139c]
push ecx
mov ecx, esi
call fcn.1000d180
add esp, 0x10
test al, al
je 0x100065e1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, 8
lea esi, [esp + 0x1148]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1390]
push ecx
lea edx, [esp + 0x48]
push 0x10018be8
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.10006ab0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [esp + 0x10], edi
cmp edi, esi
jl 0x10006521
mov ecx, dword [esp + 0x159c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x100070c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.10012670
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
mov dword [ebp - 0x1014], 0
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10007114
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1014]
shr eax, 2
xor ecx, ecx
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1010], eax
test eax, eax
jle 0x100071f0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + ecx*4 - 0x1008]
test esi, esi
je 0x100071db
push 0x10126e9c
mov dword [ebp - 0x101c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [ebp - 0x101c]
lea eax, [ebp - 0x1018]
mov ecx, 0x10126eb4
call fcn.10007a10
mov eax, dword [ebp - 0x1018]
push 0x10126e9c
cmp eax, dword [0x10126eb8]
je 0x10007198
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1020], edx
mov dword [ebp - 0x101c], eax
call edi
jmp 0x100071d5
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call fcn.100074e0
mov esi, dword [ebp - 0x100c]
mov ecx, dword [ebp + esi*4 - 0x1008]
call fcn.10007210
test al, al
je 0x10007101
mov esi, dword [ebp + esi*4 - 0x1008]
call fcn.10006030
test al, al
je 0x10007101
mov eax, dword [ebp - 0x1010]
mov ecx, dword [ebp - 0x100c]
inc ecx
mov dword [ebp - 0x100c], ecx
cmp ecx, eax
jl 0x10007139
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret

Function at 0x100072c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10012670
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x10007311
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x10007376
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x10007371
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10007368
test dl, dl
je 0x10007364
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10007368
add eax, 2
add ecx, 2
test dl, dl
jne 0x10007348
xor eax, eax
jmp 0x1000736d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000738a
inc esi
cmp esi, edi
jl 0x10007320
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10011ccc
mov esp, ebp
pop ebp
ret 4
Function at 0x100073a0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x100073dc
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100073e3
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x10018ce4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100073ce
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x100073ce
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x100073d6
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x10008700
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [edi + 0x4e2c]
mov eax, str..DATA_vGuard.js
call fcn.10001240
test al, al
je 0x10008773
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..DATA_vGuard.js
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10008773
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e28
je 0x10008785
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4e28
lea esi, [edi + 4]
push esi
push ebx
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000876c
mov eax, esi
mov esi, 0x4e28
mov dl, byte [eax]
add dl, 0x1f
xor dl, 0x2a
mov byte [eax], dl
inc eax
dec esi
jne 0x100087b3
call fcn.10005ca0
lea eax, [edi + 0xd4]
call fcn.10005d20
lea eax, [edi + 0x1a9c]
call fcn.10005d80
lea eax, [edi + 0x3464]
call fcn.10005de0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x4e34], esi
pop esi
xor ecx, ebp
mov byte [edi + 0x4e30], 0
mov al, 1
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x10009020
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012b88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1001c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101263c8]
cmp eax, 0x927c0
jb 0x10009063
call esi
mov dword [0x101263c8], eax
xor esi, esi
cmp dword [0x101263ac], esi
je 0x100090f5
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edx, dword [0x101263b0]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x101263a8
call fcn.10008cf0
mov edi, dword [ebp - 0x20]
test al, al
je 0x100090ca
cmp edi, dword [ebp - 0x1c]
je 0x100090ca
lea ecx, [ebp - 0x20]
call fcn.10009110
mov edi, dword [ebp - 0x20]
jmp 0x100090dd
push str.SOMETHING_WENT_WRONG._Terrible_sorry...
push esi
mov ecx, 0x1011c548
call fcn.10005790
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x100090f5
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a610
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x1011c548
call fcn.10005790
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x14
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0x100
push 0
push 0x10127250
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10015600]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127250], cl
inc eax
cmp eax, 0x100
jb 0x1000a690
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push 0x10018870
push 0x10127250
push 0
mov ecx, 0x1011c548
call fcn.10005790
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x1000a710
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10019bf0
push 0x10012190
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1001c018]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x1000a8c2
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
push esi
lea ecx, [ebp - 0x150]
push ecx
push 8
lea edx, [ebp - 0x140]
push edx
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call ebx
test eax, eax
jne 0x1000a7f4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a8c2
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.10011c60
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x138]
push edx
push 0x2d1400
push edi
call ebx
test eax, eax
jne 0x1000a853
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x1000a8c2
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000a840
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000a8c4
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x1000ae40
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10126ba0]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x254], ebx
cmp dword [eax + 0xc08], ebx
jbe 0x1000afb1
push 0x40
lea esi, [ebx + eax + 0xc10]
lea eax, [ebp - 0x48]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1000af1f
push 0x104
lea edx, [ebp - 0x250]
push edx
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000af18
lea eax, [ebp - 0x250]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000aec1
sub eax, edx
sar eax, 1
test eax, eax
jle 0x1000af01
cmp word [ebp + eax*2 - 0x250], 0x5c
je 0x1000aee6
dec eax
test eax, eax
jg 0x1000aed4
jmp 0x1000af01
lea eax, [ebp + eax*2 - 0x24e]
push eax
push 0x208
push 0x10127048
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
push 0x10127048
lea ecx, [ebp - 0x48]
push 0x10018874
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
cmp dword [esi + 8], eax
je 0x1000af78
mov edx, dword [esi]
cmp edx, dword [0x10126b9c]
jb 0x1000af44
call edi
cmp dword [esi + 4], eax
je 0x1000af44
call edi
cmp dword [esi + 8], eax
je 0x1000af90
mov ecx, dword [ebp - 0x254]
mov eax, dword [0x10126ba0]
inc ecx
add ebx, 0xc
mov dword [ebp - 0x254], ecx
cmp ecx, dword [eax + 0xc08]
jb 0x1000ae6f
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x254]
push str._MEMORY__spid__tpid__GetCurrentProcessId__
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 4]
push eax
jmp 0x1000afa6
mov edi, dword [ebp - 0x254]
push str._MEMORY__spid__tpid__GetCurrentProcessId__
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
push ecx
push edi
push 7
call fcn.10003040
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret