joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x404b18
cmp byte [esi + ebx - 1], 0xa
je 0x404aec
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4174e4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x405140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x405318
mov edi, dword [0x4174e4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x405227
test byte [0x40a4c4], 8
jne 0x4052c0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x40a4d4], 8
jne 0x405280
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4051c9
cmp esi, 3
jbe 0x405238
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x4051da
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x413820]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x4051c9
mov dword [esp], 0x40a4d4
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x4051a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x4051a0
mov dword [esp], 0x40a4c4
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x40518b
call dword [sym.imp.kernelbase.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x405193
mov eax, 0xffffffff
jmp 0x405227

Function at 0x405400
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x403203
pop dword [ebp - 0x50]
mov eax, 0x39bcf40f
add eax, 0xc6833df4
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x8b41c1ad
add dword [ebp - 0x60], 0xc310839e
mov dword [ebp - 0x5c], 0x80fb9ebf
sub dword [ebp - 0x5c], 0x4ec8527a
mov dword [ebp - 0x58], 0x78f368de
sub dword [ebp - 0x58], 0x2ca724b0
mov dword [ebp - 0x54], 0x447ca04d
sub dword [ebp - 0x54], 0x447ca04d
lea eax, [ebp - 0x60]
push eax
mov eax, 0x9a1e7de
sub eax, 0x9616752
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xb63cdc4a
add dword [ebp - 0x60], 0xbe358d0c
mov dword [ebp - 0x5c], 0xaf248b0b
add dword [ebp - 0x5c], 0x9247d66a
mov dword [ebp - 0x58], 0x1856baa8
add dword [ebp - 0x58], 0x4b18b1c4
mov dword [ebp - 0x54], 0x18c2f8f4
sub dword [ebp - 0x54], 0x18c2f8f4
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x321bd
push 0
call eax
mov ecx, 0x360f
mov edx, eax
mov ebx, 0x411000
add ebx, dword [ebp - 0x50]
mov esi, 0xb01a7b30
xor dword [ebp - 0x10], 0x1f94616a
mov edi, dword [ebx]
add dword [ebp - 0x40], 0x952731e4
sub edi, esi
xor dword [ebp - 0x48], edi
mov dword [edx], edi
xor dword [ebp - 0x10], edx
add edx, 4
add ebx, 0x2ae83b5f
sub ebx, 0x2ae83b5b
loop 0x40330e
add eax, 0xcb0f
mov ebx, eax
add eax, 0xc8e5ac5a
sub eax, 0xc8e5ac55
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4089f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.0040860c
push eax
push esi
push dword [ebp + 8]
call fcn.004085c1
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040860c
push eax
push esi
push dword [ebp + 8]
call fcn.004085c1
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004085fc
inc ebp
jg 0x408ae1
mov dl, 0x88
popfd
jl 0x408a81
invalid
invalid
xchg esi, eax
sub dh, byte [ebp - 0x837a73]
invalid
Function at 0x40f12f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x42e068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x218], eax
xor esi, esi
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x210], esi
push edi
mov dword [ebp - 0x220], eax
or edi, 0xffffffff
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40f1a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40f277
xor eax, eax
mov dword [ebp - 0x214], eax
cmp edi, 0xffffffff
jne 0x40f244
push dword [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push str._s_s_05d._s
push eax
call fcn.0040e2a9
mov esi, eax
add esp, 0x18
test esi, esi
js 0x40f277
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40f22c
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070050
jne 0x40f228
xor esi, esi
jmp 0x40f22c
test esi, esi
js 0x40f277
mov eax, dword [ebp - 0x214]
inc eax
mov dword [ebp - 0x214], eax
cmp eax, 0x3e8
jl 0x40f1a8
test ebx, ebx
je 0x40f24a
mov dword [ebx], edi
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x40f263
mov eax, dword [ebp - 0x210]
and dword [ebp - 0x210], 0
mov dword [ecx], eax
test esi, esi
js 0x40f26b
test ebx, ebx
jne 0x40f277
cmp edi, 0xffffffff
je 0x40f277
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x210], 0
je 0x40f28b
push dword [ebp - 0x210]
call fcn.0040e61e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004116b9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x2a0d4dcb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x526e4559
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x44e03c
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [0x45c4f0]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, dword [0x45c4f4]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [0x45c4f0]
mov eax, dword [edx]
cmp eax, dword [esp]
sete al
pop ecx
ret

Function at 0x44e07c
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Get file size
Read file on windows
Set file attributes

Disassembly:
sub esp, 8
mov byte [esp + 3], 1
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x45c2e4]
mov byte [eax + 0x45bddc], cl
inc eax
test cl, cl
jne 0x44e08c
mov eax, 0x45bddc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x44e0a3
mov ecx, dword [0x45840c]
mov dl, byte [0x458410]
push ebp
mov dword [eax], ecx
push 0x45bddc
mov byte [eax + 4], dl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x45bee0], eax
cmp eax, 0xffffffff
je 0x44e0f3
test al, 0x10
jne 0x44e10b
push 0x80
push 0x45bddc
call ebp
push 0x45bddc
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x45bddc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x44e10b
xor al, al
pop ebp
add esp, 8
ret
mov eax, 0x45bddc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x44e111
mov ecx, dword [0x4583fc]
mov edx, dword [0x458400]
mov dword [eax], ecx
mov ecx, dword [0x458404]
push esi
mov dword [eax + 4], edx
mov dl, byte [0x458408]
push edi
mov dword [eax + 8], ecx
push 0x24
mov byte [eax + 0xc], dl
call fcn.00450b01
push 0x24
mov dword [0x45c4f0], eax
call fcn.00450b01
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 8
push 0
push 0x80000087
push 3
push 0
push 1
push closesocket
push edi
mov dword [0x45c4f4], eax
call esi
mov ecx, dword [0x45c4f0]
mov dword [ecx + 4], eax
mov edx, dword [0x45c4f0]
cmp dword [edx + 4], 0xffffffff
je 0x44e1d3
push 0x80
push 0x45bddc
call ebp
push 0
push 0x80000087
push 2
push 0
push 3
push 0xc0000000
push 0x45bddc
call esi
mov ecx, dword [0x45c4f4]
mov dword [ecx + 4], eax
mov edx, dword [0x45c4f4]
cmp dword [edx + 4], 0xffffffff
jne 0x44e1dc
push 0x87
push 0x45bddc
call ebp
pop edi
pop esi
xor al, al
pop ebp
add esp, 8
ret
mov eax, dword [0x45c4f0]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [0x45c4f0]
mov dword [edx], eax
mov eax, dword [0x45c4f0]
mov ecx, dword [eax]
push ecx
call fcn.0044d50c
mov edx, dword [0x45c4f0]
mov dword [edx + 0xc], eax
mov ecx, dword [0x45c4f0]
mov eax, dword [ecx + 0xc]
add esp, 4
test eax, eax
je 0x44e261
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push edx
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.0044de3c
test al, al
jne 0x44e255
call fcn.0044e03c
test al, al
je 0x44e25c
push edi
push 0x4583f4
push 0x4583b4
call fcn.0044ec8c
add esp, 0xc
mov byte [esp + 0xf], 1
jmp 0x44e261
mov byte [esp + 0xf], 0
mov ecx, dword [0x45c4f0]
mov edx, dword [ecx + 0xc]
push edx
jmp 0x466e08
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x401caa
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x402b1c
call fcn.004028f0
sub esp, 0x7d8
push ebx
push esi
push edi
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CFile::CFile
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push ebx
push 0x8040
push 0x405188
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CFile::Open
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CFile::GetLength
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x40
lea eax, [edi + 0x186a0]
push 0x3000
push eax
push ebx
call dword [0x403038]
mov esi, eax
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.00402268
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CFile::Close
mov eax, 0x5000
xor edi, edi
movzx ecx, byte [eax + esi]
movzx edx, byte [eax + esi + 8]
lea ebx, [ecx + 4]
cmp edx, ebx
jne 0x401ddb
movzx edx, byte [eax + esi + 6]
lea ebx, [ecx + 3]
cmp edx, ebx
jne 0x401ddb
movzx edx, byte [eax + esi + 2]
lea ebx, [ecx + 1]
cmp edx, ebx
jne 0x401ddb
movzx edx, byte [eax + esi + 4]
add ecx, 2
cmp edx, ecx
je 0x401dde
inc eax
jmp 0x401da7
imul eax, eax, 0x5a
push 0x5a
cdq
pop ecx
idiv ecx
mov bl, byte [eax + esi + 5]
add eax, esi
lea esi, [eax + 0xa]
mov al, byte [esi]
xor al, bl
mov byte [ebp + edi - 0x7e4], al
inc edi
inc esi
inc esi
cmp edi, 0xb09
jl 0x401df0
lea eax, [ebp - 0x7e4]
call eax
jmp 0x401df0
Function at 0x96c8e3
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x96c901
mov eax, 0xad0d57
push eax
push 1
mov ebx, 0x9a4340
call fcn.009a3cf3
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x96c92b
mov eax, 0
jmp 0x96c99f
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x96c98c
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 0x96c975
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x96c964
xor ecx, eax
xor edx, ebx
dec edi
jne 0x96c955
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 0x973b79
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 0x973dc6
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x973cc3
cmp byte [edx + edi], 0xd
jne 0x973cc3
cmp byte [edx + edi + 1], 0xa
je 0x973cfc
mov al, byte [edx + edi]
cmp al, 0xa
je 0x973cfc
cmp al, 0x3d
jne 0x973cd8
inc ecx
cmp ecx, 2
ja 0x973dd4
cmp al, 0x7f
ja 0x973dd4
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x973dd4
cmp al, 0x40
jae 0x973cfb
test ecx, ecx
jne 0x973dd4
inc esi
inc edx
cmp edx, ebx
jb 0x973cad
test esi, esi
je 0x973dc6
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 0x973de5
cmp dword [ecx], eax
jb 0x973de5
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x973db5
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x973db1
cmp al, 0xa
je 0x973db1
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 0x973db1
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x973d9c
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x973da9
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x973db1
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x973d4d
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 0x979382
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 0x9795cf
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x9794cc
cmp byte [edx + edi], 0xd
jne 0x9794cc
cmp byte [edx + edi + 1], 0xa
je 0x979505
mov al, byte [edx + edi]
cmp al, 0xa
je 0x979505
cmp al, 0x3d
jne 0x9794e1
inc ecx
cmp ecx, 2
ja 0x9795dd
cmp al, 0x7f
ja 0x9795dd
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x9795dd
cmp al, 0x40
jae 0x979504
test ecx, ecx
jne 0x9795dd
inc esi
inc edx
cmp edx, ebx
jb 0x9794b6
test esi, esi
je 0x9795cf
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 0x9795ee
cmp dword [ecx], eax
jb 0x9795ee
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x9795be
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x9795ba
cmp al, 0xa
je 0x9795ba
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 0x9795ba
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x9795a5
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x9795b2
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x9795ba
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x979556
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