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

Disassembly:
cmp byte [eax - 0x16], dh
out dx, al
out 0x5f, eax
ljmp 0xdc36
loope 0x5e1142
dec ebx
push es
dec esp
insd dword es:[edi], dx
stosd dword es:[edi], eax
add eax, 0xa01b012e
dec edi
xor dword [edi], ebp
inc edx
push ds
lodsd eax, dword [esi]
hlt
jne 0x5e118f
and dword [ecx + 0x42409fc], esp
and bl, byte [eax]
jno 0x5e125a
cli
mov al, cl
cdq
add eax, 0xb6e0e2d4
lcall 0xda85, 0xfb53d9a1
cmpsd dword [esi], dword es:[edi]
pop edx
push ecx
cld
movsd dword es:[edi], dword [esi]
int 0x22
mov ch, 0x18
adc ch, byte [edx + edi*2]
pop edx
mov esp, 0xddeb50a2
invalid
mov word [eax - 0x76c0c8e3], cs
int1
and byte [ecx], ah
adc al, 0x1b
sub ebx, dword [edx]
mov dh, 0x9d
popal
pop ecx
les esi, [edx]
xor eax, 0x6a4cc589
loopne 0x5e1202
push ds
dec eax
loop 0x5e11f6
stc
and cl, bl
dec ecx
inc edi
or ch, dh
add dword [ebx - 0x64], esi
jae 0x5e1213
or al, byte [eax]
in eax, 0x53
or bl, bl
std
mov bh, 0x1f
sbb eax, 0x5af647be
cdq
push esp
sal dword [esi + 0x4679f6d9], 0x81
xchg ebp, eax
mov dword [edi + esi + 0x3853da8d], ebp
inc ecx
pop ecx
jnp 0x5e124f
push esp
mov ch, bh
jne 0x5e1275
loopne 0x5e12ba
jg 0x5e12f1
xor eax, 0xcd41fa09
scasd eax, dword es:[edi]
or edx, edi
inc ecx
int 0xaf
in al, 0x89
mov dword [0xf1e96cff], eax
sbb dl, byte [edi - 0x49]
mov word [edi + edi*2], es
leave
mov ecx, 0x284a6436
push 0x3fc254cb
push edi
xor eax, 0x56765af3
invalid
dec edx
sub byte [eax - 0x35], ch
push esp
ret 0x573f
push eax
jle 0x5e12a5
cmc
test eax, 0x31943da5
insd dword es:[edi], dx
push ebx
pop cx
cmpsd dword [esi], dword es:[edi]
fist dword [ebp + esi*2 - 0x79]
cmp esi, dword [eax + ebp - 0x50e5d506]
xchg ebp, eax
or ch, bl
push edx
fbld tbyte [ebp - 0x1a55789e]
in eax, 0x7c
push cs
stosb byte es:[edi], al
in eax, 0xe5
jl 0x5e1309
lahf
rcl byte [ecx]
xor al, 9
je 0x5e12d2
ficom dword [eax + 0x15e0d7bd]
sal dword [edi], 0x38
inc ebx
test eax, 0xdd7a37be
dec ax
aaa
cmp byte [ebx - 0x57], al
mov esi, 0x66dd7a37
dec eax
dec ebx
dec ebx
movsb byte es:[edi], byte [esi]
lcall 0x89b1, 0x86b07e6
push 0x88876008
pop edi
rol dword [ebx + 0x366b25b2], 0x9e
sahf
insb byte es:[edi], dx
xchg ebp, eax
mov al, 0x7f
lahf
or eax, 0x60c7d825
mov dh, 0x9c
cmp byte [0xf641b6f], bh
dec esp
xor dword [ecx], ebp
push es
mov edx, 0x2b951eb5
jecxz 0x5e1337
enter 0xffffffffffff845d, 0xffffffffffffff9b
pop esp
jmp 0x5e12f6
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6809291f
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x59ec0de7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4010be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.00401bd9
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x40b20e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.00401bd9
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x40b20e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x401157
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x40117f
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x401179
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x401198
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push dword [ebp - 0xc]
call fcn.00401264
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4011e0
push ebx
call fcn.00401bc7
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x4011f5
mov ebx, dword [ebp - 4]
push ebx
call fcn.00401bc7
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00401bc7
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401ef0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x401f59
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00401dd0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x404081
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402fa9
xor ebx, ebx
cmp dword [0x40c7c4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x404156
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4040c1
xor eax, eax
jmp 0x40421a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x409800
push edi
call esi
cmp eax, ebx
je 0x4040ba
push eax
call fcn.00402f46
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40c7c4], eax
call esi
push eax
call fcn.00402f46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40c7c8], eax
call esi
push eax
call fcn.00402f46
mov dword [0x40c7cc], eax
lea eax, [ebp - 8]
push eax
call fcn.00402258
test eax, eax
pop ecx
pop ecx
je 0x404124
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040396b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x404156
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402f46
cmp eax, ebx
pop ecx
mov dword [0x40c7d4], eax
je 0x404156
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f46
pop ecx
mov dword [0x40c7d0], eax
mov eax, dword [0x40c7d0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4041cf
cmp dword [0x40c7d4], esi
je 0x4041cf
push eax
call fcn.00402fb2
pop ecx
call eax
cmp eax, ebx
je 0x40419c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40c7d4]
call fcn.00402fb2
pop ecx
call eax
test eax, eax
je 0x40419c
test byte [ebp - 0x18], 1
jne 0x4041cf
lea eax, [ebp - 0xc]
push eax
call fcn.0040228f
test eax, eax
pop ecx
je 0x4041b7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040396b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4041c6
or dword [ebp + 0x10], 0x200000
jmp 0x404200
or dword [ebp + 0x10], 0x40000
jmp 0x404200
mov eax, dword [0x40c7c8]
cmp eax, esi
je 0x404200
push eax
call fcn.00402fb2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x404200
mov eax, dword [0x40c7cc]
cmp eax, esi
je 0x404200
push dword [ebp - 4]
push eax
call fcn.00402fb2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40c7c4]
call fcn.00402fb2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405eca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40bf28]
jne 0x405ed4
repz ret
jmp fcn.00407505
Function at 0x43c7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x43c805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x43c878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x43c83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x43c86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x43c86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x43c831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x43c7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x414b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b58
mov eax, 1
add ebx, ebx
jne 0x414b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b70
jne 0x414b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b70
xor ecx, ecx
sub eax, 3
jb 0x414ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c12
mov ebp, eax
add ebx, ebx
jne 0x414bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414bdc
inc ecx
add ebx, ebx
jne 0x414bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414bbd
jne 0x414bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414bed
jmp 0x414b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414bfc
add edi, ecx
jmp 0x414b5e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c1a
cmp byte [edi], 0
jne 0x414c1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x414c1f
lea edi, [esi + 0x12000]
Function at 0x10001670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
nop
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10001692
xor eax, eax
jmp 0x100016e6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
je 0x100016b7
xor eax, eax
jmp 0x100016e6
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x4550
je 0x100016c6
xor eax, eax
jmp 0x100016e6
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x16]
and ecx, 0x2000
je 0x100016de
mov eax, 1
jmp 0x100016e6
mov eax, 2
jmp 0x100016e6
mov esp, ebp
pop ebp
ret 8

Function at 0x100016f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x948
mov dword [ebp - 0x948], ecx
nop
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x940]
push ecx
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x944], eax
cmp dword [ebp - 0x944], 0xffffffff
je 0x100017a9
mov eax, dword [ebp - 0x940]
and eax, 0x10
je 0x10001752
jmp 0x10001784
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x914]
push eax
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x940]
push eax
mov ecx, dword [ebp - 0x944]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001745
mov edx, dword [ebp - 0x944]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov esp, ebp
pop ebp
ret 8

Function at 0x10001df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 4
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x1001ab60
call fcn.100011b0
add esp, 4
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001e72
mov dword [ebp - 0xc], 0x200
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x2b8
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10001e5c
xor eax, eax
jmp 0x10001e74
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
add eax, 0x2b8
jmp 0x10001e74
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10002350
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 0x210], ecx
push 0x1001a750
call fcn.100011b0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
je 0x100025a0
push 0x1001a764
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x200], eax
push 0x1001a778
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1fc], eax
push 0x1001a78c
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x1a4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push str.XT_b
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x1001a7b8
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x200], 0
je 0x10002581
cmp dword [ebp - 0x1fc], 0
je 0x10002581
cmp dword [ebp - 0xc], 0
je 0x10002581
cmp dword [ebp - 4], 0
je 0x10002581
cmp dword [ebp - 8], 0
je 0x10002581
lea edx, [ebp - 0x1a0]
push edx
push 0x202
call dword [ebp - 0x200]
push 0x50
lea eax, [ebp - 0x1f8]
push eax
call dword [ebp - 0x1fc]
cmp eax, 0xffffffff
jne 0x100024a2
push 0x1001a7cc
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.10001d70
add esp, 8
jmp 0x1000257c
lea edx, [ebp - 0x1f8]
push edx
push 0x1001a7f4
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x210]
push eax
call fcn.10001d70
add esp, 0xc
lea ecx, [ebp - 0x1f8]
push ecx
call dword [ebp - 0xc]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
jne 0x100024fe
push 0x1001a80c
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x210]
push edx
call fcn.10001d70
add esp, 8
jmp 0x1000257c
mov dword [ebp - 0x208], 0
jmp 0x10002519
mov eax, dword [ebp - 0x208]
add eax, 1
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x204]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x208]
cmp dword [edx + eax*4], 0
je 0x1000257c
push 4
mov ecx, dword [ebp - 0x204]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x208]
mov ecx, dword [edx + eax*4]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.10010740
add esp, 0xc
mov eax, dword [ebp - 0x20c]
push eax
call dword [ebp - 8]
push eax
push 0x1001a828
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.10001d70
add esp, 0xc
jmp 0x1000250a
call dword [ebp - 4]
jmp 0x1000259e
push 0x1001a838
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x210]
push edx
call fcn.10001d70
add esp, 8
jmp 0x100025bd
push 0x1001a868
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x210]
push eax
call fcn.10001d70
add esp, 8
cmp dword [ebp - 0x1a4], 0
je 0x100025d3
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, ebp
pop ebp
ret
Function at 0x100025e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x40c], ecx
push 0x100
lea eax, [ebp - 0x300]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dl, byte [ebp - 0x408]
mov byte [ebp - 0x308], dl
mov al, byte [ebp - 0x407]
mov byte [ebp - 0x307], al
mov byte [ebp - 0x306], 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x1000264a
mov eax, dword [ebp + 8]
jmp 0x10002754
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3f
jne 0x1000269c
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 2]
cmp eax, 0x3f
jne 0x1000269c
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 3]
cmp edx, 0x5c
jne 0x1000269c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.100106d0
add esp, 8
lea edx, [ebp - 0x1fc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
jmp 0x10002754
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.100106d0
add esp, 8
mov byte [ebp - 0x1f6], 0
push str.SystemRoot
lea eax, [ebp - 0x200]
push eax
call fcn.100106a0
add esp, 8
test eax, eax
jne 0x10002715
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0xb
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.10010670
add esp, 8
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
jmp 0x10002754
lea ecx, [ebp - 0x308]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x200]
push ecx
call fcn.10010670
add esp, 8
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x10002830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x40c], ecx
push 0x100
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dl, byte [ebp - 0x100]
mov byte [ebp - 0x108], dl
mov al, byte [ebp - 0xff]
mov byte [ebp - 0x107], al
mov byte [ebp - 0x106], 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x100028ea
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.100106d0
add esp, 8
push str.drivers_
lea edx, [ebp - 0x408]
push edx
call fcn.10010670
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.10010670
add esp, 8
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10010670
add esp, 8
mov eax, dword [ebp + 8]
jmp 0x100029f4
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 1]
cmp edx, 0x3f
jne 0x1000293c
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 2]
cmp ecx, 0x3f
jne 0x1000293c
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 3]
cmp eax, 0x5c
jne 0x1000293c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.100106d0
add esp, 8
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
jmp 0x100029f4
mov edx, dword [ebp + 8]
add edx, 1
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.100106d0
add esp, 8
mov byte [ebp - 0x3fe], 0
push 0x1001a5ec
lea ecx, [ebp - 0x408]
push ecx
call fcn.100106a0
add esp, 8
test eax, eax
je 0x100029b5
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.100106d0
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0xb
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.10010670
add esp, 8
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
jmp 0x100029f4
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.100106d0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.10010670
add esp, 8
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100106d0
add esp, 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x10002a00
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x114], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 4]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x114]
push edx
push 1
push 0
mov eax, dword [ebp + 8]
push eax
push 0x1001a47c
call dword [sym.imp.NETAPI32.dll_NetUserGetLocalGroups]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x10002b75
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0
je 0x10002b73
mov dword [ebp - 0x11c], 0
jmp 0x10002aa2
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 4]
jae 0x10002b73
cmp dword [ebp - 0x120], 0
jne 0x10002adc
push 0x1001a4c4
call fcn.100011b0
add esp, 4
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.10001d70
add esp, 8
jmp 0x10002b73
push 0
push 0
push 0x100
lea edx, [ebp - 0x108]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [ebp - 0x108]
push edx
push 0x1001a5b0
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x124]
push eax
call fcn.10001d70
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
add ecx, 1
cmp ecx, dword [ebp - 4]
jae 0x10002b50
push 0x1001a5bc
call fcn.100011b0
add esp, 4
push eax
mov edx, dword [ebp - 0x124]
push edx
call fcn.10001d70
add esp, 8
mov eax, dword [ebp - 0x120]
add eax, 4
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
jmp 0x10002a93
jmp 0x10002b99
mov edx, dword [ebp - 0x110]
push edx
push 0x1001a5c8
call fcn.100011b0
add esp, 4
push eax
mov eax, dword [ebp - 0x124]
push eax
call fcn.10001d70
add esp, 0xc
cmp dword [ebp - 0x114], 0
je 0x10002baf
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov esp, ebp
pop ebp
ret 4