joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4204da
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x10
mov eax, 0x5d275a
call fcn.0056d40a
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.0040ade6
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0040ade6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.0041f67c
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.00420fee
mov ecx, eax
call fcn.00420fa6
lea ecx, [ebp - 0x10]
test eax, eax
jle 0x420532
lea eax, [ebp - 0x18]
push eax
call fcn.0041e83d
jmp 0x42053d
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.0041f3cb
mov esi, dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.004206c5
test eax, eax
jne 0x420642
push ebx
push esi
call fcn.00598137
pop ecx
pop ecx
test eax, eax
jne 0x4206a8
lea ecx, [ebp + 8]
call fcn.0040ade6
push esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push str._s.tmp
push eax
call fcn.00422e62
mov edi, dword [ebp + 8]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call fcn.0059820d
pop ecx
pop ecx
test eax, eax
je 0x4205c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x610b44
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041e67a
pop ecx
mov byte [ebp - 4], 3
jmp 0x4205ee
lea ecx, [edi - 0x10]
call fcn.0040bedb
xor ebx, ebx
jmp 0x4206a8
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.004206c5
test eax, eax
jne 0x420636
push 0x610b44
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041e67a
pop ecx
mov byte [ebp - 4], 4
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.004206c5
mov byte [ebp - 4], 2
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040bedb
test ebx, ebx
je 0x4205b3
push 0x610b44
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041e67a
pop ecx
push 5
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040bedb
xor ebx, ebx
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.0040bedb
push ebx
mov edi, str.TSVulFw_Cache
lea ecx, [ebp - 0x10]
push edi
call fcn.0042145e
cmp eax, 0xffffffff
je 0x4206a5
lea eax, [esi - 0x10]
push eax
call fcn.0041ee61
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
mov dword [esp], str.TSVulFw
push edi
call fcn.004214be
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp + 8]
test eax, eax
je 0x42069d
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push edi
push esi
call ebx
test eax, eax
jne 0x42069d
push 5
push edi
push esi
call ebx
lea ecx, [edi - 0x10]
call fcn.0040bedb
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040bedb
lea ecx, [esi - 0x10]
call fcn.0040bedb
mov eax, ebx
call fcn.0056d3d8
ret 4
Function at 0x420865
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
mov edi, edx
push edi
push ebx
push eax
jmp 0x420898
add ebx, dword [ebp - 4]
sub edi, dword [ebp - 4]
je 0x4208a4
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x420886
jmp 0x4208a7
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4208ae
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x5d27ae
call fcn.0056d40a
mov edi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0041f33e
xor esi, esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420923
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x420923
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x420923
lea ecx, [ebp - 0x10]
call fcn.004207df
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x420926
mov ecx, eax
call fcn.004208ae
test eax, eax
je 0x420926
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x420923
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x420926
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040bedb
mov eax, esi
call fcn.0056d3d8
ret

Function at 0x420a96
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
mov edi, edx
push edi
push ebx
push eax
jmp 0x420ac9
add ebx, dword [ebp - 4]
sub edi, dword [ebp - 4]
je 0x420ad5
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x420ab7
jmp 0x420ad8
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x423eda
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push edi
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
call fcn.00423ec0
lea esi, [ecx + 0x70]
push 8
mov ecx, edx
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x423ef4
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x423eef
pop edi
pop esi
ret

Function at 0x42555a
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425580
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x425580
xor al, al
jmp 0x425594
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x4280da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
push edx
push edi
push edi
call fcn.00595261
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x428104
call fcn.00428086
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x43b4ce
Capabilities:
Set file attributes

Disassembly:
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
Function at 0x445804
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x445812
xor al, al
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x44581d
mov ecx, dword [ecx]
movzx eax, byte [ebp + 0x14]
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [eax*2 + 2]
push ebx
push ebx
push eax
push ebx
push ebx
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44589c
cmp byte [ebp + 0x14], bl
je 0x44585a
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x445890
push ebx
lea eax, [ebp - 4]
mov edi, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jmp 0x445882
add edi, dword [ebp - 4]
cmp edi, dword [ebp + 0x10]
je 0x4458a3
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x445869
cmp esi, 0xffffffff
je 0x44589c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov bl, 1
jmp 0x445895

Function at 0x4458a7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [eax + 0x14], 8
jb 0x4458ba
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44592c
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x7fffffff
ja 0x445924
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00443c3b
push edi
mov dword [ebp + 8], ebx
call fcn.0056ca71
pop ecx
push ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445924
cmp edi, dword [ebp + 8]
jne 0x445924
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.004445d5
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x44610e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.00573610
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x446155
xor al, al
jmp 0x446165
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00408fe7
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056cd75
leave
ret
Function at 0x447518
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
push esi
push edi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, esi
mov dword [ebp - 8], 8
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
movzx eax, ax
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov ebx, esi
shr ebx, 8
xor ebx, edi
and ebx, 0xff00ff
xor edi, ebx
shl ebx, 8
xor ebx, esi
rol ebx, 1
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor ebx, eax
xor eax, edi
rol eax, 1
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x603b80]
or esi, dword [eax*4 + 0x603980]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x603780]
or esi, dword [edx*4 + 0x603580]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x603a80]
or ecx, dword [eax*4 + 0x603880]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x603680]
or ecx, dword [edx*4 + 0x603480]
mov eax, dword [ebp - 4]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x603b80]
or esi, dword [eax*4 + 0x603980]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x603780]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x603580]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp - 4], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x603a80]
or ecx, dword [eax*4 + 0x603880]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x603680]
or ecx, dword [edx*4 + 0x603480]
or ecx, esi
xor ebx, ecx
sub dword [ebp - 8], 1
jne 0x447593
ror ebx, 1
mov edx, ebx
mov esi, dword [ebp - 0x10]
xor edx, edi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, edi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, ebx
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret
Function at 0x447802
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
movzx ebx, dx
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], eax
movzx edx, byte [esi + str.80_]
mov eax, edx
and edx, 7
shr eax, 3
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x603d60]
test eax, ecx
setne al
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jl 0x44782e
push 0x1e
xor edi, edi
pop esi
cmp bx, 1
lea eax, [edi + edi]
mov edx, esi
cmovne edx, eax
movzx eax, byte [edi + 0x603cb0]
and dword [ebp + edx*4 - 0xf0], 0
and dword [ebp + edx*4 - 0xf4], 0
xor ecx, ecx
cmp eax, 0x1c
jge 0x44788d
mov bl, byte [ebp + eax - 0x3c]
jmp 0x447891
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x1c
jl 0x447882
movzx eax, byte [edi + 0x603cb0]
push 0x1c
pop ecx
add eax, ecx
cmp eax, 0x38
jge 0x4478b3
mov bl, byte [ebp + eax - 0x3c]
jmp 0x4478b7
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x4478a8
xor ecx, ecx
movzx eax, byte [ecx + 0x603c80]
cmp byte [ebp + eax - 0x74], 0
je 0x4478e0
mov eax, dword [ecx*4 + 0x603d00]
or dword [ebp + edx*4 - 0xf4], eax
movzx eax, byte [ecx + 0x603c98]
cmp byte [ebp + eax - 0x74], 0
je 0x4478fc
mov eax, dword [ecx*4 + 0x603d00]
or dword [ebp + edx*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x4478c4
mov ebx, dword [ebp - 0xf8]
sub esi, 2
inc edi
cmp esi, 0xfffffffe
jg 0x44785d
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.00447727
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
leave
ret
Function at 0x44827c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 2]
test eax, eax
js 0x44838c
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x44838c
push esi
mov esi, dword [ebp + 0x10]
cmp edi, 2
jle 0x44831c
lea eax, [edi - 3]
xor edx, edx
div ecx
push 3
lea edx, [eax + 1]
imul ecx, edx, 0xfffffffd
add edi, ecx
mov dword [ebp + 0xc], edi
pop edi
movzx ecx, byte [ebx]
shr ecx, 2
mov al, byte [ecx + 0x603f70]
mov byte [esi], al
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
and ecx, edi
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + 0x603f70]
mov byte [esi + 1], al
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + 0x603f70]
mov byte [esi + 2], al
movzx eax, byte [ebx + 2]
add ebx, edi
and eax, 0x3f
mov al, byte [eax + 0x603f70]
mov byte [esi + 3], al
add esi, 4
sub edx, 1
jne 0x4482c1
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x448376
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + 0x603f70]
mov byte [esi], al
movzx ecx, byte [ebx]
and ecx, 3
shl ecx, 4
cmp edi, 1
jle 0x448364
movzx eax, byte [ebx + 1]
shr eax, 4
mov al, byte [eax + ecx + 0x603f70]
mov byte [esi + 1], al
movzx eax, byte [ebx + 1]
and eax, 0xf
mov byte [esi + 3], 0x3d
mov al, byte [eax*4 + 0x603f70]
mov byte [esi + 2], al
jmp 0x448373
mov al, byte [ecx + 0x603f70]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x448384
mov eax, esi
sub eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [esi], 0
xor eax, eax
pop esi
jmp 0x44838f
or eax, 0xffffffff
pop edi
pop ebx
pop ebp
ret

Function at 0x44adf0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
cmp dword [esi + edi*4 + 4], ecx
jne 0x44ae41
mov eax, dword [esi + edi*4 + 0xdc]
push ebx
push ecx
push ecx
push ecx
push 6
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x44ae40
push dword [ebx + 0xa]
lea ecx, [ebx + 0xe]
push dword [ebp + 8]
push 0
push 0
push ecx
push dword [esi]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push ebx
mov dword [esi + edi*4 + 4], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop ebx
mov eax, dword [esi + edi*4 + 4]
pop edi
pop esi
pop ebp
ret 4
Function at 0x44ae4b
Capabilities:
Read file via mapping

Disassembly:
push 0x10
mov eax, 0x5d6883
call fcn.0056d40a
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ecx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0044afff
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
call fcn.00455af3
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x44af13
mov esi, ebx
lea ebx, [edi + 4]
mov edi, dword [ebp + 0xc]
cmp dword [ebx], 0
je 0x44af04
xor eax, eax
push eax
push dword [ebx]
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x44aeb0
and dword [edi + esi*4], 0
jmp 0x44af04
xor ecx, ecx
push ecx
push ecx
push ecx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x44aed1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44aeaa
mov edx, dword [ebx - 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebx]
mov ecx, dword [ebx + 8]
push eax
call fcn.0046160e
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [edi + esi*4], 0
je 0x44aefe
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [edi + esi*4], eax
inc esi
add ebx, 0x10
cmp esi, 0x36
jl 0x44ae8d
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
inc ebx
test edi, edi
je 0x44af4b
cmp edi, dword [ebp - 0x18]
je 0x44af3a
lea esi, [edi + 0xc]
cmp dword [esi], 0
je 0x44af2f
push dword [esi]
call fcn.0056ca7a
and dword [esi], 0
pop ecx
add esi, 0x10
lea eax, [esi - 0xc]
cmp eax, dword [ebp - 0x18]
jne 0x44af1f
mov ecx, dword [ebp - 0x14]
sub ecx, edi
and ecx, 0xfffffff0
push ecx
push edi
call fcn.00403dd3
pop ecx
pop ecx
mov eax, ebx
call fcn.0056d3d8
ret 8
Function at 0x44e1e7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
test edi, edi
je 0x44e244
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e244
push 0x250
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.00573610
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x44e244
mov esi, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0056cd75
leave
ret

Function at 0x44e9d9
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0x10
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44ea17
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x78
neg eax
sbb eax, eax
inc eax
jmp 0x44ea80
push esi
lea eax, [ebp - 0x34]
xor esi, esi
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x44ea3b
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44ea7f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 1
push eax
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push eax
push esi
push dword [ebp - 0x28]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x44ea74
xor esi, esi
inc esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056cd75
leave
ret
Function at 0x44ea8c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 8], ebx
test esi, esi
jne 0x44eaa5
xor eax, eax
jmp 0x44eb5a
cmp byte [0x646558], 0
jne 0x44eaba
call fcn.0044e9d9
mov byte [0x646558], 1
push edi
push esi
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x44eaec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push edi
push ebx
push esi
push eax
push 0xc
pop edx
push 0x6e
pop ecx
call fcn.004f4320
add esp, 0x14
xor eax, eax
jmp 0x44eb59
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x44eb1e
cmp dword [ebp - 4], 0x103
je 0x44eb1e
push ecx
push 0
push ebx
push esi
push dword [ebp - 4]
push 0xf
pop edx
push 0x6e
pop ecx
call fcn.004f4320
add esp, 0x14
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, eax
test ebx, ebx
jne 0x44eb48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push ebx
push dword [ebp - 8]
push esi
push eax
push 0xd
pop edx
push 0x6e
pop ecx
call fcn.004f4320
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44eb5e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x44ec6f
test esi, esi
je 0x44ec6f
lea eax, [ebp - 0x4bc]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x44ec67
xor eax, eax
mov dword [ebp - 0x4c0], eax
cmp word [ebp - 0x4bc], ax
je 0x44ec67
lea ebx, [ebp - 0x4bc]
mov dword [ebp - 0x4c4], eax
push 0x612de4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44ec3d
push 0x612dec
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44ec3d
mov ax, word [ebx]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x4c4]
push 0x64
mov ax, word [ebp + eax - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x44ec6f
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push edi
call fcn.00597f62
add esp, 0xc
test eax, eax
je 0x44ec80
mov eax, dword [ebp - 0x4c0]
lea ebx, [ebp - 0x4bc]
add eax, 4
mov dword [ebp - 0x4c0], eax
add eax, eax
add ebx, eax
mov dword [ebp - 0x4c4], eax
xor eax, eax
cmp word [ebx], ax
jne 0x44ebc3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
leave
ret
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [edi + ebx*2]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
inc eax
jmp 0x44ec71