joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ead0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x10013924]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x100138b4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x1000eae3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x1000eb24
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1001395c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x1000eb56
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1000eb5a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x1000eb4b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x1000eb78
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1000eb7c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x1000eb6d
xor ecx, ecx
mov eax, 0x100138c4
xor ebx, ebx
mov bl, byte [ecx + 0x1001396c]
cmp byte [esp + ebx + 0x14], 0
je 0x1000eba7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x10013984]
cmp byte [esp + ebx + 0x14], 0
je 0x1000ebbe
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x10013924
jl 0x1000eb8e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x1000eb17
lea edx, [esp + 0x84]
push edx
call fcn.1000ec00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x1092c578
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1092c582
pushal
call 0x1092c588
pop ebp
sub ebp, 0x10
adc byte [eax], al
add byte [eax], al
sub ebp, 0x92c578
mov al, byte [esp + 0x28]
cmp al, 1
je 0x1092c5ac
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x1092c5b5
mov eax, 0x92c578
add eax, ebp
add eax, 0x63
mov ecx, 0x5b1
mov edx, 0xba69cf63
xor byte [eax], dl
inc eax
dec ecx
jne 0x1092c5cc
jmp 0x1092c5df
call 0x707dae92
arpl word [ebx + 0x63], sp
loop 0x1092c58b
wait
arpl word [ebx + 0x63], sp
pushal
scasb al, byte es:[edi]
invalid
Function at 0x40124b
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 8

Function at 0x401e91
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x4095e0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.MHz
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x40226f
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Query environment variable
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x374
push ebx
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x270]
xor ebx, ebx
push esi
push eax
push ebx
mov byte [ebp - 8], 0x43
mov byte [ebp - 7], 0x4f
mov byte [ebp - 6], 0x4d
mov byte [ebp - 5], 0x53
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x45
mov byte [ebp - 2], 0x43
mov byte [ebp - 1], bl
mov byte [ebp - 0x14], 0x20
mov byte [ebp - 0x13], 0x2f
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x20
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x20
mov byte [ebp - 0xc], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4023f3
lea eax, [ebp - 0x270]
push esi
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4023f3
lea eax, [ebp - 0x374]
push esi
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4023f3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x16c]
push eax
call esi
lea eax, [ebp - 0x16c]
push str.___nul
push eax
call esi
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x374]
push eax
call esi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x100
mov dword [ebp - 0x68], 0x44
stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0xc
push ebx
push ebx
lea eax, [ebp - 0x374]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4023de
push 0x40
push dword [ebp - 0x24]
call esi
push 0xfffffffffffffff1
push dword [ebp - 0x20]
call edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 1
pop eax
jmp 0x4023f5
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403069
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
push edi
push str.CreateThread
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
mov edi, eax
push esi
push esi
push esi
push 0x401b7d
push esi
push esi
call edi
push esi
push esi
push esi
push 0x401cac
push esi
push esi
call edi
call dword [sym.imp.USER32.dll_GetInputState]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push esi
push esi
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov edi, 0x104
lea eax, [ebp - 0x130]
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x130]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x130]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x40311d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40311d
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00403171
test eax, eax
je 0x403153
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], str..Net_CLR
push eax
mov dword [ebp - 0xc], 0x402d2c
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
nop
nop
call fcn.0040226f
pop edi
xor eax, eax
pop esi
leave
ret 0x10
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Framework_COM_Support
push str..Net_CLR
call fcn.0040328d
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403171
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
push edi
push str.RegCloseKey
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
and byte [ebp - 0x12c], 0
push 0x40
mov esi, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and byte [ebp - 2], 0
mov byte [ebp - 0x24], 0x53
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x23], 0x59
push eax
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], 0x54
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x4d
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x63
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x5c
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x12c]
push str..Net_CLR
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push 0xf003f
lea eax, [ebp - 0x12c]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403287
push dword [ebp - 0x28]
call esi
push 1
pop eax
jmp 0x403289
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5aee17ee
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x685d3c88
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1000196a
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x10001989
mov dl, byte [ecx + eax]
xor dl, 0xfc
add dl, 0x31
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jl 0x10001976
ret
Function at 0x100050c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
lea eax, [ebp - 0x34]
push edi
push eax
call dword [0x1001e250]
and byte [ebp - 0x138], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x137]
and byte [ebp - 0xd], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, word [ebp - 0x2a]
push eax
mov byte [ebp - 0x24], 0x25
movzx eax, word [ebp - 0x2c]
push eax
mov byte [ebp - 0x23], 0x34
movzx eax, word [ebp - 0x2e]
push eax
mov byte [ebp - 0x22], 0x64
movzx eax, word [ebp - 0x32]
push eax
mov byte [ebp - 0x21], 0x2d
movzx eax, word [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x2e
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x2d
mov byte [ebp - 0x1b], 0x25
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x20
mov byte [ebp - 0x16], 0x25
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x3a
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x64
call dword [0x1001e424]
and byte [ebp - 4], 0
add esp, 0x1c
lea eax, [ebp - 0x138]
mov byte [ebp - 0xc], 0x4d
push 0
push eax
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x54
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x65
call dword [0x1001e25c]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc]
push 1
push eax
push 0x10028b1c
push 0x80000001
call fcn.10009595
add esp, 0x1c
pop edi
leave
ret

Function at 0x10005764
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push 0x1002d850
lea eax, [ebp - 0x134]
push str._s:_d:_s
push eax
call dword [0x1001e424]
mov ebx, 0x1002d96a
push ebx
call fcn.1000a448
add esp, 0x10
mov edi, 0x10028b1c
test eax, eax
mov esi, 0x80000001
je 0x100057c0
push 1
push ebx
call dword [0x100340ac]
pop ecx
push eax
push ebx
push 1
push str.SeDebugPrivilege
push edi
push esi
call fcn.10009595
add esp, 0x1c
mov ebx, 0x1002d94a
push 1
push ebx
call dword [0x100340ac]
pop ecx
push eax
push ebx
push 1
push 0x10028b24
push edi
push esi
call fcn.10009595
add esp, 0x1c
lea eax, [ebp - 0x10]
push eax
call dword [0x1001e250]
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push 0x1002deec
push eax
call dword [0x10034054]
add esp, 0x1c
lea eax, [ebp - 0x30]
push 1
push eax
call dword [0x100340ac]
pop ecx
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push str.SYSTEMCurrentControlSetServices_
push edi
push esi
call fcn.10009595
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100074c1
Capabilities:
Acquire debug privileges

Disassembly:
push esi
mov esi, dword [esp + 8]
push dword [esp + 0xc]
push 0
push esi
call fcn.10009fe8
push 0
push dword [esp + 0x1c]
push 0
push esi
push 1
push str.SeDebugPrivilege
push 0x10028b1c
push 0x80000001
call fcn.10009325
add esp, 0x2c
push esi
call dword [0x1001e25c]
test eax, eax
jne 0x1000750a
push dword [esp + 0xc]
push esi
call dword [0x100340f0]
pop esi
ret

Function at 0x1000750c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push edi
push dword [ebp + 0x14]
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
mov byte [ebp - 0x428], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push dword [ebp + 0x10]
stosb byte es:[edi], al
call fcn.10009fe8
push 0x400
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.10009fe8
lea eax, [ebp - 0x28]
push 0x1002d850
push eax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], bl
call dword [0x1001e424]
push ebx
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push 0x10028b1c
push 0x80000001
call fcn.10009325
add esp, 0x44
pop edi
pop ebx
leave
ret
Function at 0x10007f35
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x10008044
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x10008044
mov edi, 0x2000
mov ebx, dword [0x1001e2d8]
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x10007f8d
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x10008044
push 0x14
push 0
call dword [0x1001e1e0]
push eax
call dword [0x1001e1e4]
mov edi, eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push 4
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [esi + 0x50]
push eax
call ebx
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push ebx
push eax
call fcn.10009768
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push edi
push esi
mov dword [edi], eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.10008052
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x1000800f
push eax
push edi
call fcn.100081bc
pop ecx
pop ecx
push edi
call fcn.10008236
test eax, eax
pop ecx
je 0x1000803d
push edi
call fcn.100080ff
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1000804b
add eax, ebx
test eax, eax
je 0x1000803d
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x10008048
push edi
call fcn.100083f0
pop ecx
xor eax, eax
jmp 0x1000804d
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10008052
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x100080fc
push ebx
push edi
mov edi, dword [0x1001e2d8]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x100080bd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x100080e6
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.10009fe8
add esp, 0xc
jmp 0x100080e6
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.10009768
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x1000808b
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10009063
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e518
push 0x1000b0e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
push str.GetUserObjectInformationA
call dword [0x1001e26c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x44], 0x4f
mov byte [ebp - 0x43], 0x70
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x44
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x38], 0x6b
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x70
xor ebx, ebx
mov byte [ebp - 0x34], bl
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
mov esi, dword [0x1001e2a8]
call esi
mov dword [ebp - 0x1c], eax
push 0x1002f5ec
push dword [ebp - 0x24]
call esi
mov edi, eax
push 0x1002f58c
push dword [ebp - 0x24]
call esi
mov esi, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
push 0x1ff
push ebx
push ebx
je 0x10009120
push dword [ebp + 8]
call edi
jmp 0x10009123
call dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x1000913a
push eax
call fcn.10008f65
pop ecx
test eax, eax
jne 0x1000913d
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
call fcn.1000915a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000e01e
Capabilities:
Read file on windows

Disassembly:
test al, 0x83
je 0x1000e0ed
test al, 0x40
jne 0x1000e0ed
test al, 2
je 0x1000e03c
or al, 0x20
mov dword [esi + 0xc], eax
jmp 0x1000e0ed
or al, 1
test ax, 0x10c
mov dword [esi + 0xc], eax
jne 0x1000e050
push esi
call fcn.10011ef3
pop ecx
jmp 0x1000e055
mov eax, dword [esi + 8]
mov dword [esi], eax
push dword [esi + 0x18]
push dword [esi + 8]
push dword [esi + 0x10]
call fcn.10011cb5
add esp, 0xc
mov dword [esi + 4], eax
test eax, eax
je 0x1000e0dc
cmp eax, 0xffffffff
je 0x1000e0dc
mov edx, dword [esi + 0xc]
test dl, 0x82
jne 0x1000e0b1
mov ecx, dword [esi + 0x10]
push edi
cmp ecx, 0xffffffff
je 0x1000e09a
mov edi, ecx
sar edi, 5
and ecx, 0x1f
mov edi, dword [edi*4 + 0x10039920]
lea ecx, [ecx + ecx*8]
lea edi, [edi + ecx*4]
jmp 0x1000e09f
mov edi, 0x10032148
mov cl, byte [edi + 4]
pop edi
and cl, 0x82
cmp cl, 0x82
jne 0x1000e0b1
or dh, 0x20
mov dword [esi + 0xc], edx
cmp dword [esi + 0x18], 0x200
jne 0x1000e0ce
mov ecx, dword [esi + 0xc]
test cl, 8
je 0x1000e0ce
test ch, 4
jne 0x1000e0ce
mov dword [esi + 0x18], 0x1000
mov ecx, dword [esi]
dec eax
mov dword [esi + 4], eax
movzx eax, byte [ecx]
inc ecx
mov dword [esi], ecx
pop esi
ret
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [esi + 0xc], eax
and dword [esi + 4], 0
add al, 0