joyce8/EMBER2024-capa huggingface dataset:
Function at 0x628798
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x628815
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00615338
mov eax, dword [ebp - 4]
call fcn.00614ca8
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + 0xc]
dec ebx
cmp ebx, 0
jl 0x6287fc
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 8]
jne 0x6287f6
mov eax, dword [esi]
mov edx, dword [ebp - 4]
call fcn.004091dc
je 0x6287ff
dec ebx
cmp ebx, 0xffffffff
jne 0x6287d9
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62881c
lea eax, [ebp - 4]
call fcn.004087d8
ret
Function at 0x63d794
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7b8eac], 0
jne 0x63d7ab
call fcn.0063d750
mov eax, edi
dec eax
test eax, eax
jl 0x63d7d3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7b8aac]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x63d7b5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x64079c
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 0x6407cd
dec al
je 0x640808
dec al
je 0x64084c
dec al
je 0x6408be
jmp 0x640959
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x640959
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 0x6407dd
jmp 0x640959
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x640959
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 0x640818
jmp 0x640959
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x640959
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 0x64087f
xor edx, edx
mov dword [esp + 4], edx
jmp 0x640894
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 0x6408ac
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x64085c
jmp 0x640959
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 0x640959
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 0x640925
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.0063d7dc
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 0x6408da
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x648184
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6481b2
mov eax, ebx
call fcn.00648c40
cmp dword [ebx + 0x40], 0
je 0x6481ab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x648223
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x648215
cmp dword [ebx + 8], 0
je 0x6481d4
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 0x6481e6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x648215
cmp dword [ebx + 8], 0
je 0x6481c7
cmp eax, 3
je 0x6481f9
dec eax
jne 0x6481c7
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 0x6481c7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6481c7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x648241
cmp dword [ebx + 0x14], 0xcc
je 0x648241
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.0064824c
pop ebx
ret
Function at 0x6d14c8
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 0x6d1514
cmp dword [ebp - 0x104], 2
jne 0x6d1514
cmp dword [ebp - 0x110], 5
ja 0x6d1512
cmp dword [ebp - 0x110], 5
jne 0x6d1514
cmp dword [ebp - 0x10c], 1
jb 0x6d1514
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6d151c
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.00423014
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6d48ec
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.00423014
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6d9744
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.00423014
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6db7fc
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 0x6db8ce
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.006038c8
lea eax, [ebp - 0x25c]
mov edx, 0x6db8ec
call fcn.00409a7c
mov eax, dword [ebp - 0x25c]
call fcn.00409868
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x6db8b5
xor eax, eax
push ebp
push 0x6db8ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.006db7ac
test al, al
je 0x6db883
mov byte [ebp - 1], 1
jmp 0x6db897
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6db86e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6db8b5
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 0x6db8d5
lea eax, [ebp - 0x25c]
call fcn.004087b4
ret

Function at 0x6db8f0
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.00409868
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6db930
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.00409924
jmp 0x6db937
mov eax, ebx
call fcn.004087b4
add esp, 0x2b4
pop esi
pop ebx
ret
Function at 0x6db940
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 + 0x7af640]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.00409868
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6db97f
mov eax, dword [esp + 4]
jmp 0x6db981
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x6db98c
Capabilities:
Get file system object information

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

Function at 0x6db9af
Capabilities:
Get file system object information

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

Function at 0x6dc31c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x6dc330
add esp, 0xfffffff0
call fcn.00406ff0
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00507bf4
mov eax, dword [0x6dc3e0]
not eax
and dword [esi + 0x60], eax
mov edx, 0x79
mov eax, esi
call fcn.00503de4
mov edx, 0x61
mov eax, esi
call fcn.00503e18
mov byte [esi + 0x2a0], 1
xor edx, edx
mov eax, esi
call fcn.0050dda4
xor edx, edx
mov eax, esi
call fcn.00504b78
mov dl, 1
mov eax, esi
call fcn.0050dea4
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jae 0x6dc39c
mov dx, 0xfffe
mov eax, esi
call fcn.00504bc0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x6dc3c2
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x74]
call fcn.004d6acc
mov eax, esi
test bl, bl
je 0x6dc3d7
call fcn.00407048
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6dd4e8
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 0x6dd6b4
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 0x6dd687
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x6dd545
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x6dd583
mov eax, ebx
call fcn.006dbc2c
test al, al
jne 0x6dd563
mov byte [ebp - 5], 0
call fcn.00407f68
jmp 0x6dd68e
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.006db8f0
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.006dd90c
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.006038c8
lea eax, [ebp - 0x268]
mov edx, 0x6dd6d4
call fcn.00409a7c
mov eax, dword [ebp - 0x268]
call fcn.00409868
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x6dd670
xor eax, eax
push ebp
push 0x6dd669
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.006db7ac
test al, al
je 0x6dd63e
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00409924
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.006038c8
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.00409a7c
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.006db8f0
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.006dcecc
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6dd5d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dd670
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 0x6dd68e
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 0x6dd6bb
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.00408814
lea eax, [ebp - 4]
call fcn.004087b4
ret
Function at 0x6dd9c4
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 0x6ddbba
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x6dda49
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.00603e4c
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.006038c8
mov eax, dword [ebp - 0x268]
pop edx
call fcn.00603ad8
test eax, eax
jne 0x6dda49
lea edx, [ebp - 4]
mov eax, edi
call fcn.00603e24
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6ddb88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.006038c8
lea eax, [ebp - 0x26c]
mov edx, 0x6ddbd4
call fcn.00409a7c
mov eax, dword [ebp - 0x26c]
call fcn.00409868
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x6ddb71
xor eax, eax
push ebp
push 0x6ddb6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.006db7ac
test al, al
je 0x6ddb3b
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00409924
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00603ad8
test eax, eax
je 0x6ddb3b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.006dcfc8
test eax, eax
jne 0x6ddb3b
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.006038c8
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.00409a7c
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.006db8f0
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.006dcecc
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6ddab1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ddb71
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 0x6ddb8f
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x6dde8c
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.00423014
add esp, 0x208
pop ebx
ret

Function at 0x6e2214
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x6e2f00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00409868
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x6e2f9e
mov eax, ebx
call fcn.004054b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6e2f97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x6e2f81
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6e2fc0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6e2f81
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e2fb3
mov eax, dword [ebp - 0x10]
call fcn.004054d0
ret
call fcn.004290bc
dec eax
je 0x6e2fb3
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.006e2d24
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6e34a4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.006e3458
test al, al
jne 0x6e34c5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x6e3513
xor eax, eax
push ebp
push 0x6e3503
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e350a
lea eax, [ebp - 0xc]
call fcn.006e3494
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6e351c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.006e3458
test al, al
jne 0x6e3540
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x6e35a6
xor eax, eax
push ebp
push 0x6e3596
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e359d
lea eax, [ebp - 0xc]
call fcn.006e3494
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x6e35b4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.006e3458
test al, al
jne 0x6e35d8
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x6e3630
xor eax, eax
push ebp
push 0x6e3620
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.00409868
push eax
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e3627
lea eax, [ebp - 0xc]
call fcn.006e3494
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x6e363c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.006e3458
test al, al
jne 0x6e365d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x6e36a9
xor eax, eax
push ebp
push 0x6e3699
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e36a0
lea eax, [ebp - 0xc]
call fcn.006e3494
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6e3814
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.006e3458
test al, al
jne 0x6e3837
mov dword [ebp - 4], 0xffffffff
jmp 0x6e3883
xor eax, eax
push ebp
push 0x6e3873
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e387a
lea eax, [ebp - 0xc]
call fcn.006e3494
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6e39b8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.006e3458
test al, al
jne 0x6e39dc
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x6e3a30
xor eax, eax
push ebp
push 0x6e3a20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00409868
push eax
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e3a27
lea eax, [ebp - 0xc]
call fcn.006e3494
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret