joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401dba
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4061f0
call fcn.00402144
mov edi, 0x94
mov eax, edi
call fcn.00403070
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x408344], ecx
mov eax, dword [esi + 4]
mov dword [0x408350], eax
mov edx, dword [esi + 8]
mov dword [0x408354], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x408348], esi
cmp ecx, 2
je 0x401e1a
or esi, 0x8000
mov dword [0x408348], esi
shl eax, 8
add eax, edx
mov dword [0x40834c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x401e55
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401e55
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401e6d
cmp eax, 0x20b
je 0x401e5a
mov dword [ebp - 0x1c], esi
jmp 0x401e81
cmp dword [ecx + 0x84], 0xe
jbe 0x401e55
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x401e7b
cmp dword [ecx + 0x74], 0xe
jbe 0x401e55
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00403014
pop ecx
test eax, eax
jne 0x401ead
cmp dword [0x408330], 1
jne 0x401e9a
call fcn.004027c9
push 0x1c
call fcn.00402652
push 0xff
call fcn.004023fb
pop ecx
pop ecx
call fcn.00402f72
mov dword [ebp - 4], esi
call fcn.00402dc7
test eax, eax
jge 0x401ec6
push 0x1b
call fcn.00401d95
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4088b4], eax
call fcn.00402ca5
mov dword [0x408328], eax
call fcn.00402c03
test eax, eax
jge 0x401eec
push 8
call fcn.00401d95
pop ecx
call fcn.004029d0
test eax, eax
jge 0x401efd
push 9
call fcn.00401d95
pop ecx
push 1
call fcn.0040242b
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x401f13
push eax
call fcn.00401d95
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402973
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x401f34
movzx eax, word [ebp - 0x40]
jmp 0x401f37
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call section..text
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x401f55
push edi
call fcn.00402556
call fcn.00402578
jmp 0x401f87
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0040217f
ret
Function at 0x402495
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x408384], esi
push edi
jne 0x4024b5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x408380], esi
mov byte [0x40837c], al
jne 0x40251b
mov ecx, dword [0x4088a8]
test ecx, ecx
je 0x4024fc
mov eax, dword [0x4088a4]
sub eax, 4
cmp eax, ecx
jmp 0x4024f5
mov eax, dword [eax]
test eax, eax
je 0x4024e7
call eax
mov eax, dword [0x4088a4]
sub eax, 4
cmp eax, dword [0x4088a8]
mov dword [0x4088a4], eax
jae 0x4024df
mov eax, 0x408020
mov esi, 0x408024
cmp eax, esi
mov edi, eax
jae 0x40251b
mov eax, dword [edi]
test eax, eax
je 0x402514
call eax
add edi, 4
cmp edi, esi
jb 0x40250c
mov eax, 0x408028
mov esi, 0x40802c
cmp eax, esi
mov edi, eax
jae 0x40253a
mov eax, dword [edi]
test eax, eax
je 0x402533
call eax
add edi, 4
cmp edi, esi
jb 0x40252b
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x402554
push dword [ebp + 8]
mov dword [0x408384], 1
call fcn.004023fb
pop ebp
ret

Function at 0x402652
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x408030]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x408040]
je 0x402687
inc eax
cmp eax, 0x13
jb 0x402678
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x408040]
jne 0x4027ad
mov eax, dword [0x408330]
cmp eax, 1
je 0x402785
cmp eax, edx
jne 0x4026b7
cmp dword [0x408038], 1
je 0x402785
cmp ecx, 0xfc
je 0x4027ad
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4026ed
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.004031b0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.004033e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x402721
mov eax, edi
push eax
call fcn.004033e0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x406234
push edi
call fcn.004032b0
add esp, 0x10
push edi
call fcn.004033e0
push dword [esi + 0x408044]
mov ebx, eax
call fcn.004033e0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00403070
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004031b0
push edi
push ebx
call fcn.004031c0
push 0x406230
push ebx
call fcn.004031c0
push dword [esi + 0x408044]
push ebx
call fcn.004031c0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.004030ad
add esp, 0x2c
jmp 0x4027ad
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x408044]
push dword [esi]
call fcn.004033e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00401ccb
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x4030ad
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40849c], ebx
push esi
push edi
jne 0x40312d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x403168
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x40849c], eax
je 0x403168
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4084a0], eax
call esi
cmp dword [0x408344], 2
mov dword [0x4084a4], eax
jne 0x40312d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4084ac], eax
je 0x40312d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4084a8], eax
mov eax, dword [0x4084a8]
test eax, eax
je 0x403172
call eax
test eax, eax
je 0x403159
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4084ac]
test eax, eax
je 0x403159
test byte [ebp - 8], 1
jne 0x403172
cmp dword [0x408350], 4
jb 0x40316c
or byte [ebp + 0x12], 0x20
jmp 0x403191
xor eax, eax
jmp 0x4031a1
or byte [ebp + 0x12], 4
jmp 0x403191
mov eax, dword [0x4084a0]
test eax, eax
je 0x403191
call eax
mov ebx, eax
test ebx, ebx
je 0x403191
mov eax, dword [0x4084a4]
test eax, eax
je 0x403191
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40849c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40355a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x403588
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40358f
cmp ebx, dword [eax + 4]
jae 0x40358f
xor eax, eax
jmp 0x40377f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4035a0
xor eax, eax
inc eax
jmp 0x40377e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4035b6
cmp ecx, edx
jae 0x4036fb
cmp dword [eax + 4], 0
je 0x4035bf
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4035a7
cmp dword [ebp + 8], 0
je 0x4035e1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4036fb
cmp eax, esi
jae 0x4036fb
mov eax, dword [0x4084b0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x403606
cmp dword [esi*4 + 0x4084b8], edi
je 0x4036ff
inc esi
cmp esi, eax
jl 0x4035f4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40377b
cmp dword [ebp - 8], 0x1000000
jne 0x40377b
test byte [ebp - 0xc], 0xcc
je 0x403684
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40377b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40377b
cmp word [eax + 0x18], 0x10b
jne 0x40377b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40377b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x403684
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x403684
test byte [ecx + 0x27], 0x80
jne 0x4036fb
push 1
push 0x4084f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x403598
mov ecx, dword [0x4084b0]
test ecx, ecx
mov edx, ecx
jle 0x4036b8
lea eax, [ecx*4 + 0x4084b4]
cmp dword [eax], edi
je 0x4036b8
dec edx
sub eax, 4
test edx, edx
jg 0x4036ac
test edx, edx
jne 0x4036e9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4036c5
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4036dd
lea eax, [edx*4 + 0x4084b8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4036cb
cmp ecx, 0x10
jge 0x4036e9
inc ecx
mov dword [0x4084b0], ecx
push 0
push 0x4084f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x403598
xor eax, eax
jmp 0x40377e
test esi, esi
jle 0x403598
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4084f8
call ebx
test eax, eax
jne 0x403598
cmp dword [esi*4 + 0x4084b8], edi
je 0x403755
mov eax, dword [0x4084b0]
lea esi, [eax - 1]
test esi, esi
jl 0x403743
cmp dword [esi*4 + 0x4084b8], edi
je 0x40373f
dec esi
jns 0x403733
test esi, esi
jge 0x403753
cmp eax, 0x10
jge 0x40374e
inc eax
mov dword [0x4084b0], eax
lea esi, [eax - 1]
jmp 0x403755
je 0x40376d
xor ecx, ecx
test esi, esi
jl 0x40376d
lea eax, [ecx*4 + 0x4084b8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40375b
push 0
push 0x4084f8
call ebx
jmp 0x403598
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4055ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403070
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405647
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x408344]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x405647
cmp eax, 1
je 0x405668
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405647
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x405614
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x405643
xor eax, eax
inc eax
jmp 0x405687
cmp edi, eax
jae 0x40564b
xor eax, eax
jmp 0x405687
cmp eax, esi
jae 0x405652
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x408344]
jmp 0x40566b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d40
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 8], 0
push ebp
mov ebp, dword [esp + 8]
push edi
je 0x403da9
xor edi, edi
test ebx, ebx
jbe 0x403d6e
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x403d7c
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov al, byte [ecx + edx]
mov byte [edi + ebp], al
inc dword [esi + 0xc]
inc edi
cmp edi, ebx
jb 0x403d52
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop ebp
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x10000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403d6e
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x403d5a
push esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040e190
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x403d4c

Function at 0x409560
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xec]
cmp eax, 0xf3c
jge 0x43109b
inc eax
mov dword [esp + 0x18], edi
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x409920
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x4097c7
lea ebx, [ebx]
mov esi, edi
call fcn.00410790
jmp 0x409596
popfd
inc ebp
int 0x62
mov byte [eax + ebp*2], cl
xor edi, edi
jno 0x430ff9
inc esp
rcr dword [ebp + 0x31ad51ff], 1
mov dword [0x87fd9cd4], eax
pop ebx
sti
mov eax, dword [0xe01f38e5]
adc bh, byte [eax + edi*4]
cmp dword [esi + ebp + 0x19], 0x912dbc3e
mov ebx, 0xe8f45c1c
pop esi
sub dword [edx + 0x3c603c6f], edx
fcmovne st(0), st(3)
outsd dx, dword [esi]
pop ss
inc ecx
mov dl, 0xbe
inc ecx
sti
mov esi, 0xa7edc2a7
cmp edx, dword [esi + 0x5c28c90e]
retf 0xaa6c
push 0x2f73ad0d
leave
mov dl, 0x6d
jo 0x430fee
dec esp
adc bl, byte [edx + 0x7a670ef4]
xchg edx, eax
xchg esi, eax
inc edi
leave
into
cdq
insb byte es:[edi], dx
push ebx
mov bh, 0xb4
iretd
sbb al, 0x15
hlt
push edi
dec esp
jo 0x4310dc
jge 0x431049
xlatb
sub cl, byte [edi]
dec edi
out 0x91, al
pop esp
dec esi
je 0x43103d
nop
cmp eax, 0xca6291d2
xor byte [edi + ebx + 0x6f], 0x86
cld
bound esp, qword [edx + edx*8 - 0x46]
Function at 0x40d6d0
Capabilities:
Authenticate hmac
Encode data using xor
Get common file path
Set current directory

Disassembly:
sub esp, 0x438
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00401f80
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x431a9d
mov eax, dword [0x4a7cfc]
test eax, eax
je 0x431ab6
mov byte [esp + 0xf], 0
mov esi, 0x4a8e80
cmp eax, 1
je 0x431aca
push 0x4a7cfc
lea ecx, [esp + 0x13]
mov eax, 0x4a7d14
call fcn.0040f3b0
test al, al
je 0x431aeb
mov dl, byte [0x4a8e80]
mov bl, byte [0x4a8e81]
push 0x4a7cf8
lea eax, [esp + 0x234]
push eax
push 0x104
push 0x4a7d14
mov byte [0x4a7d00], dl
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, dword [0x4a7cfc]
push ecx
push 0x4a7d14
call fcn.00401440
test eax, eax
jne 0x431aff
cmp bl, 1
je 0x431b23
call fcn.004101f0
call fcn.004103e0
cmp byte [0x4a7d00], 0
jne 0x40d7a8
mov esi, 0x4a84b8
call fcn.0040e1e0
push 1
mov ecx, 0x4a7f20
call fcn.00409560
cmp byte [0x4a7d00], 0
jne 0x40d7c7
mov ecx, 0x4a84b8
call fcn.00401000
mov ebx, 0x4a8e80
call fcn.0040ebc0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0x438
ret
lodsb al, byte [esi]
mov edi, eax
in al, 0x78
inc ebp
or esi, esi
scasb al, byte es:[edi]
jle 0x431a80
sub edx, edi
test eax, 0xa0a74ed4
int3
imul esi, dword [eax + edi], 0xffffffe7
dec esp
aad 0xe3
dec eax
jecxz 0x431b0f
sub eax, 0x5ce9f1bb
pop esp
jmp dword [ebp + 0x3e]
rol esp, cl
popfd
pop ebx
in al, 0xe3
pop ds
retf 0xc958
pop ss
iretd
pop eax
xchg esp, eax
jbe 0x431b80
sub al, 2
shr byte [ebx - 0x10f2cb6], 1
das
jae 0x431b4c
mov byte [0xbff108c9], al
push ds
jecxz 0x431ad5
mov cl, 0x17
add dl, byte [ebp - 0x28]
or ch, dl
push ecx
or dword [ebp + ebp*8 - 0x2d8e0a06], eax
push ds
test byte [edx], 0xcb
xchg edi, eax
pop es
xchg ebx, eax
and eax, 0xbaa0b81
push ebp
fmul dword [edx]
ljmp 0xf5fa
loop 0x431ba3
jg 0x431b81
lodsd eax, dword [esi]
and al, 6
scasb al, byte es:[edi]
sbb al, 0xf8
inc ecx
cmpsb byte [esi], byte es:[edi]
jo 0x431b8f
push ds
cmp bh, byte [ecx + 0x6d]
insd dword es:[edi], dx
xchg edi, eax
cmc
ja 0x431bbc
jbe 0x431b69
or eax, 0xde728c6a
sub dword [ebp + 0x27], 0xffffff8e
sub edi, dword [ecx + ecx*4 + 0x3532f524]
js 0x431b29
xor eax, 0x241bbd78
cmp dword [ecx - 0x6d], eax
sbb esp, dword [ecx + edi]
inc ecx
xchg ebx, eax
js 0x431bc2
in al, dx
jbe 0x431b52
cmp al, 0x36
jle 0x431b41
add byte [ebx + 0x3e], bh
adc bh, byte [edi + 0x5f]
out 0x37, eax
aaa
aas
not byte [eax + 0x75cc2dfa]
sti
and byte [ebx], 0x36
or byte [eax], ch
imul eax, edx, 0xb8805863
insb byte es:[edi], dx
leave
xchg byte [esi], cl
push cs
add al, 0x30
sub dword [edi + 0x9cc451f], 0x29e869f3
lodsd eax, dword [esi]
xor byte [ebx - 0x326ecd20], 0xf3
call 0xb3c3c8d1
loopne 0x431bdc
xchg ecx, eax
int 0xf3
xor eax, 0xd614b54d
jne 0x431b98
ret 0xc4d9
or al, 0xf2
imul edi, dword [esi], 0xffffffdf
add byte [bp + si - 0x2fbc], 0xf6
test byte [esp + ebp], dh
sub ecx, esi
add byte [edx - 0x7b092fbc], 0x34
sub al, 0x29
dec ebx
Function at 0x40f110
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
lea eax, [esp]
push eax
xor edx, edx
push 1
push edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov word [esi], dx
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f15f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx

Function at 0x40f450
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00425210
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x492380]
mov dl, byte [eax + 0x492378]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x40f460
lea eax, [esp]
push 0x4876e8
push eax
call fcn.00413990
push 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00410f70
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
push edi
jmp 0x40f4b0

Function at 0x40f6a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004131f0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
invalid
inc esi
invalid
invalid
stosd dword es:[edi], eax

Function at 0x4103e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4972c8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x484750
push 0x484750
push 0
call esi
mov ecx, dword [0x4972c8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push 0x484764
push 0
mov dword [0x4972c0], eax
call esi
mov edx, dword [0x4972c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x4972bc], eax
call esi
mov eax, dword [0x4972c0]
push 0
push eax
call esi
pop esi
ret
Function at 0x4261f1
Capabilities:
Encode data using xor

Disassembly:
into
sbb dl, bh
invalid
jp 0x4261b1
add al, byte [edi + 0x657d2d82]
iretd
sub esi, dword [eax - 6]
xor ch, 0xc0
push ecx
push eax
pop eax
cmp word [edi], 0x7fc9
jne 0x42616e
ret 0xfd3f
jnp 0x426192
les eax, [ebp - 0x1a]
inc ebx
push es
imul esp, ebx, 0x709756a5
pop ss
aaa
pop ebp
xlatb
push ebp
mov esi, esp
pop eax
and eax, 0x6e825966
lcall 0xe6d2, 0xa03f8403
out 0xd8, al
pop esp
test al, 0x18
sbb eax, 0x38a9c490
nop
je 0x4261e2
ja 0x42626d
cdq
or byte [ebp + 0x4274c664], 0xa1
popal
add esp, 0xffffffbc
xor dl, bl
inc ecx
out dx, al
sbb ebx, ebp
inc edx
call 0xef60288b
xor ch, byte [edx]
cmp al, byte [edi - 0x17]
invalid
and eax, 0xa56b511a
test dword [esi - 0x7c7d1ad4], esp
das
stosd dword es:[edi], eax
xchg ebx, eax
add eax, 0x66d87e2c
mov esp, cs
push ebp
push esi
cmc
push ecx
jg 0x4262f3
test byte [ebx - 0x58], al
cmp ebp, dword [0x72f47df9]
outsd dx, dword [esi]
xchg ebx, eax
pop ecx
mov edx, esp
loop 0x4262f8
popal
adc al, 0x47
enter 0x1ea5, 0xfffffffffffffffc
in eax, dx
dec ebx
in eax, 0x45
jl 0x426315
mov esp, 0x577b05a2
mov edi, 0x54fd14ec
push 0xffffffffffffffa7
push ebx
push eax
out 0xe7, al
mov bl, 0x27
int 0xcc
fcmovb st(0), st(2)
xor eax, 0x78739c1a
loopne 0x426295
ret
int1
pcmpgtw mm5, qword [esp + 0x6af8455c]
xchg esi, edi
and eax, 0x8bd0ae94
out 0xa6, eax
xor byte [edi - 0x37fb20b4], 0x99
jge 0x426296
pop esp
inc ebp
clc
push 0xffffffffffffff87
invalid
jp 0x426296
pop eax
inc esi
sub al, 0x4a
mov ebx, 0xe8011636
push ss
add eax, ebp
push ebp
movsd dword es:[edi], dword [esi]
imul edi, dword [eax - 1], 0xd1353997
test al, bh
pop edi
invalid

Function at 0x43905c
Capabilities:
Get token privileges

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
push esi
push 0
push eax
push 3
push edi
call ebx
test eax, eax
jne 0x4390ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4390b9
mov ecx, dword [esi]
push ecx
call fcn.00438fcf
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x4390b9
mov edx, dword [esi]
push esi
push edx
push eax
push 3
push edi
call ebx
test eax, eax
je 0x4390b9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc

Function at 0x439102
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
call fcn.00438fe4
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
mov esi, eax
push 0
push esi
call edi
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call ebx
push 2
push 0
push 0
lea edx, [esi + 8]
push edx
call edi
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push ecx
call edi
push eax
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push 0
push 0
push esi
push 0x4390c2
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x43916a
Capabilities:
Impersonate user

Disassembly:
movsx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
and eax, 2
or eax, 4
push 0
shr eax, 1
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
ret 0x14

Function at 0x439326
Capabilities:
Create process on windows

Disassembly:
mov al, byte [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x1c], ecx
test al, 1
je 0x439342
lea edi, [ecx + 1]
jmp 0x43934b
test al, 2
je 0x43934b
mov edi, 2
xor bl, bl
test al, 4
je 0x43938e
push ebp
lea eax, [esp + 0x28]
push eax
push 0xa
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esp + 0x28]
push 1
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebp, eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
pop ebp
je 0x4393cb
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
or esi, 0x400
push esi
push edx
mov edx, dword [esp + 0x28]
push 0
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4393da
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
pop esi
mov al, bl
pop ebx
ret 0x24

Function at 0x439699
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14c]
mov ecx, dword [edi]
mov eax, dword [edi + 0x44]
mov dword [esp + 0x30], eax
cmp ecx, dword [edi + 4]
jae 0x43dc7d
mov ebx, dword [esp + 0x154]
mov ebp, dword [esp + 0x140]
mov esi, dword [esp + 0x13c]