joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
jmp 0x1002427c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x36
jge 0x1002428d
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
jmp 0x10024273
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov word [ebp - 7], dx
mov byte [ebp - 5], dl
push 0x1c
push 0x64
lea eax, [ebp - 0x20]
push eax
call fcn.1000c7f0
add esp, 0xc
push 0x170
call fcn.1000b9ac
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x28], ecx
push 0x170
push 0x64
mov edx, dword [ebp - 0x28]
push edx
call fcn.1000c7f0
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.1000c0f7
add esp, 4
mov dword [ebp - 0x30], 1
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add eax, 3
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 1
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
add edx, 3
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
add ecx, 3
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add eax, 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
add edx, 3
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
add ecx, 3
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
add eax, 3
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
add edx, 3
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
add ecx, 3
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 3
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret
Function at 0x10024780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
call fcn.10022c50
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x100247e1
xor eax, eax
jmp 0x100247f2
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10024800
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x10024832
xor eax, eax
jmp 0x100248ca
mov dword [ebp - 8], 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1002485c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100248ca
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
jbe 0x100248bb
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
xor eax, 0x78338e37
mov dword [ebp - 0x10], eax
push 1
push 0
push 0xfffffffffffffffc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
sub edx, 4
mov dword [ebp - 8], edx
jmp 0x10024863
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10024b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10024420
mov dword [ebp - 4], 0x1002d350
mov dword [ebp - 0xc], str.SupplyID
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10024bc8
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10024bb8
lea ecx, [ebp - 0x218]
push ecx
push 0x1002d394
mov edx, dword [ebp + 8]
push edx
call fcn.10005570
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10024bc6
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10024bd6
jmp 0x10024bcc
xor eax, eax
jmp 0x10024bd6
call fcn.10024250
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret

Function at 0x10024da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10024090
mov dword [ebp - 4], 0x1002d39c
mov dword [ebp - 0xc], str.Version
mov word [ebp - 0x218], 0
push 0x1fe
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x21c], 0x100
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 4]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10024e4a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10024e44
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003de0
jmp 0x10024e48
xor eax, eax
jmp 0x10024e58
jmp 0x10024e4e
xor eax, eax
jmp 0x10024e58
call fcn.10023ec0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret
Function at 0x100250f0
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002737f
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10023100
mov word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x228], 0
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x228], eax
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x260]
call fcn.10003d20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.10003cf0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
push eax
call fcn.10024bf0
add esp, 4
push 0x1002d31c
lea ecx, [ebp - 0x260]
call fcn.10003e20
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x260]
call fcn.10003e00
lea edx, [ebp - 0x260]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003dc0
push 0
lea ecx, [ebp - 0x260]
call fcn.10003fa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.10003da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10003da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret
Function at 0x10025b60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0x10025b81
xor al, al
jmp 0x10025bf1
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10025b97
xor al, al
jmp 0x10025bf1
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10025be4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10025bd0
mov byte [ebp - 1], 1
jmp 0x10025be4
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10025bb5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret
Function at 0x10026660
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100276db
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x304], ecx
mov ecx, dword [ebp + 0xc]
call fcn.1000ab60
cmp dword [ebp + 8], 0
jne 0x100266a6
xor al, al
jmp 0x10026874
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.10003fa0
push eax
mov ecx, dword [ebp - 0x304]
call fcn.10003fa0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100266cf
xor al, al
jmp 0x10026874
lea ecx, [ebp - 0x2c]
call fcn.10003cf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003cf0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10026540
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10003dc0
push 0x1002b4bc
lea ecx, [ebp - 0x4c]
call fcn.10003e20
mov dword [ebp - 0x30], 1
lea edx, [ebp - 0x2a4]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10003fa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
jne 0x10026762
mov byte [ebp - 0x2a5], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003da0
mov al, byte [ebp - 0x2a5]
jmp 0x10026874
cmp dword [ebp - 0x30], 1
jne 0x10026816
mov eax, dword [ebp - 0x2a4]
and eax, 0x10
je 0x10026816
lea ecx, [ebp - 0x278]
push ecx
call fcn.1001ca60
add esp, 4
movzx edx, al
test edx, edx
je 0x10026816
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.10003d20
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x30c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.1000aa50
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x314], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x314]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000aaf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e0]
call fcn.10008550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2fc]
call fcn.10003da0
lea eax, [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1002683d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1002683d
jmp 0x10026842
jmp 0x10026762
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2fd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003da0
mov al, byte [ebp - 0x2fd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret 8
Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc

Function at 0x10001da0
Capabilities:
Copy file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10006fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebp
mov ebp, dword [esp + 0x64]
push esi
lea ecx, [esp + 0x18]
mov dword [ebp], 0
call fcn.10001000
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x18]
mov dword [esp + 0x60], 0
push eax
push ecx
push esi
push 1
call fcn.10001bc0
add esp, 0x10
test eax, eax
je 0x10001ec1
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3c]
mov edx, dword [esp + 0x78]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
and edx, 0xffff
lea ecx, [esp + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x40], edx
and eax, edi
mov dword [esp + 0x44], eax
call fcn.10001000
mov ecx, dword [esi]
mov byte [esp + 0x64], 1
push ecx
lea ecx, [esp + 0x10]
call fcn.100012c0
push 0
lea ecx, [esp + 0x10]
call fcn.10001290
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
neg edx
sbb edx, edx
lea ecx, [esp + 0x2c]
and edx, eax
mov dword [esp + 0x48], edx
call fcn.10001000
lea eax, [esp + 0x2c]
mov byte [esp + 0x64], 2
push eax
call fcn.10001420
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
pop edi
jne 0x10001e98
mov eax, dword [esp + 0x4a]
test eax, eax
jne 0x10001e98
mov dword [ebp], 1
lea edx, [esp + 0x28]
push edx
call fcn.100014f0
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call fcn.10001200
lea ecx, [esp + 8]
mov byte [esp + 0x60], 0
call fcn.10001200
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.10001200
mov ecx, dword [esp + 0x58]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x5c
ret
Function at 0x40b4d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b534
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404128
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004074dc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b53b
lea eax, [ebp - 0xc]
call fcn.00403eb8
ret

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x736d1951
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x30df66d3
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000b370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1000b3a2
jl 0x1000b395
test ecx, ecx
jne 0x1000b3a2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000b462
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.1000cd90
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1000b40e
jg 0x1000b3cd
test esi, esi
je 0x1000b40e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1000b3e5
mov eax, dword [esp + 0x10]
jl 0x1000b3df
cmp eax, esi
jae 0x1000b3e5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100cd150
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1000b42f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1000b44b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1000b3b4
jl 0x1000b44b
test ecx, ecx
jne 0x1000b3b4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1000b4a0
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1000b4a0
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.100cd150
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x1000b509
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000b4c6
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x1000b4f4
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.100d1961
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1000b509
cmp edi, eax
ja 0x1000b4d2
test edi, edi
je 0x1000b509
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.100d1961
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d2c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f6810
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1014a440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100cada9
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100c9658
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000d260
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000ef20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1000ef51
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000ef40
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x100208b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7440
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1014a440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 0xc]
lea edi, [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebx], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], ecx
sub eax, dword [ecx]
je 0x10020937
push eax
mov ecx, edi
call fcn.1001b7c0
mov eax, dword [ebp - 0x14]
mov edi, dword [edi]
mov esi, dword [eax + 4]
mov eax, dword [eax]
sub esi, eax
push esi
push eax
push edi
call fcn.100cd150
mov ecx, dword [ebp - 0x14]
lea eax, [esi + edi]
lea edi, [ebx + 4]
add esp, 0xc
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
lea esi, [ebx + 0x10]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
je 0x10020985
push eax
mov ecx, esi
call fcn.1001b7c0
push dword [ebp - 0x14]
mov esi, dword [esi]
push 0x90
push esi
call fcn.100ccff0
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, esi
lea esi, [ebx + 0x10]
mov dword [esi + 4], eax
lea eax, [ebp - 0x14]
mov byte [ebx + 0x1c], 0
push eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0x40
push eax
push dword [ebx]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [ebx + 0x1c], 0
jne 0x100209d7
mov eax, dword [edi + 4]
sub eax, dword [edi]
je 0x100209be
push eax
push dword [ebx]
push dword [esi]
call fcn.100cd150
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
je 0x100209d3
push eax
push ecx
push dword [ebx]
call fcn.100cd150
add esp, 0xc
mov byte [ebx + 0x1c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cacb6
mov esp, ebp
pop ebp
ret 8

Function at 0x10020c40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1014a440]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], ecx
test al, al
mov dword [ebp - 0x18], 0
mov ebx, edx
cmovne esi, ebx
test esi, esi
jne 0x10020c72
mov byte [ebp - 0xc], 0
jmp 0x10020c8f
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.100cd150
add esp, 0xc
cmp byte [ebp - 0xc], 0
je 0x10020cbb
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100cacb6
mov esp, ebp
pop ebp
ret