joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x1012638c]
mov dword [ebp - 0x48], eax
xor al, al
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x25], al
cmp edi, dword [0x10126390]
je 0x10004e5e
mov ebx, dword [ebp - 0x38]
mov ecx, 4
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x44], ecx
cmp byte [edi], 0
jne 0x10004e2f
test al, al
jne 0x10004db5
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x30]
lea ebx, [ebp - 0x2c]
call fcn.10004ec0
test al, al
je 0x10004e5e
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 0x25], 1
mov esi, dword [edi + 4]
mov eax, dword [ebx + 0x34]
mov edx, esi
sub edx, eax
push edx
push eax
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x10004e2c
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
push 0
sub ecx, dword [ebx + 0x34]
push 0
add ecx, esi
mov esi, dword [ebp - 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10004e2c
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10004e2c
mov edx, dword [ebp - 0x44]
mov ecx, 0x20
lea eax, [ebp - 0x24]
lea edx, [edx + edi + 4]
cmp ecx, 4
jb 0x10004e73
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x10004e2c
sub ecx, 4
add eax, 4
jmp 0x10004e18
mov al, byte [ebp - 0x25]
add edi, 0x48
cmp edi, dword [0x10126390]
jne 0x10004d83
test al, al
je 0x10004e5e
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x34]
lea esi, [edi + 0x28]
mov edi, dword [ebp - 0x40]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.1000e223
mov esp, ebp
pop ebp
ret 4
Function at 0x10004ec0
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
push connect
push eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004f13
lea edx, [ebp - 0x38]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x10004f26
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push 0
push eax
push ecx
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x10004f5d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x10004f9b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004f94
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004f94
mov edx, 0x14c
cmp word [ecx + 4], dx
je 0x10004fbb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x44]
mov dword [ebx], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000e223
mov esp, ebp
pop ebp
ret 8
Function at 0x10005150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x10005347
cmp eax, dword [ecx + 0x218]
jge 0x10005347
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x10005347
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 0x100051d6
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x100051d6
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x10005293
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 0x1000525d
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
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 0x10005293
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.1000e223
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x807]
push 0
push ecx
mov byte [ebp - 0x808], 0
call fcn.1000fa10
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call fcn.1000f129
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call fcn.1000fa10
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 esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005320
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.1000e223
mov esp, ebp
pop ebp
ret

Function at 0x10005390
Capabilities:
Create thread

Disassembly:
cmp dword [0x1012c5e4], 0
je 0x100053d6
mov eax, dword [0x1012c57c]
push 0x101316cc
mov dword [0x101265f8], eax
xor eax, eax
push eax
push 0x101265f4
push 0x100054c0
push eax
push eax
mov dword [0x10126600], eax
mov dword [0x10126604], eax
mov dword [0x10126608], eax
mov dword [0x1012660c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x101265fc], eax
ret
Function at 0x100053e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x1012c604], 0
je 0x100053fd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1012c604]
cmp eax, dword [ecx]
jne case.0x10005433.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x10126600]
cmp eax, 0x1388
jb 0x10005428
call edi
mov dword [esi*4 + 0x10126600], eax
mov dword [esi*4 + 0x10126608], 0
mov eax, dword [0x1012c5e8]
pop edi
cmp eax, 5
ja case.default.0x10005433
jmp dword [eax*4 + 0x100054a0]
inc dword [esi*4 + 0x10126608]
cmp dword [esi*4 + 0x10126608], 0x19
jmp 0x1000548d
inc dword [esi*4 + 0x10126608]
cmp dword [esi*4 + 0x10126608], 0x14
jmp 0x1000548d
inc dword [esi*4 + 0x10126608]
cmp dword [esi*4 + 0x10126608], 0xf
jmp 0x1000548d
inc dword [esi*4 + 0x10126608]
cmp dword [esi*4 + 0x10126608], 0xa
jmp 0x1000548d
inc dword [esi*4 + 0x10126608]
cmp dword [esi*4 + 0x10126608], 5
jbe case.0x10005433.0
push 0
push 0
push 9
call fcn.10003010
add esp, 0xc
ret

Function at 0x10005670
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100056e2
lea ecx, [ebp - 8]
push ecx
push 0x1012c74c
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 0x100056d8
push 0x10021954
push 0x10
push 0x1012c74c
call fcn.1000ef89
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 0x10005a00
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10005b24
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005b1d
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.1000aef0
add esp, 4
test al, al
je 0x10005b1d
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x458]
call fcn.10004d40
test al, al
jne 0x10005aa4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.10003010
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.10005010
test al, al
jne 0x10005ae4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.10003010
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.10003910
test al, al
jne 0x10005b1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.10003010
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000e223
mov esp, ebp
pop ebp
ret

Function at 0x10005ec0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10018890
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x100c]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
xor ebx, ebx
push ecx
mov dword [ebp - 0x100c], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10005f12
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x100c]
shr eax, 2
mov dword [ebp - 0x1010], eax
cmp eax, ebx
jle 0x10005f83
mov esi, dword [ebp + ebx*4 - 0x1008]
test esi, esi
je 0x10005f7e
lea edi, [ebp - 0x1018]
call fcn.10006290
test al, al
jne 0x10005f78
mov dword [ebp - 0x1018], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
mov dword [ebp - 0x1014], eax
call fcn.10006310
mov ecx, dword [ebp + ebx*4 - 0x1008]
call fcn.10005fa0
test al, al
je 0x10005eff
mov edi, dword [ebp + ebx*4 - 0x1008]
call fcn.10005a00
test al, al
je 0x10005eff
mov eax, dword [ebp - 0x1010]
inc ebx
cmp ebx, eax
jl 0x10005f25
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000e223
mov esp, ebp
pop ebp
ret
Function at 0x10006070
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10018890
mov eax, dword [0x10025080]
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 0x100060c1
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x10006126
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 0x10006121
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006118
test dl, dl
je 0x10006114
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006118
add eax, 2
add ecx, 2
test dl, dl
jne 0x100060f8
xor eax, eax
jmp 0x1000611d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000613a
inc esi
cmp esi, edi
jl 0x100060d0
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000e223
mov esp, ebp
pop ebp
ret 4

Function at 0x10006150
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 0x1000618c
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 0x10006193
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 0x100219cc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000617e
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 0x1000617e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10006186
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x10007870
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4e2c]
mov eax, str..DataCustomConfigs_ah.ltp
call fcn.10001140
test al, al
je 0x100078e3
push 0
push 0x20
push 3
push 0
push 1
push connect
push str..DataCustomConfigs_ah.ltp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100078e3
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e28
je 0x100078f5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e223
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4e28
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100078dc
mov eax, esi
mov ecx, 0x4e28
mov dl, byte [eax]
add dl, 0x78
xor dl, 0xb3
mov byte [eax], dl
inc eax
dec ecx
jne 0x10007923
call fcn.10005670
lea eax, [ebx + 0xd4]
call fcn.100056f0
lea eax, [ebx + 0x1a9c]
call fcn.10005750
lea eax, [ebx + 0x3464]
call fcn.100057b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000e223
mov esp, ebp
pop ebp
ret

Function at 0x10007970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xc8], 0
push ebx
push esi
je 0x10007a89
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.1000fa10
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10007a13
push 0x100
push eax
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x100206b0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10131a00], dl
inc eax
cmp eax, 0x100
jb 0x100079e0
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
lea ebx, [edi + 0x66]
push ebx
lea esi, [ebp - 0x110]
call fcn.1000b140
push eax
call fcn.1000f2c6
add esp, 8
test eax, eax
je 0x10007a4e
mov eax, 0x22
call fcn.1000b4e0
push eax
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
lea esi, [ebp - 0x510]
call section..text
mov eax, esi
push eax
lea esi, [ebp - 0x514]
mov eax, ebx
call fcn.10001140
test al, al
jne 0x10007a74
mov eax, 0x23
jmp 0x10007a34
mov ecx, dword [edi + 0xc8]
cmp ecx, dword [ebp - 0x514]
je 0x10007a89
mov eax, 0x24
jmp 0x10007a34
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e223
mov esp, ebp
pop ebp
ret
Function at 0x10007aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xcc], 0
push ebx
push esi
je 0x10007b84
lea esi, [ebp - 0x408]
call section..text
mov eax, esi
lea ebx, [edi + 0x86]
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10001140
test al, al
jne 0x10007b33
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x10020ab0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10007b00
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
mov edx, dword [edi + 0xcc]
cmp edx, dword [ebp - 0x40c]
je 0x10007b60
mov eax, 0x26
call fcn.1000b4e0
push eax
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10007b72
mov eax, 0x27
jmp 0x10007b46
push 0x10021a3c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007b84
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e223
mov esp, ebp
pop ebp
ret

Function at 0x10007ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0xd0], 0
push esi
je 0x10007c60
lea esi, [ebp - 0x408]
call section..text
mov ecx, esi
lea eax, [edi + 0xa6]
push ecx
lea esi, [ebp - 0x40c]
call fcn.10001140
test al, al
jne 0x10007c33
push 0x100
push 0
push 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10020db0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10131a00], dl
inc eax
cmp eax, 0x100
jb 0x10007c00
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
mov eax, dword [edi + 0xd0]
cmp eax, dword [ebp - 0x40c]
je 0x10007c60
mov eax, 0x29
call fcn.1000b4e0
push eax
push 0
mov ecx, 0x101263d8
call fcn.10005150
add esp, 8
call fcn.1000ae50
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000e223
mov esp, ebp
pop ebp
ret
Function at 0x100084e0
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x10025080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x101263d8
call fcn.10005150
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.1000fa10
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 0x10131a00
call fcn.1000fa10
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x1001e5b0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10131a00], cl
inc eax
cmp eax, 0x100
jb 0x10008560
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 str.PREMIUM
push 0x10131a00
push 0
mov ecx, 0x101263d8
call fcn.10005150
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.1000e223
mov esp, ebp
pop ebp
ret
Function at 0x100085e0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10022bf8
push 0x1000fa90
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x10025080]
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 0x1000878e
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 0x100086c4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000878e
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.1000e130
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call fcn.1000fa10
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 0x10008722
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.1000ed63
add esp, 4
jmp 0x1000878e
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10008710
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call fcn.1000ef89
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.1000ed63
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10008790
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.1000e223
mov esp, ebp
pop ebp
ret