joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001642b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
push 0x10
call fcn.10011093
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100164d0
push edi
mov edi, 0x19b4
call fcn.10013190
mov dword [ebp - 4], eax
pop edi
test eax, eax
je 0x1001648e
push 0x207
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 4]
call fcn.100132d0
push 0x1002e788
call fcn.10013620
mov dword [esi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10013620
push 0x1002e57e
mov dword [esi + 4], eax
call fcn.10013620
push 0x1002d560
mov dword [esi + 8], eax
call fcn.10013620
add esp, 0x10
mov dword [esi + 0xc], eax
test ebx, ebx
je 0x100164d0
mov dword [ebx], 4
mov eax, esi
pop esi
leave
ret

Function at 0x100164d5
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x100165ab
push esi
push edi
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x100165a9
xor esi, esi
xor edx, edx
mov eax, dword [ebp + 8]
mov al, byte [ebx + eax]
lea ecx, [ebp + edx - 4]
mov byte [ecx], al
cmp ebx, dword [ebp + 0xc]
jae 0x10016514
inc esi
jmp 0x10016517
mov byte [ecx], 0
inc ebx
inc edx
cmp edx, 3
jl 0x10016500
test esi, esi
je 0x1001659d
movzx ecx, byte [ebp - 4]
movzx edx, byte [ebp - 3]
mov eax, ecx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 8], al
and ecx, 3
mov eax, edx
shr eax, 4
shl ecx, 4
or eax, ecx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 7], al
cmp esi, 1
jle 0x1001656d
movzx eax, byte [ebp - 2]
and edx, 0xf
shr eax, 6
shl edx, 2
or eax, edx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 6], al
jmp 0x10016571
mov byte [ebp - 6], 0x3d
cmp esi, 2
jle 0x10016588
movzx eax, byte [ebp - 2]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 5], al
jmp 0x1001658c
mov byte [ebp - 5], 0x3d
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add dword [ebp - 0xc], 4
lea esi, [ebp - 8]
lea edi, [edi + eax]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
cmp ebx, dword [ebp + 0xc]
jb 0x100164ee
pop edi
pop esi
pop ebx
cmp ecx, dword [ebp + 0x14]
jae 0x100165b8
mov eax, dword [ebp + 0x10]
mov byte [ecx + eax], 0
mov eax, ecx
leave
ret
Function at 0x100167e3
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 2
xor esi, esi
push esi
push dword [ebp + 8]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10016809
or eax, 0xffffffff
pop esi
leave
ret
cmp dword [ebp + 0x14], esi
je 0x10016838
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1001682b
push 0xfffffffffffffffe
pop esi
push dword [ebp - 4]
call dword [0x1002ce58]
mov eax, esi
jmp 0x10016806
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1001682b
push 0xfffffffffffffffd
jmp 0x1001682a

Function at 0x100168ba
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
jle 0x1001695b
push ebx
push esi
push edi
movzx ecx, cl
movzx edi, dl
inc ecx
and ecx, 0x800000ff
jns 0x100168f3
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
movzx ecx, cl
mov dl, byte [ecx + eax]
movzx ebx, dl
add ebx, edi
and ebx, 0x800000ff
jns 0x10016911
dec ebx
or ebx, 0xffffff00
inc ebx
mov esi, dword [ebp + 8]
add esi, dword [ebp - 8]
movzx edi, bl
mov byte [ebp - 1], bl
mov bl, byte [edi + eax]
mov byte [ecx + eax], bl
mov byte [edi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x1001693f
dec ebx
or ebx, 0xffffff00
inc ebx
movzx edx, bl
mov dl, byte [edx + eax]
xor byte [esi], dl
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jl 0x100168e2
mov dl, byte [ebp - 1]
mov cl, byte [ebp - 2]
pop edi
pop esi
pop ebx
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
leave
ret
Function at 0x10016c89
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push ebx
push esi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x240], ax
lea eax, [ebp - 0x23e]
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_memset
mov esi, 0x3fff
push esi
mov dword [ebp - 0x24], 0x104
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
call fcn.10011093
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x10016ce0
xor eax, eax
jmp 0x10016ded
push edi
mov edi, 0x800
push edi
call fcn.10011093
pop ecx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10016cfb
xor eax, eax
jmp 0x10016dec
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push dword [ebp + 8]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10016dc7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10016d56
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10016dc7
cmp dword [ebp - 0x10], ebx
je 0x10016dc7
mov dword [ebp - 0xc], ebx
jbe 0x10016dc7
push edi
push ebx
push dword [ebp - 8]
call sub.msvcrt.dll_memset
push esi
push ebx
push dword [ebp - 0x14]
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], edi
mov word [eax], cx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x18]
push ebx
push ebx
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10016db3
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [0x1002ce9c]
test eax, eax
jne 0x10016dc0
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jb 0x10016d60
jmp 0x10016dc7
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 4], ebx
je 0x10016dd5
push dword [ebp - 4]
call dword [0x1002ce58]
mov eax, esi
lea esi, [ebp - 0x14]
call fcn.100110a9
mov eax, edi
lea esi, [ebp - 8]
call fcn.100110a9
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10016df1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0x10016e01
xor eax, eax
pop ebp
ret
jbe 0x10016e30
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x100246f0]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x100246f0]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x10016e03
not eax
pop ebp
ret
Function at 0x10017383
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x1c], 0x500
call fcn.1001727a
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x100173ab
xor eax, eax
jmp 0x1001743d
push esi
lea ecx, [ebp - 0x18]
push ecx
push 2
push eax
call fcn.100172c4
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x10017422
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x20]
push eax
call dword [0x1002ceb8]
test eax, eax
je 0x10017422
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [esi], ebx
jbe 0x10017419
push edi
lea edi, [esi + 4]
push dword [ebp - 0xc]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x10017411
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 8
cmp eax, dword [esi]
jb 0x100173f3
jmp 0x10017418
mov dword [ebp - 8], 1
pop edi
push dword [ebp - 0xc]
call dword [0x1002ce30]
push dword [ebp - 0x10]
call dword [0x1002cddc]
cmp esi, ebx
je 0x10017439
xor eax, eax
lea esi, [ebp - 0x14]
call fcn.100110a9
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret

Function at 0x10017440
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x12
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x500
call dword [0x1002ceb8]
test eax, eax
jne 0x10017470
leave
ret
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 4]
mov esi, eax
call dword [0x1002ce30]
mov eax, esi
pop esi
leave
ret

Function at 0x100177ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [0x1002ee20]
call fcn.1001776e
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x100177fc
push 0
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [eax + 4]
add ecx, 8
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100177ec
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, 0x84
lea esi, [ebp - 8]
call fcn.100110a9
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x10018707
Capabilities:
Create thread
Terminate thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push 0x9a2
push 0x100186d7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10018741
push 2
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10018b70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x5c]
mov byte [ecx + eax + 0x1c], 0x80
inc dword [eax + 0x5c]
cmp ecx, 0x37
mov ecx, dword [eax + 0x5c]
jle 0x10018bba
jmp 0x10018b90
mov byte [ecx + eax + 0x1c], 0
inc dword [eax + 0x5c]
mov ecx, dword [eax + 0x5c]
cmp ecx, 0x40
jl 0x10018b85
call fcn.100189b8
jmp 0x10018ba7
mov ecx, dword [eax + 0x5c]
mov byte [eax + ecx + 0x1c], 0
inc dword [eax + 0x5c]
cmp dword [eax + 0x5c], 0x38
jl 0x10018b9c
jmp 0x10018bbf
mov byte [ecx + eax + 0x1c], 0
inc dword [eax + 0x5c]
mov ecx, dword [eax + 0x5c]
cmp ecx, 0x38
jl 0x10018baf
mov cl, byte [eax + 0x1b]
mov byte [eax + 0x54], cl
mov cl, byte [eax + 0x1a]
mov byte [eax + 0x55], cl
mov cl, byte [eax + 0x19]
mov byte [eax + 0x56], cl
mov cl, byte [eax + 0x18]
mov byte [eax + 0x57], cl
mov cl, byte [eax + 0x17]
mov byte [eax + 0x58], cl
mov cl, byte [eax + 0x16]
mov byte [eax + 0x59], cl
mov cl, byte [eax + 0x15]
mov byte [eax + 0x5a], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5b], cl
jmp fcn.100189b8

Function at 0x10018bf4
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push esi
push edi
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
mov dword [esp + 0x20], 0xc3d2e1f0
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0xc], eax
mov esi, ecx
cmp eax, edi
je 0x10018c97
dec dword [esp + 0xc]
cmp dword [esp + 0x74], edi
jne 0x10018ca8
mov ecx, dword [esp + 0x6c]
mov al, byte [esi]
mov byte [esp + ecx + 0x2c], al
inc dword [esp + 0x6c]
add dword [esp + 0x24], 8
jne 0x10018c74
inc dword [esp + 0x28]
jne 0x10018c74
mov dword [esp + 0x74], 1
cmp dword [esp + 0x6c], 0x40
jne 0x10018c84
lea eax, [esp + 0x10]
call fcn.100189b8
inc esi
cmp dword [esp + 0xc], edi
jne 0x10018c47
cmp dword [esp + 0x74], edi
jne 0x10018ca8
cmp dword [esp + 0x70], edi
jne 0x10018ca8
lea eax, [esp + 0x10]
call fcn.10018b70
mov dword [esp + 0x70], 1
lea ecx, [esp + 0x11]
lea esi, [esp + 0x10]
sub ecx, ebx
lea eax, [ebx + 2]
sub esi, ebx
mov dl, byte [ecx + eax]
mov byte [eax - 2], dl
mov dl, byte [esi + eax]
mov byte [eax - 1], dl
mov dl, byte [esp + edi*4 + 0x11]
mov byte [eax], dl
mov dl, byte [esp + edi*4 + 0x10]
mov byte [eax + 1], dl
inc edi
add eax, 4
cmp edi, 5
jb 0x10018cb7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018cdf
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 4]
push eax
push 0x10020660
push 1
push esi
push 0x10020730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10018d67
push edi
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
lea edi, [ebp - 8]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push ecx
call dword [edx + 0xc]
pop edi
test eax, eax
js 0x10018d67
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x10018d67
push 8
call fcn.10011093
pop ecx
cmp eax, esi
jne 0x10018d85
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x10018d74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x10018d81
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x10018d90
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
pop esi
leave
ret

Function at 0x10018e68
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push str.ROOTCIMV2
xor esi, esi
call fcn.10018cdf
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x10018ecf
mov edi, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push str.Caption
push str.SELECT__FROM_Win32_OperatingSystem
call fcn.10018dbf
add esp, 0xc
test eax, eax
je 0x10018ec5
push dword [ebp - 0x10]
call fcn.10013620
mov esi, eax
pop ecx
test esi, esi
je 0x10018ebb
push 0x10020c3c
push esi
call dword [0x1002cd98]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 4]
call fcn.10018d93
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x10018f3e
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push str.ROOTCIMV2
xor esi, esi
call fcn.10018cdf
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x10018fa5
mov edi, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push str.Name
push str.SELECT__FROM_Win32_Processor
call fcn.10018dbf
add esp, 0xc
test eax, eax
je 0x10018f9b
push dword [ebp - 0x10]
call fcn.10013620
mov esi, eax
pop ecx
test esi, esi
je 0x10018f91
push 0x10020c3c
push esi
call dword [0x1002cd98]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 4]
call fcn.10018d93
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x1001e528
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
push ebx
lea ebx, [edx + eax - 0x21524111]
push esi
mov eax, ebx
push edi
mov esi, ebx
mov dword [ebp - 4], eax
cmp edx, 0xc
jbe switch.0x1001e61a
lea eax, [edx - 0xd]
push 0xc
xor edx, edx
pop edi
div edi
inc eax
mov dword [ebp - 8], eax
movzx eax, byte [ecx + 7]
movzx edx, byte [ecx + 6]
movzx edi, byte [ecx + 4]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 5]
add edi, esi
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 0xa]
shl eax, 8
add edi, eax
movzx eax, byte [ecx + 0xb]
movzx esi, byte [ecx + 3]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 9]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 8]
add edx, ebx
movzx ebx, byte [ecx + 2]
shl esi, 8
add esi, ebx
movzx ebx, byte [ecx + 1]
shl esi, 8
add esi, ebx
movzx ebx, byte [ecx]
shl esi, 8
add esi, ebx
shl eax, 8
add eax, edx
sub esi, eax
add esi, dword [ebp - 4]
mov edx, eax
rol edx, 4
xor edx, esi
add eax, edi
sub edi, edx
mov esi, edx
rol esi, 6
xor esi, edi
add edx, eax
sub eax, esi
mov edi, esi
add esi, edx
rol edi, 8
xor edi, eax
sub edx, edi
mov eax, edi
rol eax, 0x10
xor eax, edx
add edi, esi
sub esi, eax
mov edx, eax
ror edx, 0xd
xor esi, edx
mov edx, dword [ebp + 8]
add eax, edi
mov ebx, esi
sub edi, esi
rol ebx, 4
sub edx, 0xc
xor ebx, edi
add esi, eax
add ecx, 0xc
dec dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp + 8], edx
jne 0x1001e558
cmp edx, 0xc
ja 0x1001e683
jmp dword [edx*4 + 0x1001e6d4]
movzx edx, byte [ecx + 0xb]
shl edx, 0x18
add ebx, edx
movzx edx, byte [ecx + 0xa]
shl edx, 0x10
add ebx, edx
movzx edx, byte [ecx + 9]
shl edx, 8
add ebx, edx
movzx edx, byte [ecx + 8]
add ebx, edx
movzx edx, byte [ecx + 7]
shl edx, 0x18
add esi, edx
movzx edx, byte [ecx + 6]
shl edx, 0x10
add esi, edx
movzx edx, byte [ecx + 5]
shl edx, 8
add esi, edx
movzx edx, byte [ecx + 4]
add esi, edx
movzx edx, byte [ecx + 3]
shl edx, 0x18
add eax, edx
movzx edx, byte [ecx + 2]
shl edx, 0x10
add eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
add eax, edx
movzx ecx, byte [ecx]
add eax, ecx
xor ebx, esi
mov ecx, esi
rol ecx, 0xe
sub ebx, ecx
mov edx, ebx
rol edx, 0xb
mov ecx, ebx
xor ecx, eax
sub ecx, edx
xor esi, ecx
mov eax, ecx
ror eax, 7
sub esi, eax
xor ebx, esi
mov eax, esi
rol eax, 0x10
sub ebx, eax
mov eax, ebx
mov edi, eax
mov edx, eax
xor edx, ecx
rol edi, 4
sub edx, edi
mov ecx, edx
rol ecx, 0xe
xor esi, edx
sub esi, ecx
mov ecx, esi
ror ecx, 8
xor eax, esi
sub eax, ecx
pop edi
pop esi
pop ebx
leave
ret
mov eax, ebx
jmp 0x1001e6c8
Function at 0x1001f3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x1001f415
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x1001f42d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x1001f45c
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x1001f49e
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x1001f572
sub edx, 0x10000
js 0x1001f572
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x1001f484
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x1001f484
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x1001f4f5
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x1001f4f2
add edx, 8
jne 0x1001f4d9
jmp 0x1001f563
add edx, 4
test eax, 0xffff
jne 0x1001f502
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x1001f563
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x1001f536
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x1001f484
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x1001f572
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x1001f484
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x1001f583
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4433c9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x534014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
push esi
push edi
cmp edx, ebx
je 0x443414
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044352b
test al, al
jne 0x44340e
sub edx, 2
cmp edx, ebx
jne 0x4433f4
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x443436
lea eax, [ebx + 2]
cmp edx, eax
je 0x443436
push ecx
xor edi, edi
push edi
push edi
push ebx
call fcn.00443315
add esp, 0x10
jmp 0x44351c
push esi
lea ecx, [ebp - 0x255]
call fcn.0044352b
sub edx, ebx
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor edi, edi
push edi
push edi
and eax, edx
push edi
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
mov eax, dword [ebp - 0x25c]
cmp esi, 0xffffffff
jne 0x44347a
push eax
jmp 0x443426
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
push 0x2e
mov dword [ebp - 0x264], ecx
pop ecx
cmp word [ebp - 0x228], cx
jne 0x4434af
cmp word [ebp - 0x226], di
je 0x4434ca
cmp word [ebp - 0x226], cx
jne 0x4434af
cmp word [ebp - 0x224], di
je 0x4434ca
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.00443315
add esp, 0x10
test eax, eax
jne 0x443511
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
mov eax, dword [ebp - 0x25c]
pop ecx
jne 0x44348b
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x264]
sub eax, edx
sar eax, 2
cmp ecx, eax
je 0x443513
push 0x443011
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00448ef0
add esp, 0x10
jmp 0x443513
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426f36
leave
ret

Function at 0x444107
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x444118
pop esi
ret
push ebx
push edi
push esi
call fcn.004440d0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043fd53
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x444140
push ebx
push esi
push edi
call fcn.0042fd00
add esp, 0xc
push 0
call fcn.0043fd19
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret