joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002cc1d
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x10067428], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x10067424], ebx
push edi
push ebx
mov dword [0x10067420], eax
mov dword [0x1006742c], ebx
mov dword [0x10067430], eax
mov dword [0x10067434], ebx
mov dword [0x10067438], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x1006744c], edx
mov eax, 0x55555555
mov dword [0x10067448], esi
xor edi, edi
mov dword [0x100687c8], eax
pop ecx
mov dword [0x100687cc], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.10034880
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x10067448], esi
adc edx, ebx
mov dword [edi*8 + 0x1006744c], edx
inc edi
cmp edi, eax
jb 0x1002cc7b
movaps xmm0, xmmword [0x1003e400]
pop edi
pop esi
mov dword [0x10067440], eax
mov eax, 0x10067420
movups xmmword [0x100687d0], xmm0
pop ebx
ret 0x10

Function at 0x1002ce3a
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x100375b5
call fcn.10034586
mov esi, dword [0x100789ac]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.10033502
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0x1002dc29
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1002ce9a
cmp dword [esi + 0x60], edi
je 0x1002ce8b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call fcn.10034544
ret
push 6
mov dword [ebp - 0x18], edi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x100300b5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov eax, esi
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x100300fe
cmp word [edx], cx
je 0x100300fe
push ecx
lea eax, [ebp - 8]
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10030123
mov eax, dword [ebp - 8]
xor ecx, ecx
push dword [ebp + 0x14]
push ebx
push 1
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 8]
mov edi, eax
test ecx, ecx
je 0x10030121
cmp ecx, esi
je 0x10030121
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100334f4
leave
ret
Function at 0x1003033f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10044040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x100303ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10030391
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100303d8
inc ax
mov word [ebp - 0xa], ax
jmp 0x100303ab
cmp eax, 0xe7
jne 0x100303d8
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x100303d8
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10030374
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100334f4
leave
ret
xor al, al
jmp 0x100303c9

Function at 0x100307d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100309a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100308ad
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1003081a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10044004]
ja 0x1003081a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100307ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1003083f
jmp 0x100308ad
cmp dword [ebp - 0x14], 0x10000
jne 0x10030893
cmp dword [ebp - 0x18], 0x10000
jb 0x10030893
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10030876
mov eax, dword [ebp - 8]
jmp 0x100308af
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10030886
xor eax, eax
jmp 0x100308af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100308a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100309a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100307ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100308c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100309d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10030995
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10030905
mov eax, dword [ebp - 4]
cmp eax, dword [0x10044004]
ja 0x10030905
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100308d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1003092a
jmp 0x10030995
cmp dword [ebp - 0x14], 0x10000
jne 0x1003097e
cmp dword [ebp - 0x18], 0x10000
jb 0x1003097e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10030961
mov eax, dword [ebp - 8]
jmp 0x10030997
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10030971
xor eax, eax
jmp 0x10030997
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10030990
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100309d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100308d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10030a00
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10030df0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100458e8], 0
jne 0x10030a3d
cmp dword [0x100458e4], 0
je 0x10030a3d
mov eax, dword [0x100458e4]
mov dword [0x100458e8], eax
cmp dword [0x100458e8], 0
je 0x10030aba
mov ecx, dword [0x100458e8]
cmp dword [ecx + 8], 0
je 0x10030aba
mov edx, dword [0x100458e8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10030aba
mov ecx, dword [0x100458e8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10030aba
mov eax, dword [0x100458e8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10030a89
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10030a90
xor eax, eax
jmp 0x10030bd9
mov ecx, dword [0x100458e8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10030bd9
mov edx, dword [0x100458e4]
mov dword [0x100458e8], edx
jmp 0x10030ad6
mov eax, dword [0x100458e8]
mov ecx, dword [eax + 4]
mov dword [0x100458e8], ecx
cmp dword [0x100458e8], 0
je 0x10030b16
cmp dword [0x100458e8], 0
je 0x10030b14
mov edx, dword [0x100458e8]
cmp dword [edx + 8], 0
je 0x10030b14
mov eax, dword [0x100458e8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10030b14
mov edx, dword [0x100458e8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10030b14
jmp 0x10030a6e
jmp 0x10030ac8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10030be0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10030bd7
mov eax, dword [ebp - 0x18]
mov dword [0x100458e8], eax
mov ecx, dword [0x100458e8]
mov dword [ecx], 0x52727464
mov edx, dword [0x100458e8]
mov dword [edx + 8], 0
mov eax, dword [0x100458e8]
mov ecx, dword [0x100458e4]
mov dword [eax + 4], ecx
mov edx, dword [0x100458e8]
mov dword [0x100458e4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100458e8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10030ba7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10030bc7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10030b9e
mov eax, dword [0x100458e8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10030a6e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10031920
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100458e4]
mov dword [ebp - 4], eax
jmp 0x10031939
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10031960
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003195e
call sub.KERNEL32.dll_GetLastError
jmp 0x10031962
jmp 0x10031930
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10031e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100458f4], eax
je 0x10031e24
mov eax, 0x10dd
jmp 0x10031fcc
cmp dword [0x100458f8], 0
je 0x10031e37
mov eax, dword [0x100458f8]
jmp 0x10031fcc
cmp dword [ebp + 0xc], 0
jne 0x10031e47
mov eax, 0x57
jmp 0x10031fcc
cmp dword [ebp + 8], 0
jne 0x10031e57
mov eax, 6
jmp 0x10031fcc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10031e80
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100458f8], ecx
mov edx, dword [ebp + 8]
mov dword [0x100458fc], edx
mov eax, dword [ebp - 8]
jmp 0x10031fcc
push 0x18
call fcn.10033502
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10031edb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100458f8], ecx
cmp dword [ebp - 4], 0
je 0x10031eca
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10033555
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100458fc], ecx
mov eax, dword [ebp - 8]
jmp 0x10031fcc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10031de0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10031de0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10031f1b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10031f37
mov dword [ebp - 8], 9
cmp dword [0x100458ec], 0
je 0x10031f32
jmp 0x10031ea9
jmp 0x10031ea0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10031f5e
mov dword [ebp - 8], 9
cmp dword [0x100458ec], 0
je 0x10031f59
jmp 0x10031ea9
jmp 0x10031ea0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10031f89
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10031ea0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10045904]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10045904], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10032000
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100458f4], eax
je 0x1003201d
mov eax, 0x10dd
jmp 0x10032100
mov eax, dword [0x10045904]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003209c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10032078
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10032078
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10030e80
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10033555
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10032025
mov dword [0x10045904], 0
call fcn.10031760
mov ecx, dword [0x10045900]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100320ea
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10033555
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100320b4
mov dword [0x10045900], 0
mov dword [0x100458f4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100325e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100458f8], 0
je 0x100325f9
mov eax, dword [0x100458f8]
jmp 0x10032698
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003260a
xor eax, eax
jmp 0x10032698
push 8
call fcn.10033502
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10032662
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003264b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10033555
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100458f8], eax
mov dword [0x100458fc], 0
mov eax, dword [ebp - 8]
jmp 0x10032698
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003267a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003262a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10045900]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10045900], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x412d71
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 0x412d8f
mov eax, 0x5c1211
push eax
push 1
mov ebx, 0x520510
call fcn.0051ff2a
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x412db9
mov eax, 0
jmp 0x412e2d
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x412e1a
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 0x412e03
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x412df2
xor ecx, eax
xor edx, ebx
dec edi
jne 0x412de3
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 0x425f23
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 0x426170
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x42606d
cmp byte [edx + edi], 0xd
jne 0x42606d
cmp byte [edx + edi + 1], 0xa
je 0x4260a6
mov al, byte [edx + edi]
cmp al, 0xa
je 0x4260a6
cmp al, 0x3d
jne 0x426082
inc ecx
cmp ecx, 2
ja 0x42617e
cmp al, 0x7f
ja 0x42617e
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x42617e
cmp al, 0x40
jae 0x4260a5
test ecx, ecx
jne 0x42617e
inc esi
inc edx
cmp edx, ebx
jb 0x426057
test esi, esi
je 0x426170
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 0x42618f
cmp dword [ecx], eax
jb 0x42618f
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x42615f
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x42615b
cmp al, 0xa
je 0x42615b
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 0x42615b
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x426146
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x426153
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x42615b
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x4260f7
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 0x46962e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x469666
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x469654
mov al, 1
jmp 0x4696c5
cmp dword [ebx + 0x54], ecx
jne 0x46965d
mov al, 2
jmp 0x4696c5
cmp dword [ebx + 0x7c], ecx
jne 0x4696c5
mov al, 3
jmp 0x4696c5
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x46967b
mov al, 4
jmp 0x4696c5
cmp ecx, 5
jne 0x46969b
cmp ebx, 0
jne 0x469689
mov al, 5
jmp 0x4696c5
cmp ebx, 1
jne 0x469692
mov al, 6
jmp 0x4696c5
cmp ebx, 2
jne 0x46969b
mov al, 7
jmp 0x4696c5
cmp ecx, 6
jne 0x4696c3
cmp ebx, 0
jne 0x4696a9
mov al, 8
jmp 0x4696c5
cmp ebx, 1
jne 0x4696b0
mov al, 9
cmp ebx, 2
jne 0x4696b7
mov al, 0xa
cmp ebx, 3
jne 0x4696be
mov al, 0xb
cmp ebx, 4
jne 0x4696c5
mov al, 0xc
pop ebx
leave
ret
Function at 0x46e8a3
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 0x46eaf0
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x46e9ed
cmp byte [edx + edi], 0xd
jne 0x46e9ed
cmp byte [edx + edi + 1], 0xa
je 0x46ea26
mov al, byte [edx + edi]
cmp al, 0xa
je 0x46ea26
cmp al, 0x3d
jne 0x46ea02
inc ecx
cmp ecx, 2
ja 0x46eafe
cmp al, 0x7f
ja 0x46eafe
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x46eafe
cmp al, 0x40
jae 0x46ea25
test ecx, ecx
jne 0x46eafe
inc esi
inc edx
cmp edx, ebx
jb 0x46e9d7
test esi, esi
je 0x46eaf0
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 0x46eb0f
cmp dword [ecx], eax
jb 0x46eb0f
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x46eadf
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x46eadb
cmp al, 0xa
je 0x46eadb
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 0x46eadb
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x46eac6
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x46ead3
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x46eadb
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x46ea77
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