joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401290
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and esp, 0xfffffff0
mov eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402980
call sym.___main
mov eax, 0x7ffffffd
mov dword [ebp - 4], eax
mov eax, 0xfffffffe
mov dword [ebp - 8], eax
sub esp, 4
push dword [ebp - 8]
push dword [ebp - 4]
push 0x401280
call sym._printf
add esp, 0x10
sub esp, 0xc
push 0x401289
call sub.msvcrt.dll_system
add esp, 0x10
mov eax, 0
leave
ret

Function at 0x4027c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [0x403070]
test eax, eax
je 0x4027dd
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x61616161
push eax
mov dword [ebp - 0x44], 0x61616161
mov dword [ebp - 0x40], 0x61616161
mov dword [ebp - 0x3c], 0x61616161
mov dword [ebp - 0x38], 0x61616161
mov dword [ebp - 0x34], 0x61616161
mov dword [ebp - 0x30], 0x61616161
mov dword [ebp - 0x2c], 0x61616161
mov byte [ebp - 0x28], 0
call sub.KERNEL32.dll_FindAtomA
add esp, 0xc
test ax, ax
jne 0x402934
sub esp, 0xc
xor esi, esi
lea ebx, [ebp - 0x78]
push 0x14
call sym._malloc
lea ecx, [ebp - 0xa8]
mov dword [0x403070], eax
add esp, 0x10
mov dword [eax], 0
mov edx, eax
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 4], sym._abort
mov dword [eax + 8], sym._abort
mov edi, ecx
test eax, eax
jne 0x402920
lea ecx, [ebp - 0xa7]
mov byte [ebp - 0xa8], 0x30
cmp ecx, edi
jbe 0x40289b
lea esi, [esi]
dec ecx
inc esi
mov al, byte [ecx]
mov byte [ebx], al
inc ebx
cmp ecx, edi
ja 0x402890
mov eax, 0x20
mov byte [ebx], 0
sub eax, esi
push edi
lea edx, [ebp - 0x48]
push eax
push 0x61
push edx
call sym._memset
add esp, 0x10
xor edx, edx
cmp edx, esi
jae 0x4028d6
nop
lea esi, [esi]
mov eax, edx
sub eax, esi
cmp byte [ebp + edx - 0x78], 0x30
je 0x402915
mov cl, 0x41
inc edx
mov byte [ebp + eax - 0x28], cl
cmp edx, esi
jb 0x4028c0
sub esp, 0xc
lea eax, [ebp - 0x48]
mov byte [ebp - 0x28], 0
push eax
call sub.KERNEL32.dll_AddAtomA
add esp, 0xc
mov edx, dword [0x403070]
lea eax, [edx + 4]
mov dword [0x403074], eax
lea eax, [edx + 8]
mov dword [0x403078], eax
lea eax, [edx + 0xc]
add edx, 0x10
mov dword [0x40307c], eax
mov dword [0x403080], edx
jmp 0x4027d5
mov cl, 0x61
jmp 0x4028cd
mov eax, edx
and eax, 1
add eax, 0x30
mov byte [ecx], al
inc ecx
shr edx, 1
jne 0x402920
jmp 0x402889
lea edx, [ebp - 0x48]
push ebx
and eax, 0xffff
push 0x21
push edx
push eax
call sub.KERNEL32.dll_GetAtomNameA
xor edx, edx
pop ecx
lea esi, [esi]
cmp byte [ebp + edx - 0x48], 0x61
setne al
add eax, 0x30
mov byte [ebp + edx - 0x48], al
inc edx
cmp edx, 0x1f
jbe 0x402950
push eax
lea eax, [ebp - 0x48]
push 2
push 0
push eax
call sym._strtoul
add esp, 0x10
mov dword [0x403070], eax
jmp 0x4028e9
Function at 0x4269b9
Capabilities:
Parse pe header

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

Function at 0x438da0
Capabilities:
Parse pe header

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

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x5ce91bce
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x78d50593
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x67083df5
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x212c7528
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100018d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x1001a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.winspool.drv
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1001b7f4], eax
cmp dword [0x1001b7f4], 0
jne 0x10001954
lea eax, [ebp - 0x108]
push eax
push 0x10017534
lea ecx, [ebp - 0x310]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x10017554
lea edx, [ebp - 0x310]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x1001b7f4], 0
je 0x10001969
mov dword [ebp - 0x314], 1
jmp 0x10001973
mov dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x314]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e50
mov esp, ebp
pop ebp
ret

Function at 0x10001990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1001a00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1001b7f4], 0
jne 0x100019bd
call fcn.100018d0
test eax, eax
jne 0x100019bd
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x1001b7f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x10001a43
mov edx, dword [ebp + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
test eax, eax
jne 0x10001a0c
mov ecx, dword [ebp + 8]
push ecx
push 0x100162ac
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
push ecx
push 0x100162b0
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x100162d8
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e50
mov esp, ebp
pop ebp
ret 4
Function at 0x10002d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001b83c]
mov dword [ebp - 4], eax
jmp 0x10002d88
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10002d9e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10002d9c
mov eax, dword [ebp - 4]
jmp 0x10002e19
jmp 0x10002d80
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10002e16
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10002dd8
mov edx, dword [ebp - 4]
mov eax, dword [0x1001b83c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1001b83c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10003f50
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1001a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x10004091
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10004087
cmp dword [ebp - 0x20], 0x10
jb 0x1000406a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1000406a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1000406a
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10003ffa
mov eax, dword [ebp + 8]
mov dword [eax + 4], pe_nt_image_headers32
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x1001b800]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10003ff8
jmp 0x10004087
jmp 0x1000404a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1000404a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1001b800]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10004034
jmp 0x10004087
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10003f94
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e50
mov esp, ebp
pop ebp
ret
Function at 0x100040a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10003f50
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1000413d
mov dword [ebp - 4], 0
jmp 0x100040e9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1000413d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000413b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10003dd0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100040e0
mov esp, ebp
pop ebp
ret

Function at 0x10004150
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100041c4
mov dword [ebp - 4], 0
jmp 0x10004170
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100041b0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100041ae
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10004167
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1001b800]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret
Function at 0x100041d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1001b830]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10004216
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10004238
mov eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x1c]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1000425e
mov eax, 0xa
jmp 0x10004353
cmp dword [ebp + 0xc], 0
je 0x100042ab
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 8]
add edx, 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
sub ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 1], ecx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100042a9
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov byte [edx], 0xeb
mov eax, dword [ebp - 0x18]
mov byte [eax + 1], 0xf9
jmp 0x100042e7
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 1
movzx eax, dl
test eax, eax
je 0x100042d2
push 7
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10005e70
add esp, 0xc
jmp 0x100042e7
push 5
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10005e70
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [ebp + 0xc]
and al, 1
shl al, 1
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
or dl, al
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 2
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfb
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100048e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10004929
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10004929
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10004929
xor eax, eax
jmp 0x1000496a
mov dword [ebp - 4], 1
jmp 0x1000493b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10004965
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x10004963
xor eax, eax
jmp 0x1000496a
jmp 0x10004932
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1004257c
Capabilities:
Encode data using base64

Disassembly:
btc dx, dx
lea ecx, [esp + ecx + 0x10]
mov byte [ecx + edx - 0x71fff896], al
movzx ecx, byte [esp + edx - 0x71fff88b]
call fcn.1008ee4a

Function at 0x1004a1f1
Capabilities:
Authenticate hmac

Disassembly:
mov esp, edx
push 0xc5114e89
jmp 0x1006634c
inc dx
lea esi, [esi + edx - 0x490bc19e]
adc cx, ax
movsx eax, dx
shl edx, 0x58
shr edx, 0x6d
mov word [esi + edx - 0x50000], cx
sar edx, 0xc2
movzx ecx, ax
cbw
lea ebp, [ebp + edx*2 - 0x28004]
mov eax, dword [edx + ebp - 0x14000]
bts cx, cx
sar ecx, 0x13
xor eax, ebx
lea edx, [ecx + edx*4 + 0x48b99394]
sal ecx, 0x14
rol cl, 0x41
xor eax, 0x9aa70fad
imul ecx, edx
call fcn.100cebc8
mov eax, 0x9fb0bcb7
add al, ah
movzx ecx, ax
mov eax, dword [edi + ecx*4 - 0x2f1cc]
jle 0x100669d9
mov dword [esp], edi
jmp 0x100a6cf2
lea edi, [edi + ecx*2 - 0x178e2]
movzx edx, cl
btc cx, dx
setae dl
movzx ecx, byte [ebp + ecx*2 - 0x178f6]
xor dx, 0x9137
lea ebp, [ebp + edx*4 - 0x244d7]
xor cl, bl
inc cl
shl dl, 0x84
imul edx, edx
neg dx
not cl
xor dl, dh
adc cl, 4
sub edx, edx
xor cl, 0xbb
call fcn.1008f8bc
mov edx, 0xd0b3ea17
lea edx, [edx + edx*4 + 0x5c135400]
lea esi, [edx + esi - 0x6f96e677]
inc edx
movzx ecx, dx
add ecx, edx
mov eax, dword [edx + esi - 0x6f96e674]
imul cx, dx
jno 0x100a7ceb
xor eax, ebx
imul edx, edx
push ecx
ror eax, 1
xchg word [esp + ecx - 0x6f97491e], dx
lea eax, [eax + edx + 0x3f58ce20]
call fcn.100d05bc
mov eax, 0x8105a013
mov eax, dword [edi]
mov ecx, 0x9eac2a09
mov edx, dword [edi + 4]
rol ecx, 0x91
bt ecx, ecx
sar ecx, cl
mov cl, byte [edi + ecx - 0x4c]
call fcn.100681d8
mov edi, 0x1634ff34
not di
push esi
pushfd
jmp 0x100ce6ec
imul edi, edi
mov esi, edi
mov esi, eax
mov edi, edx
cld
call fcn.1004808f
mov ecx, 0x29bdf88d
mov cx, word [esi + ecx*2 - 0x537bf11a]
mov edx, 0x490bc19f
mov eax, edx
rol ax, 0x23
mov ax, word [esi + edx - 0x490bc19d]
jae 0x10052ccd

Function at 0x1005206c
Capabilities:
Encode data using base64

Disassembly:
cmp edi, edx
lea esp, [esp + 4]
ja 0x1009806b
mov eax, esp
mov edx, 0x38307993
lea ecx, [edx - 0x38307943]
lea edx, [edi + edx*2 - 0x7060f3a6]
call fcn.100be854
Function at 0x10056470
Capabilities:
Encode data using base64

Disassembly:
mov dword [esp + edx*4 - 0x7c2a5ae0], 0x4614fa29
xor ecx, ebx
dec ecx
inc byte [esp + edx - 0x1f0a96b8]
jge 0x1008cbf0
jne 0x1007ea9d
mov cl, byte [edi + 2]
push edx
adc edi, 1
not dx
rol dword [esp], 0x64
adc dx, dx
shr ax, cl
mov word [edi], ax
btc dx, dx
mov dword [esp], edx
cmovb edx, dword [esp]
mov eax, dword [esi]
adc esi, 4
movsx ecx, byte [esp]
shr ecx, 0xf6
xor eax, ebx
call fcn.1006066b
xor cl, bl
not dl
call fcn.10030975
Function at 0x10060b67
Capabilities:
Encode data using base64

Disassembly:
not cl
shr byte [esp + 2], 0xa1
sbb cl, 3
xor bl, cl
shl al, 0xc6
add word [esp + 1], ax
lea ecx, [esp + ecx + 4]
mov byte [ecx], dl
cdq
pop ecx
jmp esi
mov dword [esp + edx - 0x438c282e], 0xdd001f91
neg word [esp + ecx*8 - 0xfe]
mov dx, word [edi + edx - 0x438c282e]
movsx eax, byte [esp + ecx*8 - 0x100]
lea edi, [edi + ecx - 0x1e]
btr eax, 0x85
mov cl, byte [ebp + ecx - 0x20]
adc ebp, 1
xor eax, eax
shr eax, 0x27
xor cl, bl
or al, 0x1a
sub eax, eax
not cl
and word [esp + eax], 0x7008
jns 0x100c95a1
dec cl
rol cl, 1
dec cl
rol al, 0x21
ror al, 0x23
adc eax, 0xd401a28b
rol cl, 1
xor al, byte [esp + 3]
jne 0x10049965

Function at 0x1007e5da
Capabilities:
Encode data using base64

Disassembly:
adc edi, 2
mov dword [esp], edx
sal eax, cl
dec edx
shr byte [esp + 3], 0xe2
mov dword [edi], eax
ja 0x1005effe
mov edx, 0xa381c4b5
movzx ecx, dl
lea ebp, [ecx + ebp - 0xb9]
imul ecx, edx
shl cx, 0xf
mov edx, dword [ebp]
lea eax, [ecx*2 - 0x7a8b7f]
ror ax, 0xc4
xor edx, ebx
not edx
bt ecx, ecx
lea eax, [eax + eax + 0x36209193]
sbb edx, 0xc2a90518
bt eax, ecx
not edx
cwde
bswap edx
btr cx, ax
btr eax, eax
jae 0x100dbc25
xor ebx, edx
add cl, al
sub ecx, ecx
adc edi, edx
mul cl
bswap eax
mov esi, dword [ecx + esi]
movzx edx, al
or edx, ecx
ja fcn.100cb844

Function at 0x1008e18c
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
mov dword [esp], 0x3e2cd008
jns 0x100ef8aa
and edx, 0xfffffffc
sub edx, ecx
not dword [esp]
mov esp, edx
push 0x42964822
mov dword [esp], edi
call fcn.10072360

Function at 0x100a16f9
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 0xc]
ja 0x100e776f
mov eax, 0xf4306083
rol eax, 0x78
lea ecx, [eax + eax + 0x4ebb7216]
mov eax, esp
sbb cl, cl
lea ecx, [ecx - 0x56a3d1b0]
mov edx, 0x5617a0b0
lea edx, [edx + esi - 0x5617a130]
call fcn.100a6445
Function at 0x43a309
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4a82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0049ffee
push 0x9e37
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.004a01c8
mov eax, dword [esp + 0xc]
push 1
push eax
push 0
mov ecx, esi
call fcn.004a0e7c
push 0x9e6d
lea ecx, [esp + 0x10]
call fcn.004a01c8
mov ecx, dword [esp + 0xc]
push 1
push ecx
push 1
mov ecx, esi
call fcn.004a0e7c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x4ff2a8]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
push 0x48
push 0
push 0x69
push 4
mov ecx, esi
sub edi, ebp
call fcn.004a0ec4
push 0x40
call fcn.004a021c
mov ebp, eax
add esp, 4
mov dword [esp + 0x40], ebp
test ebp, ebp
mov byte [esp + 0x38], 1
je 0x43a3af
mov ecx, ebp
call fcn.004a0798
mov dword [ebp], 0x504c3c
jmp 0x43a3b1
xor ebp, ebp
mov dword [esi + 0x80], ebp
mov byte [esp + 0x38], 0
mov ebp, 0x36
call dword [0x500c84]
cmp eax, 0x78
jne 0x43a3d1
mov ebp, 0x46
mov ecx, dword [esi + 0x80]
push 0x3f1
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], edi
push esi
sub edi, ebp
push edx
push 0x50000003
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], 0x12c
call fcn.004a0d8c
push 0x9e3a
lea ecx, [esp + 0x10]
call fcn.004a01c8
mov eax, dword [esi + 0x80]
mov ecx, dword [esp + 0xc]
mov edi, dword [0x4ff340]
push ecx
mov edx, dword [eax + 0x20]
push 0
push 0x143
push edx
call edi
push 0x9e47
lea ecx, [esp + 0x10]
call fcn.004a01c8
mov eax, dword [esi + 0x80]
mov ecx, dword [esp + 0xc]
push ecx
push 0
mov edx, dword [eax + 0x20]
push 0x143
push edx
call edi
push 0x9e3b
lea ecx, [esp + 0x10]
call fcn.004a01c8
mov eax, dword [esi + 0x80]
mov ecx, dword [esp + 0xc]
push ecx
push 0
mov edx, dword [eax + 0x20]
push 0x143
push edx
call edi
push 0x9e3c
lea ecx, [esp + 0x10]
call fcn.004a01c8
mov eax, dword [esi + 0x80]
mov ecx, dword [esp + 0xc]
push ecx
push 0
mov edx, dword [eax + 0x20]
push 0x143
push edx
call edi
mov eax, dword [0x531880]
mov ecx, dword [esi + 0x80]
push 0
mov eax, dword [eax]
mov ecx, dword [ecx + 0x20]
push eax
push 0x14e
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x31
push edx
call edi
push eax
call fcn.004a07b6
test eax, eax
je 0x43a4e9
mov esi, dword [esi + 0x80]
mov eax, dword [eax + 4]
push 1
push eax
mov ecx, dword [esi + 0x20]
push 0x30
push ecx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049ffca
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 4