joyce8/EMBER2024-capa huggingface dataset:
Function at 0x688220
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
cmp dword [0x7cf624], 0
jne 0x6883ef
push 0x751cd8
call fcn.0068d5f0
add esp, 4
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp - 0x80c]
push eax
call fcn.0068d5e0
add esp, 4
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.006d6e00
add esp, 8
mov edx, dword [ebp - 0x80c]
push edx
call fcn.0068d640
add esp, 4
push 0x752a20
call fcn.0068d5f0
add esp, 4
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp - 0x80c]
push eax
call fcn.0068d5e0
add esp, 4
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.006d6e00
add esp, 8
mov edx, dword [ebp - 0x80c]
push edx
call fcn.0068d640
add esp, 4
lea eax, [ebp - 0x808]
push eax
push 0x400
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jne 0x6882f7
cmp dword [0x718240], 0
je 0x6882f1
push 0x757d00
push 0x20
call fcn.00688440
add esp, 8
xor ecx, ecx
test ecx, ecx
jne 0x6882d9
push 0x5c
lea edx, [ebp - 0x404]
push edx
call fcn.006d8450
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x68833f
cmp dword [0x718240], 0
je 0x688339
push 0x757d78
push 0x20
call fcn.00688440
add esp, 8
xor ecx, ecx
test ecx, ecx
jne 0x688321
push 0
call fcn.00698cc0
add esp, 4
mov dword [ebp - 0x408], eax
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x688383
cmp dword [0x718240], 0
je 0x68837d
push 0x757e10
push 0x20
call fcn.00688440
add esp, 8
xor eax, eax
test eax, eax
jne 0x688365
cmp dword [ebp - 0x408], 0
jge 0x6883bf
cmp dword [0x718240], 0
je 0x6883bd
mov ecx, dword [ebp - 0x408]
push ecx
push 0x757e88
push 0x7d8a40
call fcn.006d6ef0
add esp, 0xc
push 0x7d8a40
push 0x20
call fcn.00688440
add esp, 8
jmp 0x6883e7
mov dword [0x7cf624], 1
cmp dword [0x718240], 0
je 0x6883e1
push 0x757ee4
push 0
call fcn.00688440
add esp, 8
xor edx, edx
test edx, edx
jne 0x6883c9
mov eax, dword [ebp - 0x408]
jmp 0x6883f1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x6884b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x757f40
call fcn.0068d5f0
add esp, 4
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x408]
push eax
call fcn.0068d5e0
add esp, 4
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.006d6e00
add esp, 8
mov edx, dword [ebp - 0x408]
push edx
call fcn.0068d640
add esp, 4
push 0x7cf628
push 0x7cf638
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
cmp eax, 1
jne 0x68852d
mov dword [ebp - 4], 1
jmp 0x688534
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x689930
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 1
xor eax, eax
mov al, byte [0x7cf8a5]
test eax, eax
je 0x68996c
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x7cf688
call fcn.0068fab0
add esp, 0x18
mov dword [ebp - 4], eax
jmp 0x689994
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00678180
add esp, 0x10
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x68ba20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.006d6f50
add esp, 4
add eax, 0x14
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.006d7cfb
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x68baeb
cmp dword [ebp + 8], 0x30
je 0x68ba89
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10010]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10010]
add ecx, 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10010], ecx
jmp 0x68ba92
mov eax, dword [ebp - 8]
mov dword [eax], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
call fcn.006d6e00
add esp, 8
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0xc]
call fcn.0068bec0
mov byte [ebp - 4], al
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.006d7cf0
add esp, 4
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x68bba0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp - 0x114]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0xc]
sub eax, 4
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 0x20], eax
push 0x778acc
call fcn.0068abb0
add esp, 4
push eax
push 0x1388
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov edx, dword [ebp - 0x114]
mov dword [edx + 0x24], eax
push 0x778adc
call fcn.0068abb0
add esp, 4
push eax
push 0x1388
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 0x28], eax
mov dword [ebp - 0x108], 0
jmp 0x68bc3f
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 4
jge 0x68bc93
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x778af4
call fcn.0068abb0
add esp, 4
push eax
lea edx, [ebp - 0x100]
push edx
call fcn.006d6ef0
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x114]
mov dword [edx + ecx*4 + 8], eax
jmp 0x68bc30
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov edx, dword [ebp - 0x114]
mov dword [edx + 4], eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x104], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x114]
mov dword [edx + 0x18], eax
cmp dword [ebp - 0x104], 0xb7
je 0x68bd28
push 8
mov ecx, dword [ebp - 0x114]
call fcn.0068bb60
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
push 8
lea eax, [ebp - 0x110]
push eax
push 0
mov ecx, dword [ebp - 0x114]
call fcn.0068be10
mov ecx, dword [ebp - 0x114]
mov esi, dword [ecx + 0x1c]
sub esi, 4
mov ecx, dword [ebp - 0x114]
call fcn.0068bb80
sub esi, eax
mov edx, dword [ebp - 0x114]
mov dword [edx + 0x20], esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x68c400
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret
Function at 0x6906e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov dword [ebp - 4], 0
push 0x140
push 0
lea eax, [ebp - 0x148]
push eax
call fcn.006d6da0
add esp, 0xc
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x690724
xor eax, eax
jmp 0x690798
cmp dword [ebp + 0x10], 0xffffffff
je 0x690752
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jne 0x690752
cmp dword [ebp + 0xc], 0
je 0x690752
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.006d6e00
add esp, 8
mov eax, 1
jmp 0x690798
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
cmp eax, 1
je 0x690724
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
cmp dword [ebp + 0x14], 0
je 0x690789
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0xffffffff
jne 0x690796
mov eax, 1
jmp 0x690798
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x690880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
je 0x690905
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
jbe 0x6908ff
mov eax, dword [ebp + 8]
push eax
call fcn.006d6f50
add esp, 4
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
jne 0x6908d3
mov eax, dword [ebp + 8]
push eax
call fcn.006d6f50
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx + eax - 1], 0
cmp dword [ebp + 0x14], 0
je 0x6908ec
push 0x7ac828
mov edx, dword [ebp + 8]
push edx
call fcn.006d6e10
add esp, 8
jmp 0x6908fd
push 0x7ac83c
mov eax, dword [ebp + 8]
push eax
call fcn.006d6e10
add esp, 8
jmp 0x690903
mov byte [ebp - 4], 0
jmp 0x69094a
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
jbe 0x690946
mov eax, dword [ebp + 8]
push eax
call fcn.006d6f50
add esp, 4
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
jne 0x690944
mov eax, dword [ebp + 8]
push eax
call fcn.006d6f50
add esp, 4
mov ecx, dword [ebp + 8]
mov byte [ecx + eax - 1], 0
jmp 0x69094a
mov byte [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x690b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push 0x7ac890
lea ecx, [ebp - 0x104]
push ecx
call fcn.006d6e10
add esp, 8
push 0x140
push 0
lea edx, [ebp - 0x244]
push edx
call fcn.006d6da0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x690b79
xor al, al
jmp 0x690c25
call dword [sym.imp.kernel32.dll_GetTickCount]
push eax
call fcn.006d7434
add esp, 4
lea edx, [ebp - 0x240]
push edx
call fcn.00690a30
add esp, 4
lea eax, [ebp - 0x238]
push eax
call fcn.00690a30
add esp, 4
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
push 0
push 0
push 3
push 0
push 0
push 0x10000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
jne 0x690bf4
xor al, al
jmp 0x690c25
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.kernel32.dll_SetFileTime]
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x690c30
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x7ac8a0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x690c9a
mov edx, dword [ebp + 0x10]
push edx
call fcn.006d6f50
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x690c90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x690cb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e2928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb28
cmp dword [ebp + 8], 0
jne 0x690cdb
xor al, al
jmp 0x690e5f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
call fcn.006923b0
mov dword [ebp - 4], 0
mov ecx, dword [0x7ac8d0]
mov dword [ebp - 0x14], ecx
mov dx, word [0x7ac8d4]
mov word [ebp - 0x10], dx
mov al, byte [0x7ac8d6]
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x620]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.006907a0
add esp, 8
test eax, eax
jne 0x690d38
push 0x100
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
jmp 0x690d53
lea ecx, [ebp - 0x620]
push ecx
push 0x7ac8d8
lea edx, [ebp - 0x520]
push edx
call fcn.006d6ef0
add esp, 0xc
push 1
push 0
push 0x100
lea eax, [ebp - 0x320]
push eax
call fcn.006930d0
add esp, 0x10
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x690d9e
mov byte [ebp - 0x624], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.006923f0
mov al, byte [ebp - 0x624]
jmp 0x690e5f
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x520]
push edx
push 0x7ac8e0
lea eax, [ebp - 0xb28]
push eax
call fcn.00686850
add esp, 0x10
mov dword [ebp - 0xb30], eax
mov ecx, dword [ebp - 0xb30]
mov dword [ebp - 0xb34], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xb34]
call fcn.00686890
push eax
lea edx, [ebp - 0x420]
push edx
call fcn.006d6e00
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb28]
call fcn.006868a0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00692160
test eax, eax
je 0x690e40
lea ecx, [ebp - 0x420]
push ecx
call fcn.00690b10
add esp, 4
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x320]
push eax
push 0x80000002
call fcn.00690c30
add esp, 0xc
mov byte [ebp - 0xb2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.006923f0
mov al, byte [ebp - 0xb2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x690e70
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x7ac8f0
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
cmp dword [ebp - 4], 0
je 0x690f4d
mov dword [ebp - 8], 0
mov ecx, 1
test ecx, ecx
je 0x690f43
mov dword [ebp - 0x214], 0x100
mov dword [ebp - 0xc], 0x100
push 0x100
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.006d6da0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.advapi32.dll_RegEnumValueA]
test eax, eax
je 0x690f0a
jmp 0x690f43
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.00692f90
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x690f35
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x690ea5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x690f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push 0x100
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
jbe 0x691056
lea ecx, [ebp - 0x100]
push ecx
call fcn.006d6f50
add esp, 4
movsx edx, byte [ebp + eax - 0x101]
cmp edx, 0x5c
jne 0x690fb6
lea eax, [ebp - 0x100]
push eax
call fcn.006d6f50
add esp, 4
mov byte [ebp + eax - 0x101], 0
cmp dword [ebp + 0xc], 0
je 0x690fd2
push 0x7ac920
lea ecx, [ebp - 0x100]
push ecx
call fcn.006d6e10
add esp, 8
jmp 0x690fe6
push 0x7ac934
lea edx, [ebp - 0x100]
push edx
call fcn.006d6e10
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.006d6e00
add esp, 8
push 0x5c
lea edx, [ebp - 0x204]
push edx
call fcn.006d8450
add esp, 8
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x691022
mov eax, dword [ebp - 0x104]
mov byte [eax], 0
lea ecx, [ebp - 0x100]
push ecx
call fcn.006e244d
add esp, 4
push eax
lea edx, [ebp - 0x204]
push edx
call fcn.006e244d
add esp, 4
push eax
call fcn.006d7c70
add esp, 8
test eax, eax
je 0x691052
mov al, 1
jmp 0x691058
xor al, al
jmp 0x691058
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x692160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x204]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x6921d0
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x6921a1
xor eax, eax
jmp 0x6921d2
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 1
jmp 0x6921d2
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x6921e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 0x204], ecx
push 0xff
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0x204]
add ecx, 4
push ecx
lea edx, [ebp - 0x100]
push edx
push 0x7acf2c
lea eax, [ebp - 0x200]
push eax
call fcn.006d6ef0
add esp, 0x10
lea ecx, [ebp - 0x200]
push ecx
mov edx, dword [ebp - 0x204]
add edx, 0x103
push edx
call fcn.006d6e00
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
call fcn.00692160
test eax, eax
je 0x692265
mov eax, dword [ebp - 0x204]
add eax, 0x103
jmp 0x692270
mov eax, dword [ebp - 0x204]
add eax, 0x103
mov esp, ebp
pop ebp
ret

Function at 0x692280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 0x204], ecx
lea eax, [ebp - 0x100]
push eax
push 0xff
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov ecx, dword [ebp - 0x204]
add ecx, 4
push ecx
lea edx, [ebp - 0x100]
push edx
push 0x7acf34
lea eax, [ebp - 0x200]
push eax
call fcn.006d6ef0
add esp, 0x10
lea ecx, [ebp - 0x200]
push ecx
mov edx, dword [ebp - 0x204]
add edx, 0x103
push edx
call fcn.006d6e00
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
call fcn.00692160
test eax, eax
je 0x692305
mov eax, dword [ebp - 0x204]
add eax, 0x103
jmp 0x692310
mov eax, dword [ebp - 0x204]
add eax, 0x103
mov esp, ebp
pop ebp
ret

Function at 0x692b20
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
cmp dword [ebp + 8], 0
jne 0x692b36
mov eax, 4
jmp 0x692bad
push 0x100
push 0
lea eax, [ebp - 0x200]
push eax
call fcn.006d6da0
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x100]
push ecx
call fcn.006d6da0
add esp, 0xc
push 0x100
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov byte [ebp - 0xfd], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x100
lea ecx, [ebp - 0x200]
push ecx
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
test eax, eax
jne 0x692bab
mov eax, 3
jmp 0x692bad
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6936a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x7ad244
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x6936df
mov eax, 2
jmp 0x69378a
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0xffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006d6e00
add esp, 8
lea edx, [ebp - 0x10c]
push edx
call fcn.006d6f50
add esp, 4
add eax, 5
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
push 2
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.kernel32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x69374c
mov eax, 3
jmp 0x69378a
mov ecx, dword [ebp + 8]
push ecx
push 0x7ad250
lea edx, [ebp - 0x214]
push edx
call fcn.006d6ef0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
xor eax, eax
mov esp, ebp
pop ebp
ret