joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a630
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x57ee40]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x458dfb
je 0x458e4a
cmp ebx, 0x20
jbe 0x458e50
cmp ebx, 0x40
jbe 0x458e8e
jmp 0x458f1f
test ebx, ebx
je 0x458e40
add eax, 0x10
test ax, 0xff0
je 0x458e2c
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4df020]
aesenc xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4df120]
jmp 0x458e18
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x458e18
pxor xmm1, xmmword [0x57ee50]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x57ee50]
pxor xmm2, xmmword [0x57ee60]
pxor xmm3, xmmword [0x57ee70]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x57ee50]
pxor xmm2, xmmword [0x57ee60]
pxor xmm3, xmmword [0x57ee70]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x458f7e
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x57ebb1], 0
je 0x45a64a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x458dc0
jmp fcn.00407ae0
Function at 0x45a650
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40262e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407ae0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00459340
jmp 0x4025f0
cmp byte [0x57ebb1], 0
je 0x45a66b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x458dc0
jmp 0x4025f0

Function at 0x45b380
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xba0
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.0045a5b0
call fcn.004591b0
ret
Function at 0x40b661
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x40b6dd
push 9
call esi
test bl, al
je 0x40b6dd
push 0x11
call esi
test bl, al
jne 0x40b6dd
push 0x10
call esi
test bl, al
jne 0x40b6dd
push 0x12
call esi
test bl, al
jne 0x40b6dd
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [esp + 0x14]
push 0x41141c
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40b6dd
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x40b6dd
xor eax, eax
jmp 0x40b75f
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x40b706
push 0x11
call esi
test bl, al
jne 0x40b6fe
push 0x10
call esi
test bl, al
jne 0x40b6fe
push 0x12
call esi
test bl, al
je 0x40b706
push 1
push ebp
call fcn.0040b61a
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test edi, edi
je 0x40b71c
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x40b75c
push str.PB_WindowID
push ebp
call esi
mov esi, eax
test esi, esi
je 0x40b75c
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x40b75c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x40b75c
dec esi
push esi
push dword [0x413b08]
call fcn.0040e59a
test eax, eax
je 0x40b75c
mov eax, dword [eax + 8]
jmp 0x40b75e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x40b821
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov dword [0x4139dc], eax
cmp eax, edi
je 0x40b854
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4139e0], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [0x4139d8], 1
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40b892
cmp dword [ebp - 0xc], 1
je 0x40b8a3
cmp dword [ebp - 0xc], 2
jne 0x40b892
cmp dword [ebp - 0x18], 5
jb 0x40b8a3
jne 0x40b892
cmp dword [ebp - 0x14], edi
jne 0x40b892
mov dword [0x4139d8], edi
cmp dword [0x4139d8], edi
je 0x40b8a9
call fcn.0040b768
test eax, eax
jne 0x40b8a9
mov dword [0x4139d8], edi
pop edi
add ebp, 0x78
leave
ret

Function at 0x40c437
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x40c4a7
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll_strlen
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x40c489
mov dl, byte [eax - 1]
cmp dl, 0x20
je 0x40c488
cmp dl, 0x5c
je 0x40c488
cmp dl, 0x2f
jne 0x40c493
dec eax
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x40c476
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x40c4a9
xor eax, eax
leave
ret 4
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4093f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x409407
pop dword [ebp - 0x3c]
mov eax, 0x9a0b5594
add eax, 0x66353e73
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xbd52f0a3
sub dword [ebp - 0x4c], 0x6f00ab58
mov dword [ebp - 0x48], 0xf2011720
sub dword [ebp - 0x48], 0xbfcdcadb
mov dword [ebp - 0x44], 0xbbbbab4b
sub dword [ebp - 0x44], 0x6f6f671d
mov dword [ebp - 0x40], 0xbb99adf4
sub dword [ebp - 0x40], 0xbb99adf4
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x4c9e7947
add eax, 0xb3a25705
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x901a9c05
sub dword [ebp - 0x4c], 0x1ba832af
mov dword [ebp - 0x48], 0x57957845
add dword [ebp - 0x48], 0xe9d6e930
mov dword [ebp - 0x44], 0xddfe6006
add dword [ebp - 0x44], 0x85710c66
mov dword [ebp - 0x40], 0x6727f084
sub dword [ebp - 0x40], 0x6727f084
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ba5a
push 0
call eax
mov ecx, 0x64c34133
sub ecx, 0x64c2f082
mov ebx, eax
mov esi, 0x9df58eef
add esi, 0x624c2111
add esi, dword [ebp - 0x3c]
mov edi, 0x863b5353
sub edi, 0xd4c4d9ec
add dword [ebp - 0xc], edi
mov edx, dword [esi]
add dword [ebp - 0x10], 0x9be8976c
sub edx, edi
xor dword [ebp - 0x24], esi
mov dword [ebx], edx
mov dword [ebp - 4], 0xbb02e1bc
add ebx, 0xbcd8ddc9
sub ebx, 0xbcd8ddc5
add esi, 0x1f891a3f
add esi, 0xe076e5c5
loop 0x409524
add eax, 0x13597
mov ebx, eax
add eax, 0x7ba23b9f
add eax, 0x845dc466
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0xcfb1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00cfb140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00cfb140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00cfb140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00cfb140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xcfbbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xcfbc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd0d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xcfbc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xcfbc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x120d568
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, dword fs:[0]
stc
jmp 0x123eec5
jmp 0x122caab
jmp 0x120d53f
push 0x120d5b2
jmp 0x120d529
sub esp, 1
lea esp, [esp + 1]
jmp fcn.01221e4c
sub esp, 1
lea esp, [esp + 1]
jmp fcn.01221e4c
mov dword fs:[0], esp
bswap eax
jmp 0x123eeef
push eax
sub ax, 0x5d7b
mov eax, ecx
jmp 0x123eeaf
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x10]
jmp 0x123ef01
pushfd
add esp, 0
jmp 0x123ef62
push esi
lea eax, [ecx + ebp]
mov ax, si
lea eax, [edx*4]
jmp 0x123ef48
lea esp, [esp + 2]
push ebx
pushfd
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x123ef22
push edi
push esi
mov esi, ebp
jmp 0x123ef86
pushfd
inc ebp
invalid
lea esp, [esp + 4]
sub esp, eax
push sp
mov ah, 0x3b
mov eax, ecx
jmp 0x123ef38
push eax
mov eax, dword [esp]
jmp 0x123ef91
lea esi, [esi - 8]
mov eax, dword [esi]
pop esi
mov dword [ebp - 0x18], esp
jmp 0x123ef70
mov eax, dword [ebp - 4]
pushal
lea esp, [esp + 0x20]
mov dword [ebp - 4], reloc.KERNEL32.dll_LocalFree
call fcn.0123f10e
sbb esp, dword [ebx + 0x12a55633]
arpl sp, sp
jp 0x123efcc
in al, dx
sub byte [ecx - 0x76c96cf0], dl
add dh, dh
xlatb
bt bx, sp
jle 0x123e7b2
jg 0x123e460
or al, 0x88
push ds
jns 0x123ef59
dec esp
mov byte [0x2fdcb525], al
lcall 0xe85e, 0xa3c456dc
inc edi
Function at 0x121bb94
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 0x3c], eax
call 0x121bbba
push 0xf120d0a4
jmp 0x121bccb
bsf dx, ax
rdtsc
xchg word [esp + 0x13], bx
jmp 0x121bcd0
xchg word [esp + 0x13], bx
lea esp, [esp + 1]
jmp 0x121bcd4
sub esp, 0x19
jmp 0x121bcea
lea esp, [esp + 1]
mov esi, dword [esp + 0x44]
sub esp, 0xa
jb 0x121bcf4
lea esp, [esp + 8]
jmp 0x121bcf6
jle 0x121bca3
bsf dx, ax
rdtsc
jmp 0x121bcb4
jmp 0x121bd28
lea esp, [esp + 1]
lea esp, [esp + 1]
jmp 0x121bdbb
lea esp, [esp + 8]
lea esp, [esp + 1]
lea esp, [esp + 1]
jmp 0x121bdbb
rdtsc
mov ecx, esi
mov ax, 0x2092
mov edx, dword [esp]
inc ebx
jmp 0x121bd91
xchg dx, ax
mov dl, 0xe5
mov ebx, edi
mov eax, edi
mov ax, word [esp]
mov ax, word [esp]
jmp 0x121bdec
sub esp, 0xa8
mov ebp, esp
not dx
rdtsc
jmp 0x121bd58
ja 0x121bd6a
xchg dx, ax
mov dl, 0xe5
jmp 0x121bd9e
mov ebx, edi
mov eax, edi
mov ax, word [esp]
jmp 0x121bd76
lea edi, [esp + 0x18]
mov ebp, dword [esp]
not bx
xchg edx, eax
mov eax, dword [esp]
jmp 0x121bd82
xchg bx, ax
lea eax, [ebx + 0x4d]
neg bx
mov bl, byte [esp]
bswap edx
jmp 0x121be26
add esi, 0x5ae71b26
mov dl, al
lea ebx, [edx*4]
mov dx, bp
neg ebx
jmp 0x121be1c
neg bx
mov bl, byte [esp]
bswap edx
jmp 0x121be26
ja 0x121bdcb
xchg bx, ax
lea eax, [ebx + 0x4d]
jmp 0x121be02
add esi, 0x827f05b
mov edx, eax
xchg dh, ah
inc dx
jl 0x121be47
mov al, 0xec
btc dx, di
jmp 0x121beb8
jmp 0x121beb2
mov edx, esp
rdtsc
mov dh, byte [esp]
sub bx, 0xe9d3
jnp 0x121be90
jp 0x121be99
pop ebp
fimul word [ebx + ebp - 0x1a]
push esi
lodsd eax, dword [esi]
xor esp, dword [ebx - reloc.KERNEL32.dll_LocalFree]
xor al, 0xaa
int 0x3c
lea esp, reloc.KERNEL32.dll_LocalFree
and al, 0x66
mov ebp, esi
lea edi, [ebp*4]
lea edi, reloc.KERNEL32.dll_LocalFree
mov ax, 0xa93f
lea esi, [esi - 0xd7]
call fcn.0121be42
btc edx, edx
jmp 0x121bebd
btc edx, edx
jmp 0x121bebd
mov al, 0xec
btc dx, di
rol esi, 0
jmp 0x121be49
not esi
mov eax, 0x40530728
clc
jno 0x121bf3d
jo 0x121bf16
rol ebx, 0x13
shl bh, cl
jmp 0x121bf49
xchg edx, ebx
setl al
mov edx, esp
call fcn.0121bf00
dec esi
pushal
lea edx, [eax*4]
sub esp, 0x14
mov dh, dl
btr dx, cx
jmp 0x121c1cc
xchg edx, ebx
setl al
mov edx, esp
rol ebx, 0x13
shl bh, cl
jmp 0x121bfcd
mov eax, 0x98de715f
jmp 0x121bf6c
mov dx, di
mov eax, 0x98de715f
add esi, dword [edi]
neg edx
jae 0x121bf8c
jb 0x121bfaa
xchg dh, ah
mov dx, 0x5a65
jmp 0x121bf74
xchg dh, ah
mov dx, 0x5a65
jmp 0x121bf74
xor esi, 0x41c33859
btr ebx, ebp
jge 0x121bf64
mov dx, di
jmp 0x121bf4e
lea ebp, [ebp - 0x59]
lea edx, [ebx + ebp]
dec edx
mov bx, word [esp]
xchg dword [esp + 0x34], ebp
mov ax, 0xf0dc
call fcn.0121c179

Function at 0x121bc75
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x30]
jmp 0x121bc6e
mov dword [esp], esp
pushfd
lea esp, [esp + 2]
lea esp, [esp + 2]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
jmp 0x121bc32
mov dword [esp + 0x34], ebp
pushfd
jmp 0x121bc48
pushfd
call 0x121bc75
fadd dword [ebx - 0x3b7cfe14]
add byte [esi - 0x75], ah
les ecx, [ebp - 0x16fedb9c]
out 1, eax
add byte [eax], al
Function at 0x12d020b
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x12cdff2
call fcn.012cdff7
call 0x12d0038
jmp 0x12d025a
push dword [esp + 3]
mov dword [esp + 0x20], esi
jmp 0x12d027e
mov eax, dword [eax + 0xc]
jmp 0x12d0250
push eax
jmp 0x12d0033
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x12d023a
pop eax
sub eax, 0xed0038
push eax
jmp 0x12ccde6
push ecx
push dword [esp + 2]
mov dword [esp + 0x24], edi
lea esp, [esp + 0x24]
mov eax, dword fs:[0x30]
jmp 0x12d0215
Function at 0x9de210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9de25c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9de222
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9de2c0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9de312
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9de318
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f6815
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f64d5

Function at 0x9fb60f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009fb48e

Function at 0xa00bc0
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x419282
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x419291
pop dword [ebp - 0x28]
mov eax, 0xfb26e695
add eax, 0x51aabfc
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3b2e0
push 0
mov eax, 0x517aa921
sub eax, 0x51385709
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x3db1
mov esi, eax
mov edi, 0x9a168d16
sub edi, 0x99d33916
add edi, dword [ebp - 0x28]
mov edx, 0xd16da0ec
add edx, 0x632b3833
add dword [ebp - 0x10], edx
mov ebx, dword [edi]
add dword [ebp - 0x20], 0xd2fe3fb4
xor ebx, edx
mov dword [esi], ebx
sub dword [ebp - 0x1c], ecx
add esi, 0xe38ebb02
sub esi, 0xe38ebafe
add edi, 0x541059fe
add edi, 0xabefa606
loop 0x4192ea
add eax, 0xe997
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x85f9a734
sub ecx, 0x85b9a734
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x100a49f0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b1a78
push 0x100b1a70
push str.FlsAlloc
push 0x1e
call fcn.100a4cd3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100a4a24
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x100a4a2a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100a4a6e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b1a88
push 0x100b1a80
push str.FlsGetValue
push 0x20
call fcn.100a4cd3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100a4aa5
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100a8d38
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100a8dd5
push ebx
push esi
call fcn.100a8dd8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100a89b2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100a8d82
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a8dd4
push edi
push eax
call fcn.100a6c14
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100a8da2
call fcn.100a5fa8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a8dd3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100a89b2
add esp, 0x20
test eax, eax
jne 0x100a8dc1
push edi
call fcn.100a5fa8
jmp 0x100a8dc9
push ebx
call fcn.100a5fa8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4095c9
Capabilities:
Read file on windows

Disassembly:
push 0x54
mov eax, 0x416a1f
call fcn.00414056
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x50], ecx
jb 0x4095e5
mov eax, dword [ebx]
jmp 0x4095e7
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.msvcr100.dll__stat64i32]
pop ecx
pop ecx
test eax, eax
je 0x409602
xor al, al
call fcn.004140a0
ret 4
cmp dword [ebx + 0x14], 0x10
jb 0x40960c
mov eax, dword [ebx]
jmp 0x40960e
mov eax, ebx
push 0x4198fc
push eax
call dword [sym.imp.msvcr100.dll_fopen]
xor esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
cmp eax, esi
je 0x4095f8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
inc eax
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call fcn.0040e613
mov edi, dword [ebp - 0x60]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x48], esi
jbe 0x409674
mov eax, dword [ebp - 0x5c]
sub eax, edi
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
sub eax, esi
push eax
lea eax, [edi + esi]
push 1
push eax
call dword [sym.imp.msvcr100.dll_fread]
add esp, 0x10
test eax, eax
je 0x409696
add esi, eax
cmp esi, dword [ebp - 0x48]
jb 0x409651
push dword [ebp - 0x44]
call dword [sym.imp.msvcr100.dll_fclose]
pop ecx
mov byte [edi + esi], 0
mov eax, edi
mov ecx, dword [ebp - 0x50]
push eax
push ebx
call fcn.0040930e
test eax, eax
jne 0x409684
mov bl, 1
jmp 0x4096d4
push dword [ebp - 0x44]
call dword [sym.imp.msvcr100.dll_ferror]
pop ecx
test eax, eax
je 0x409674
cmp dword [ebx + 0x14], 0x10
jb 0x4096ac
mov ebx, dword [ebx]
call dword [sym.imp.msvcr100.dll__errno]
push dword [eax]
call dword [sym.imp.msvcr100.dll_strerror]
push eax
push ebx
push str.Failed_to_read_file__s:__s_n
call fcn.004115c7
push dword [ebp - 0x44]
call dword [sym.imp.msvcr100.dll_fclose]
add esp, 0x14
xor bl, bl
lea ecx, [ebp - 0x60]
call fcn.00409d10
mov al, bl
jmp 0x4095fa

Function at 0x40a8ce
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x424eb0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp + 0x198]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call sub.msvcr100.dll_memset
add esp, 0xc
lea edi, [esi + 1]
push edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
cmp eax, ebx
je 0x40a96e
cmp eax, edi
ja 0x40a96e
push esi
lea eax, [ebp + 0x89]
push ebx
push eax
mov byte [ebp + 0x88], bl
call sub.msvcr100.dll_memset
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push 0x4199fc
lea eax, [ebp + 0x88]
push esi
push eax
call dword [sym.imp.msvcr100.dll__snprintf]
add esp, 0x20
cmp eax, ebx
jle 0x40a96e
mov byte [ebp + eax + 0x88], bl
lea eax, [ebp + 0x88]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
jmp 0x40a970
xor eax, eax
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413fde
add ebp, 0x190
leave
ret