joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d52b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44e664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0x44a32c
call fcn.00429dec
push 4
mov dword [ebp - 4], 0
call fcn.0042af51
mov edi, eax
add esp, 4
test edi, edi
je 0x41e3cc
call fcn.00429cc4
mov dword [edi], eax
call fcn.00429a83
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00429dad
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41e3c2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00429dd5
jmp 0x41e3ce
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x42708e
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x426ef7
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x426f37
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x426f37
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x426f22
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.00426be0
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x426f37
mov ebx, eax
mov eax, dword [esi + 0x6af84]
mov ecx, esi
cmp ebx, 3
jb 0x42701b
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.00426460
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x426fe4
cmp ecx, 3
jb 0x426fe4
mov edi, 1
sub ebx, edi
lea esp, [esp]
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x426f80
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x427036
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x427036
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.00426460
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x427070
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x42704d
lea edx, [ecx + esi + 0x1af70]
jmp 0x42704f
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
push edx
xor edi, edi
mov ecx, esi
call fcn.004262c0
mov ecx, dword [esi + 0x6af84]
add esp, 4
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x427081
call fcn.00426d30
cmp dword [esi + 0x6af90], 0
jne 0x426ea0
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x4270a1
lea edx, [ecx + esi + 0x1af70]
jmp 0x4270a3
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
push edx
mov edi, 1
mov ecx, esi
call fcn.004262c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427d50
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x427d57
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x427e2d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4477c8]
add ecx, 8
sub edx, 8
dec esi
jne 0x427d70
pop edi
test edx, edx
je 0x427e4a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4477c8]
inc ecx
dec edx
jne 0x427e31
not eax
pop esi
ret

Function at 0x427e50
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4477c8]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4477c8]
mov dword [edx + 8], ecx
ret
Function at 0x4282d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x4283bb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x428307
cmp dword [esi + 0x40], edi
jae 0x428307
push eax
call fcn.0042a28b
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x42831f
lea eax, [edi + edi]
push eax
call fcn.0042af51
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.0042a4a0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x4283b8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4477c8]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4477c8]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x428337
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4283fa
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x4283df
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.0042a4a0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42841c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x4513e0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401460
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._GetFileAttributesA_4
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x401496
and dword [ebp - 0xc], 0xfffffff8
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._SetFileAttributesA_8
sub esp, 8
nop
leave
ret

Function at 0x4014f0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s.
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x250]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [ebp - 0x14c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x250]
mov dword [esp], eax
call sym._FindFirstFileA_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401563
call sym._GetLastError_0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.Errore_nellaccesso_alla_directory:__s._Errore:__lu_n
call sym._printf
jmp 0x401679
mov dword [esp + 4], 0x40b0e5
lea eax, [ebp - 0x14c]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x4015fc
mov dword [esp + 4], 0x40b0e7
lea eax, [ebp - 0x14c]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x4015fc
lea eax, [ebp - 0x14c]
add eax, 0x2c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x354]
mov dword [esp], eax
call sym.___mingw_snprintf
mov eax, dword [ebp - 0x14c]
and eax, 0x10
test eax, eax
je 0x4015ec
lea eax, [ebp - 0x354]
mov dword [esp], eax
call sym._delete_directory
jmp 0x4015fd
lea eax, [ebp - 0x354]
mov dword [esp], eax
call sym._delete_file
jmp 0x4015fd
nop
lea eax, [ebp - 0x14c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindNextFileA_8
sub esp, 8
test eax, eax
jne 0x401563
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindClose_4
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._modify_file_attributes
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._RemoveDirectoryA_4
sub esp, 4
test eax, eax
jne 0x401666
call sym._GetLastError_0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.Impossibile_eliminare_la_directory:__s._Errore:__lu_n
call sym._printf
jmp 0x401679
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.Directory_eliminata:__s_n
call sym._printf
leave
ret
Function at 0x401d10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40e044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40e03c]
sub esp, 4
test ebx, ebx
je 0x401d5b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401d54
test esi, esi
je 0x401d54
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401d30
mov dword [esp], 0x40e044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401f40
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402068
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401fce
cmp eax, 4
jne 0x401ff0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401fde
cmp edx, 4
je 0x401fde
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401f40
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4d191d2a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xf8211f9
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x2dee058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.02dee1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x2dee07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2dee06a
add dl, dl
jne 0x2dee089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2dee0dc
xor eax, eax
add dl, dl
jne 0x2dee096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x2dee17d
add dl, dl
jne 0x2dee0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2dee0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2dee0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2dee0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x2dee0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2dee075
mov eax, 1
add dl, dl
jne 0x2dee0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2dee0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2dee0e1
sub eax, ebx
mov ebx, 1
jne 0x2dee128
mov ecx, 1
add dl, dl
jne 0x2dee10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2dee119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2dee105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2dee075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x2dee13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2dee14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2dee136
cmp eax, 0x7d00
jae 0x2dee16d
cmp eax, 0x500
jb 0x2dee168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2dee075
cmp eax, 0x7f
ja 0x2dee170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2dee075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x2dee19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2dee075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
xor ebx, ebx
cmp eax, 0xffffffff
je 0x1000101c
cmp dword [0x10012454], 6
jb 0x10001025
test eax, eax
jne 0x10001025
push eax
call fcn.10007b70
add esp, 4
cmp eax, 0xffffffff
je 0x100010c5
push esi
push edi
push eax
call fcn.1000b6d0
mov edi, dword [esp + 0x34]
mov esi, eax
add esp, 4
test esi, esi
je 0x10001059
push edi
push esi
call fcn.1000cee0
add esp, 8
push esi
mov ebx, eax
call sub.NTDLL.dll_NtClose
test ebx, ebx
jne 0x100010bc
test edi, edi
je 0x100010bc
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push 0
push 1
push edi
mov dword [esp + 0x28], 0x690057
mov dword [esp + 0x2c], 0x53006e
mov dword [esp + 0x30], 0x610074
mov dword [esp + 0x34], 0x5c0030
mov dword [esp + 0x38], 0x650044
mov dword [esp + 0x3c], 0x610066
mov dword [esp + 0x40], 0x6c0075
mov dword [esp + 0x44], 0x74
call fcn.10004f30
add esp, 0x1c
pop edi
pop esi
pop ebx
add esp, 0x20
ret
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
mov eax, ebx
pop ebx
add esp, 0x20
ret

Function at 0x100010d0
Capabilities:
Impersonate user

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push edi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
xor edi, edi
push edi
push 2
push ecx
push edx
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
mov esi, eax
test esi, esi
jne 0x10001109
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x52f
jne 0x1000111c
mov edi, 1
test esi, esi
je 0x1000111c
mov ecx, dword [esp + 8]
push ecx
call sub.NTDLL.dll_NtClose
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10002850
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x3c
lea eax, [esp + 4]
push eax
call sub.NTDLL.dll_RtlZeroMemory
mov eax, dword [esp + 0x44]
mov dword [esp], 0x3c
mov dword [esp + 4], 0x800400
mov dword [esp + 0x1c], 0
test eax, eax
je 0x10002882
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1000288e
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1000289a
mov dword [esp + 0xc], eax
cmp dword [esp + 0x4c], 0
je 0x100028ab
mov dword [esp + 0x1c], 1
jmp 0x100028b3
mov dword [esp + 4], 0x808400
push esi
mov esi, dword [esp + 0x54]
push edi
test esi, esi
je 0x100028c2
or dword [esp + 0xc], 0x40
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
test edi, edi
je 0x10002913
test esi, esi
je 0x10002913
cmp esi, 0xffffffff
je 0x100028e4
imul esi, esi, 0x3e8
jmp 0x100028e7
or esi, 0xffffffff
mov edx, dword [esp + 0x40]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10002907
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x40]
push ecx
call sub.NTDLL.dll_NtClose
mov eax, edi
pop edi
pop esi
add esp, 0x3c
ret
Function at 0x100032d0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x58
push edi
lea eax, [esp + 8]
push eax
xor edi, edi
push 0xa
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
call fcn.100032c0
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100033ad
cmp dword [0x10012454], 5
mov dword [esp + 4], edi
mov dword [esp + 0xc], edi
jbe 0x1000334d
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push 0x12
push eax
call esi
test eax, eax
je 0x10003346
cmp dword [esp + 0x18], 3
jne 0x10003346
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x10]
push edx
push 0x13
push eax
call esi
pop esi
cmp dword [esp + 4], edi
jne 0x10003365
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
cmp dword [esp + 4], edi
je 0x100033a3
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
push 0x1a
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x10003399
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov edx, dword [esp + 4]
push edx
call sub.NTDLL.dll_NtClose
mov eax, dword [esp + 8]
push eax
call sub.NTDLL.dll_NtClose
mov eax, dword [esp + 0x10]
pop edi
add esp, 0x58
ret

Function at 0x100033c0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp dword [ebx], 0
je 0x1000340e
push edi
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x100033fd
push esi
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
push ecx
push 0
push 0x5a
call fcn.10005bf0
mov esi, eax
test esi, esi
je 0x100033f6
push 0
push esi
call sub.NTDLL.dll_NtResumeThread
push esi
call sub.NTDLL.dll_NtClose
inc edi
cmp edi, dword [ebx + 8]
jb 0x100033d3
pop esi
mov edx, dword [ebx]
mov eax, dword [0x10012044]
push edx
push 0
push eax
call fcn.1000c9e0
pop edi
pop ebx
ret
Function at 0x10003790
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
xor esi, esi
test eax, eax
je 0x100037c3
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
push 0
push eax
lea eax, [esi + ebx]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
add esi, eax
mov eax, dword [edi]
cmp esi, eax
jb 0x100037a8
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret