joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d444
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4e6e88]
cmp byte [eax + 0xc], 0
je 0x47d5b1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d5aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [fcn.004e7348], 0
jne 0x47d498
push 0x47d5b8
call sub.kernel32.dll_GetModuleHandleA
mov ebx, eax
push 0x47d5c0
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [fcn.004e7348], eax
cmp dword [0x4e2d10], 0
jne 0x47d593
push 0x47d5d0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4e2d10], eax
cmp dword [0x4e2d10], 0
je 0x47d593
push 0x47d5dc
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e734c], eax
push 0x47d5ec
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e7350], eax
push 0x47d600
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e7354], eax
push 0x47d618
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e7358], eax
push 0x47d630
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e735c], eax
push 0x47d644
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e7360], eax
push 0x47d65c
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e7364], eax
push 0x47d674
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e7368], eax
push 0x47d690
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [fcn.004e736c], eax
push 0x47d69c
mov eax, dword [0x4e2d10]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4e7370], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d5b1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x48dac4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e74a0
cmp dword [edi], 0
jne 0x48db40
push pe_nt_image_headers32
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x4e749c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e2dec
mov ecx, 2
call fcn.004a1380
mov edx, 0x48da9c
lea eax, [esi + 5]
call fcn.0048dabc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0048dabc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x48db15
mov dword [0x4e749c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4931f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x493229
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004a2bc4
jmp 0x493232
mov eax, ebx
mov edx, esi
call fcn.004a2b28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x49323c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x49325d
mov al, byte [esp]
jmp 0x49325f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x494734
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 0x494798
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004a2d3c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00490460
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49479f
lea eax, [ebp - 0xc]
call fcn.004a2ad4
ret

Function at 0x4a1df8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e331c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4a1e90
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4a1e70
xor eax, eax
push ebp
push 0x4a1e69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4a1eac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1e70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4e331c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e331c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4a2958
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e7814], 0
je 0x4a29b9
cmp word [0x4e79e8], 0xd7b2
jne 0x4a2981
cmp dword [0x4e79f0], 0
jbe 0x4a2981
mov eax, 0x4e79e4
call dword [fcn.004e7a00]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4e3364
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4a29e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e332c], 0
jne 0x4a29d5
push 0
push 0x4e3384
push 0x4e3364
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4a4440
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4a4670
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4a44c3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4a4670
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4a44c3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4a468c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4a454c
xor eax, eax
push ebp
push 0x4a4545
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004a4288
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4a452a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4a46ac
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4a452a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a454c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyn
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4a4666
cmp byte [ebp - 0xd], 0
jne 0x4a4593
cmp byte [ebp - 0x12], 0
je 0x4a4666
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlen
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4a45ac
dec ebx
cmp byte [ebx], 0x2e
je 0x4a45bb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4a45ab
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4a4666
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4a45f8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4a4666
cmp byte [ebp - 0xd], 0
je 0x4a4666
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4a4666
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a4de4
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4e7d88], 1
jae 0x4a4e6a
mov byte [0x4e3318], 2
mov dword [fcn.004e77d8], sub.kernel32.dll_RaiseException
mov dword [0x4e77dc], 0x4b1306
mov byte [0x4e7816], 2
mov dword [0x4e77c4], 0x4a3a70
call fcn.004a1dc8
test al, al
je 0x4a4e27
call fcn.004a1df8
call fcn.004a1ebc
mov word [0x4e781c], 0xd7b0
mov word [0x4e79e8], 0xd7b0
mov word [0x4e7bb4], 0xd7b0
call fcn.004a3950
call sub.kernel32.dll_GetCommandLineA
mov dword [0x4e7808], eax
call fcn.0049fdb8
mov dword [0x4e7804], eax
call sub.kernel32.dll_GetCurrentThreadId
mov dword [0x4e77fc], eax
ret

Function at 0x4ab438
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
test eax, eax
je 0x4ab49a
call fcn.004ab3e8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004a5a90
pop ecx
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004a5a90
pop ecx
push eax
push edi
push ebx
call sub.kernel32.dll_WriteFile
push ebx
call sub.kernel32.dll_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4ab518
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4e518c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4ab5f2
cmp dword [0x4e5188], 0
jne 0x4ab5f2
cmp dword [0x4e536c], 0
je 0x4ab5ac
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004ab2e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4ab592
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004ab2e8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4ab592
lea ebx, [ebp - 0x84]
jmp 0x4ab593
inc ebx
call fcn.004ab4d4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.user32.dll_MessageBoxA
jmp 0x4ab62d
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4e5190
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004a5a90
pop ecx
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4e5193
push ebx
call sub.kernel32.dll_WriteFile
jmp 0x4ab62d
cmp dword [0x4e5188], 0
je 0x4ab60c
cmp dword [0x4e5188], 0xffffffff
je 0x4ab62d
push esi
call dword [0x4e5188]
pop ecx
mov eax, dword [0x4e518c]
test eax, eax
je 0x4ab62d
cmp dword [0x4e518c], 0xffffffff
je 0x4ab62d
cmp byte [eax], 0
je 0x4ab62d
push esi
push eax
call fcn.004ab438
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408c46
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x408c64
mov eax, 0x580d6f
push eax
push 1
mov ebx, 0x4bd7d0
call fcn.004bd2dc
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408c8e
mov eax, 0
jmp 0x408d02
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x408cef
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x408cd8
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x408cc7
xor ecx, eax
xor edx, ebx
dec edi
jne 0x408cb8
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x4142fb
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x41431d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
mov dword [ebp - 4], 0
nop
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, ioctlsocket
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
nop
imul esi, esi, 0x88
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
imul edx, edx, 6
add esi, edx
nop
nop
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
push ebx
push ecx
push edx
mov eax, ioctlsocket
cpuid
shr ecx, 0x10
imul ecx, ecx, 9
add esi, ecx
pop edx
pop ecx
pop ebx
nop
nop
nop
xor esi, 0x124254
mov dword [ebp - 4], esi
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
nop
nop
nop
mov eax, dword [ebp - 4]
jmp 0x414458
mov esp, ebp
pop ebp
ret

Function at 0x4161d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x4161f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 4], 0x2b7e9735
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41626e
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x4162bc
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 8
Function at 0x419177
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
jmp 0x41918c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push esi
xor esi, esi
nop
mov eax, ioctlsocket
cpuid
shr ecx, 0x10
add esi, ecx
nop
nop
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
mov eax, 1
xor edx, edx
cpuid
add esi, edx
xor esi, eax
rdtsc
add esi, edx
xor esi, 0x354e7978
mov eax, ioctlsocket
cpuid
shr ecx, 0x10
add esi, ecx
nop
nop
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
mov eax, 1
xor edx, edx
cpuid
add esi, edx
xor esi, eax
rdtsc
add esi, edx
xor esi, 0x836bd0f7
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41aaf7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x41ab19
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
mov dword [ebp - 4], 0x2ec3d7e5
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, dword [ebp - 4]
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x41ab92
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41abe0
nop
nop
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 8
Function at 0x41e2c2
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x41e50f
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x41e40c
cmp byte [edx + edi], 0xd
jne 0x41e40c
cmp byte [edx + edi + 1], 0xa
je 0x41e445
mov al, byte [edx + edi]
cmp al, 0xa
je 0x41e445
cmp al, 0x3d
jne 0x41e421
inc ecx
cmp ecx, 2
ja 0x41e51d
cmp al, 0x7f
ja 0x41e51d
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x41e51d
cmp al, 0x40
jae 0x41e444
test ecx, ecx
jne 0x41e51d
inc esi
inc edx
cmp edx, ebx
jb 0x41e3f6
test esi, esi
je 0x41e50f
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x41e52e
cmp dword [ecx], eax
jb 0x41e52e
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x41e4fe
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x41e4fa
cmp al, 0xa
je 0x41e4fa
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x41e4fa
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x41e4e5
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x41e4f2
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x41e4fa
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x41e496
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x4298e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x429903
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x429903
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x42990d
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x42994f
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4299b1
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4299ac
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x429997
test dl, dl
je 0x429993
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x429997
add ecx, 2
add eax, 2
test dl, dl
jne 0x429977
xor eax, eax
jmp 0x42999c
sbb eax, eax
or eax, 1
test eax, eax
je 0x4299bd
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x429964
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8

Function at 0x429a5a
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x429a7c
mov eax, 0xfffffffd
jmp 0x429b4e
cmp dword [0x73810c], 0
je 0x429b27
cmp dword [0x738110], 5
jl 0x429aaa
cmp dword [0x738110], 7
jg 0x429aaa
mov eax, 1
jmp 0x429aaf
mov eax, 0
test eax, eax
jne 0x429ac8
cmp dword [0x738110], 0xfffffffb
je 0x429ac8
xor eax, eax
jmp 0x429acd
mov eax, 1
test eax, eax
je 0x429af9
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x429ae2
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
cmp dword [0x73810c], 0
jne 0x429b44
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x429b4e
mov esp, ebp
pop ebp
ret 4