joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6181e8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x618234
cmp dword [ebp - 0x104], 2
jne 0x618234
cmp dword [ebp - 0x110], 5
ja 0x618232
cmp dword [ebp - 0x110], 5
jne 0x618234
cmp dword [ebp - 0x10c], 1
jb 0x618234
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x61823c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.0042292c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x61b1f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.0042292c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x61f408
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.0042292c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x621120
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
xor edx, edx
mov dword [ebp - 0x25c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6211f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, ebx
call fcn.005e0b78
lea eax, [ebp - 0x25c]
mov edx, 0x621210
call fcn.00409b1c
mov eax, dword [ebp - 0x25c]
call fcn.0040990c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x6211d9
xor eax, eax
push ebp
push 0x6211d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.006210d0
test al, al
je 0x6211a7
mov byte [ebp - 1], 1
jmp 0x6211bb
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x621192
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6211d9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6211f9
lea eax, [ebp - 0x25c]
call fcn.00408844
ret

Function at 0x621214
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
push 0x200
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040990c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x621254
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.004099c4
jmp 0x62125b
mov eax, ebx
call fcn.00408844
add esp, 0x2b4
pop esi
pop ebx
ret
Function at 0x621264
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x7fd630]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040990c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6212a3
mov eax, dword [esp + 4]
jmp 0x6212a5
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x6212b0
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x7fd638]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x6212f4
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6212e9
mov eax, dword [esp + 4]
jmp 0x6212eb
xor eax, eax
add esp, 0x2b4
pop ebx
ret

Function at 0x6212d3
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x7fd638]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x6212f4
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6212e9
mov eax, dword [esp + 4]
jmp 0x6212eb
xor eax, eax
add esp, 0x2b4
pop ebx
ret

Function at 0x621790
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x6217a4
add esp, 0xfffffff0
call fcn.00407080
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00516ea0
mov eax, dword [0x621844]
not eax
and dword [esi + 0x60], eax
mov edx, 0x79
mov eax, esi
call fcn.00513204
mov edx, 0x61
mov eax, esi
call fcn.00513238
xor edx, edx
mov eax, esi
call fcn.00513f38
mov dl, 1
mov eax, esi
call fcn.0051d064
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jae 0x621800
mov dx, 0xfffe
mov eax, esi
call fcn.00513f80
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call fcn.00413494
test eax, eax
je 0x621826
lea eax, [ebp - 0x5c]
push eax
call fcn.00412998
mov edx, eax
mov eax, dword [esi + 0x74]
call fcn.004e833c
mov eax, esi
test bl, bl
je 0x62183b
call fcn.004070d8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6228e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd90
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x622aac
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x622a7f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x62293d
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x62297b
mov eax, ebx
call fcn.00621550
test al, al
jne 0x62295b
mov byte [ebp - 5], 0
call fcn.00407ff8
jmp 0x622a86
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.00621214
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00622d04
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005e0b78
lea eax, [ebp - 0x268]
mov edx, 0x622acc
call fcn.00409b1c
mov eax, dword [ebp - 0x268]
call fcn.0040990c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x622a68
xor eax, eax
push ebp
push 0x622a61
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.006210d0
test al, al
je 0x622a36
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.004099c4
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.005e0b78
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.00409b1c
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.00621214
mov eax, dword [ebp - 0x26c]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.006222f8
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6229cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x622a68
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x622a86
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x622ab3
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.004088a4
lea eax, [ebp - 4]
call fcn.00408844
ret
Function at 0x622d9c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x622f92
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x622e21
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.005e10fc
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005e0b78
mov eax, dword [ebp - 0x268]
pop edx
call fcn.005e0d88
test eax, eax
jne 0x622e21
lea edx, [ebp - 4]
mov eax, edi
call fcn.005e10d4
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x622f60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.005e0b78
lea eax, [ebp - 0x26c]
mov edx, 0x622fac
call fcn.00409b1c
mov eax, dword [ebp - 0x26c]
call fcn.0040990c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x622f49
xor eax, eax
push ebp
push 0x622f42
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.006210d0
test al, al
je 0x622f13
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.004099c4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005e0d88
test eax, eax
je 0x622f13
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.006223f4
test eax, eax
jne 0x622f13
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.005e0b78
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.00409b1c
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.00621214
mov eax, dword [ebp - 0x270]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.006222f8
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x622e89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x622f49
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x622f67
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x623264
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0042292c
add esp, 0x208
pop ebx
ret
Function at 0x6319d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6319fe
mov eax, ebx
call fcn.0063248c
cmp dword [ebx + 0x40], 0
je 0x6319f7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x631a6f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x631a61
cmp dword [ebx + 8], 0
je 0x631a20
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x631a32
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x631a61
cmp dword [ebx + 8], 0
je 0x631a13
cmp eax, 3
je 0x631a45
dec eax
jne 0x631a13
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x631a13
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x631a13
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x631a8d
cmp dword [ebx + 0x14], 0xcc
je 0x631a8d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00631a98
pop ebx
ret
Function at 0x683d58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x80b8b8], 0
jne 0x683d6f
call fcn.00683d14
mov eax, edi
dec eax
test eax, eax
jl 0x683d97
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x80b4b8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x683d79
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x686d60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x686d91
dec al
je 0x686dcc
dec al
je 0x686e10
dec al
je 0x686e82
jmp 0x686f1d
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x686f1d
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x686da1
jmp 0x686f1d
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x686f1d
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x686ddc
jmp 0x686f1d
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x686f1d
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x686e43
xor edx, edx
mov dword [esp + 4], edx
jmp 0x686e58
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x686e70
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x686e20
jmp 0x686f1d
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x686f1d
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x686ee9
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.00683da0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x686e9e
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x68c164
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x80b8c0
test esi, esi
jne 0x68c17e
xor eax, eax
jmp 0x68c26f
cmp dword [ebp], 0
jne 0x68c189
call fcn.0068c0f4
xor ebx, 0xffffffff
cmp edi, 8
jb 0x68c249
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x68c195
test edi, edi
jbe 0x68c26a
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x68c24d
or eax, 0xffffffff
xor eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6abb68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6abc0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
lea eax, [ebp - 4]
lea edx, [esi + esi*2]
mov ecx, dword [ebx + 0x22c]
mov edx, dword [ecx + edx*8 + 0x14]
call fcn.00408c6c
cmp word [ebx + 0x23a], 0
je 0x6abbbf
lea eax, [ebp - 5]
push eax
lea ecx, [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebp - 4], 0
setne al
and al, byte [ebp - 5]
je 0x6abbf8
movzx eax, byte [ebx + 0x230]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
push 0x6abc1c
mov eax, dword [0x802ef8]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6abc15
lea eax, [ebp - 4]
call fcn.00408844
ret

Function at 0x6ad0c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6ad131
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x801660]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x6ad11b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.006ad0a8
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6ac4e4]
call fcn.006ad2f8
mov dword [0x8016c4], eax
mov eax, dword [ebp - 4]
call fcn.006ad054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ad138
lea eax, [ebp - 8]
call fcn.0040cf94
ret
Function at 0x6be298
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
lea ebx, [ebp - 0x48]
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
push 0
mov eax, dword [esi]
call fcn.006bee5c
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x454]
call fcn.006b890c
mov edi, eax
push 0
mov eax, dword [esi]
call fcn.006bee5c
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x454]
call fcn.006b87d8
mov edx, dword [esi]
mov edx, dword [edx + 0x4b0]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x4a4]
sar ecx, 1
jns 0x6be2ff
adc ecx, 0
sub edx, ecx
mov dword [ebx + 0x20], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x4b4]
mov dword [ebx + 0x24], edx
add eax, dword [ebx + 0x20]
mov dword [ebx + 0x28], eax
add edi, dword [ebx + 0x24]
mov dword [ebx + 0x2c], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x454]
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov eax, dword [esi]
call fcn.006bee5c
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], 1
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x78]
mov byte [ebx + 0x16], al
xor eax, eax
mov dword [ebx], eax
mov byte [ebx + 0x14], 0
mov byte [ebx + 0x15], 0
xor eax, eax
mov dword [ebx + 0x10], eax
movzx eax, byte [0x6be3a4]
mov byte [ebx + 0x44], al
mov byte [ebx + 0x17], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004efc64
mov dword [ebx + 0x30], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x2c4]
call fcn.007517d0
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [ebx + 0x3c], eax
mov eax, ebx
call fcn.006b8b18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x71ea90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x71eae1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x71eac8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x71eab8
jmp 0x71eae1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x71eac9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7306c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov byte [ebp - 6], 0
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x730792
test byte [ebp - 0xb], 4
jne 0x730702
test byte [ebp - 0xc], 0x10
setne byte [ebp - 6]
jmp 0x7307bf
cmp byte [ebp - 5], 0
je 0x730748
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x7307bf
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
test byte [ebp - 0xc], 0x10
setne byte [ebp - 6]
jmp 0x7307bf
test byte [ebp - 0xc], 0x10
je 0x730754
mov byte [ebp - 6], 1
jmp 0x7307bf
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x73078c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 6], 0
jmp 0x7307bf
mov byte [ebp - 6], 1
jmp 0x7307bf
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffe
sub eax, 2
jb 0x7307b8
sub eax, 0x11
je 0x7307b8
sub eax, 0x20
je 0x7307b8
sub eax, 0x46
je 0x7307b8
xor eax, eax
jmp 0x7307ba
mov al, 1
xor al, 1
mov byte [ebp - 6], al
mov al, byte [ebp - 6]
mov esp, ebp
pop ebp
ret