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

Disassembly:
push 0x34
mov eax, 0x1009c2ab
call fcn.1009220a
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x1001d1cc
lea edi, [esi + 8]
mov dword [ebp - 4], 1
push dword [edi]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x20], edi
call fcn.1005e2c8
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100583bf
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1001d82c
xor ebx, ebx
mov eax, edi
call fcn.10082811
add esi, 0xc
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.1005e2c8
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x100584a0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100584a0
mov eax, dword [esi]
mov edi, dword [eax - 0xc]
lea eax, [edi + 1]
push eax
call fcn.100829a0
mov edx, eax
xor eax, eax
mov word [edx + edi*2 + 2], ax
push 6
pop ecx
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0x40], 0
and dword [ebp - 0x34], 0
mov eax, 0x414
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
or eax, 0xffffffff
call fcn.10082749
test edi, edi
je 0x1005848f
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
mov byte [ebp - 4], 4
push dword [esi]
lea eax, [ebp - 0x14]
push 0x10011e70
push eax
call fcn.100827bb
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
add esp, 0x10
push edi
push 1
call dword [eax + 4]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.10082afb
push 0x1001d82c
xor ebx, ebx
mov eax, esi
call fcn.10082811
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esi]
sub eax, 0x10
call fcn.10082afb
mov eax, dword [edi]
sub eax, 0x10
call fcn.10082afb
call fcn.100922e2
ret
Function at 0x100584ef
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x1009c262
call fcn.1009220a
push dword [ecx + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.1005e2c8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.1005e2c8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1005eec0
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.1005ed8d
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10058588
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.1005e434
lea eax, [esi - 0x10]
call fcn.10082afb
mov bl, 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov al, bl
call fcn.100922e2
ret 8
mov esi, dword [ebp + 0xc]
call fcn.100827cf
jmp 0x10058568

Function at 0x1005a2de
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x18]
xor eax, eax
push eax
push eax
push eax
add esi, 0x10
push esi
call fcn.1002b46c
test eax, eax
js 0x1005a30a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1005a30a
pop esi
jmp fcn.10082637
pop esi
ret
Function at 0x1005ac97
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x100a0220
call fcn.1009220a
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.1005e2c8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.100292b7
mov eax, dword [eax]
push ebx
push 0x80
push 3
push 1
push SysReAllocStringLen
push eax
lea edi, [ebp - 0x2c]
call fcn.1002b3ee
mov edi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
cmp edi, ebx
jge 0x1005ad94
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.1005e2c8
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push 0x100124e0
push eax
call fcn.100827bb
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10082afb
push dword [ebp - 0x14]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002b63a
mov esi, 0x1001b330
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.1002d5ea
mov dword [ebp - 0x34], esi
push 0x100a7484
lea eax, [ebp - 0x34]
push eax
call fcn.1008bda4
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x1005adb4
call fcn.10082637
cmp byte [ebp - 0x10], 0xff
jne 0x1005add6
cmp byte [ebp - 0xf], 0xfe
jne 0x1005add6
cmp dword [ebp - 0x2c], ebx
je 0x1005adce
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.100922e2
ret 4
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x10012530
push eax
call fcn.100827bb
mov eax, dword [esi]
add esp, 0xc
push dword [ebp - 0x14]
mov ecx, esi
push ebx
call dword [eax + 4]
push 0x1000596c
lea eax, [ebp + 8]
push eax
call fcn.1005e2c8
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1002b68f
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.1002d5ab
push 0x100a7350
lea eax, [ebp - 0x20]
jmp 0x1005ad8e
Function at 0x1005b259
Capabilities:
Accept command line arguments

Disassembly:
push 0x28
mov eax, 0x100a01c5
call fcn.1009220a
lea eax, [ebp - 0x14]
push eax
call fcn.100290c8
and dword [ebp - 4], 0
push 0x10012880
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x14]
call fcn.1005ebdd
push 0x10012830
lea ecx, [ebp - 0x18]
push ecx
mov edi, eax
mov byte [ebp - 4], 1
call fcn.1005ebdd
push 0x100127d0
lea ecx, [ebp - 0x10]
push ecx
mov edi, eax
mov byte [ebp - 4], 2
call fcn.1005ebdd
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
push dword [ebp - 0x10]
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100270b4
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.10027430
test al, al
jne 0x1005b316
push 0
push 0x1000365c
lea eax, [ebp - 0x30]
push eax
call fcn.10026c64
test al, al
jne 0x1005b316
push 0x10
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x34]
call fcn.1002740a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
call fcn.100922e2
ret 4
Function at 0x1005b491
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x1009e2e9
call fcn.1009220a
xor ebx, ebx
push ebx
push 0x100c05c4
mov edi, 0x100c0488
push edi
mov dword [ebp - 0x14], ebx
push ebx
push dword [ebp + 8]
call fcn.10091ce6
add esp, 0x14
cmp eax, ebx
je 0x1005b4d8
lea esi, [ebp - 0x18]
call fcn.10036a2e
mov eax, dword [eax]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
cmp dword [eax - 0xc], ebx
je 0x1005b4db
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 1
je 0x1005b4ec
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
cmp byte [ebp - 0xd], bl
je 0x1005b64c
push ebx
push 0x100c04c8
push edi
push ebx
push dword [ebp + 8]
call fcn.10091ce6
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x1005b656
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.1003a6d8
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
cmp dword [ebp - 0x1c], ebx
je 0x1005b595
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.1003a6d8
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.1002903c
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x14]
call fcn.1005edc7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
jmp 0x1005b5bf
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.1003a6d8
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1005e434
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov edi, 0x100c0488
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005b644
push ebx
push 0x100c062c
push edi
push ebx
push dword [ebp + 8]
call fcn.10091ce6
add esp, 0x14
cmp eax, ebx
je 0x1005b5fb
cmp dword [eax + 0x134], 5
jne 0x1005b5fb
mov bl, 1
lea eax, [esi - 0x10]
call fcn.10082afb
mov al, bl
jmp 0x1005b64e
push 0x10012980
lea eax, [ebp + 8]
push eax
call fcn.1005e2c8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.1005eb8c
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 5
push dword [eax]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
jmp 0x1005b5ef
lea eax, [esi - 0x10]
call fcn.10082afb
mov al, 1
call fcn.100922e2
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push 0x10012a4c
push ebx
call dword [eax + 4]
xor al, al
jmp 0x1005b64e
Function at 0x1005b668
Capabilities:
Check mutex on windows

Disassembly:
push 0
mov eax, 0x1009887c
call fcn.1009220a
mov edi, ecx
mov ebx, dword [ebp + 8]
and dword [ebx], 0
lea esi, [ebx + 4]
mov ecx, 0x100b8f90
call fcn.10082a50
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 8], ecx
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], eax
cmp byte [edi + 8], 0
je 0x1005b71b
add edi, 4
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
push 0x10012a80
lea eax, [ebp + 0xc]
push eax
je 0x1005b6cf
call fcn.1005ec33
mov byte [ebp - 4], 1
jmp 0x1005b6da
mov edi, ecx
call fcn.1005ec33
mov byte [ebp - 4], 2
mov edi, esi
call fcn.1005e434
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
push dword [esi]
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebx], eax
cmp eax, edi
jne 0x1005b71f
push dword [esi]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1005b71f
mov byte [ebx + 0x14], 1
mov eax, ebx
call fcn.100922e2
ret 0x14

Function at 0x1005bccb
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
mov dword [esi], 0x1001d434
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
sub eax, 0x10
pop esi
jmp fcn.10082afb
Function at 0x1005d3b1
Capabilities:
Accept command line arguments

Disassembly:
push 0x20
mov eax, 0x100a1e91
call fcn.1009220a
mov esi, dword [ebp + 8]
mov dword [esi], 0x1001d4a0
xor ebx, ebx
mov dword [esi + 4], 0x1001b3c4
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], 0x1001b414
mov byte [ebp - 4], 1
push 0xc00
mov dword [esi + 0x3c], ebx
call fcn.10085d33
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1005d422
push eax
call fcn.1002b007
jmp 0x1005d424
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x100c2b5c], eax
call fcn.1002ab88
push 4
call fcn.10085d33
pop ecx
cmp eax, ebx
je 0x1005d446
mov dword [eax], 0x1001d4a8
jmp 0x1005d448
xor eax, eax
push 0x1001d708
mov dword [0x100c2b68], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x1005d479
push 0x10016464
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], 0x20000
cmp eax, ebx
je 0x1005d479
lea ecx, [ebp - 0x14]
push ecx
call eax
push 0x1006b362
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100270b4
mov byte [ebp - 4], 3
call fcn.100712c0
mov edi, eax
lea eax, [ebp - 0x2c]
call fcn.1002745f
mov ecx, dword [0x100c2b5c]
neg al
sbb al, al
inc al
mov byte [ecx], al
mov eax, dword [0x100c2b5c]
push ebx
mov dword [eax + 0x990], edi
push 0x1000365c
lea eax, [ebp - 0x28]
push eax
call fcn.10026c64
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x2c]
call fcn.10027430
mov ecx, dword [0x100c2b5c]
mov dword [ecx + 0xbf0], 1
cmp byte [ebp - 0xd], bl
je 0x1005d4f9
mov dword [ecx + 0xbf0], 3
cmp al, bl
je 0x1005d507
mov dword [ecx + 0xbf0], 2
lea ecx, [ebp - 0x2c]
call fcn.1002740a
mov eax, esi
call fcn.100922e2
ret 4
Function at 0x1005d81b
Capabilities:
Accept command line arguments

Disassembly:
push 0xc4
mov eax, 0x1009c104
call fcn.10092273
mov ebx, 0x10003598
push ebx
lea eax, [ebp - 0xc4]
push eax
call fcn.1005e2c8
and dword [ebp - 4], 0
mov edi, 0x10013194
push edi
lea eax, [ebp - 0xd0]
push eax
call fcn.1005e2c8
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc4]
push ebx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 2
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xc0]
push 0x100131bc
push eax
call fcn.100827bb
mov edi, dword [ebp - 0xc0]
mov eax, dword [esi]
add esp, 0xc
push edi
push 7
mov ecx, esi
call dword [eax + 4]
and dword [ebp - 0xbc], 0
push 0xa8
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.100882c0
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 1
jne 0x1005d8f1
lea eax, [ebp - 0xb8]
jmp 0x1005d8f9
cmp eax, 2
jne 0x1005d948
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xc0]
push 0x100131e0
push eax
call fcn.100827bb
mov eax, dword [esi]
add esp, 0xc
push dword [ebp - 0xc0]
mov ecx, esi
push 7
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
lea eax, [ebp - 0xc0]
push 0x100131fc
push eax
call fcn.100827bb
mov edi, dword [ebp - 0xc0]
mov eax, dword [esi]
add esp, 0xc
push edi
push 7
mov ecx, esi
call dword [eax + 4]
lea eax, [edi - 0x10]
call fcn.10082afb
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0
call fcn.10026bbb
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
call fcn.10082afb
call fcn.100922f6
ret
Function at 0x1005f421
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x1009dd36
call fcn.1009220a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100270b4
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
call fcn.1002745f
test al, al
je 0x1005f483
cmp dword [esi + 4], 0
je 0x1005f483
mov eax, dword [esi + 8]
cmp eax, 3
je 0x1005f462
cmp eax, 2
jne 0x1005f471
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x1005f471
mov eax, dword [esi + 8]
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.1002740a
mov eax, esi
call fcn.100922e2
ret
mov esi, dword [esi + 8]
jmp 0x1005f473
Function at 0x10060863
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009df49
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100b8210]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ebx, edx
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call dword [eax + 8]
test al, al
je 0x100609f9
call fcn.10066ddb
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], edi
call fcn.1002b505
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1005e2c8
mov byte [esp + 0x248], 1
cmp dword [esp + 0x24], edi
je 0x1006090a
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esi + 0x3c]
mov eax, dword [edi]
push 2
push 0xa
push dword [esp + 0x18]
mov ecx, edi
push dword [edi + 4]
call dword [eax + 8]
mov ebx, 0xffff
mov esi, 0x80070000
test eax, eax
jne 0x1006094a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10060948
and eax, ebx
or eax, esi
test eax, eax
js 0x10060990
mov eax, dword [edi]
push 0
push 1
push 0
push 0x100065f0
push dword [esp + 0x20]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jne 0x10060974
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1006098a
and eax, ebx
or eax, esi
jmp 0x10060988
mov eax, dword [edi]
push 2
push 0xea60
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x10060964
xor eax, eax
test eax, eax
js 0x10060990
mov byte [edi + 8], 1
mov esi, eax
push 0x100139a8
lea eax, [esp + 0x18]
push eax
call fcn.1005e2c8
push esi
push dword [esp + 0x1c]
lea edi, [esp + 0x1c]
mov byte [esp + 0x250], 2
call fcn.10067978
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10082a9f
mov edi, dword [esp + 0x1c]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10082afb
lea esi, [esp + 0x24]
call fcn.1002b4da
mov eax, edi
jmp 0x10060a06
push 0x1001d82c
push ebx
call fcn.1005e2c8
mov eax, ebx
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.10084b58
mov esp, ebp
pop ebp
ret

Function at 0x1006191c
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x1009df00
call fcn.10092273
and dword [ebp - 4], 0
and dword [ebp - 0x21c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x220], esi
call fcn.100882c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1005e2c8
and dword [ebp - 4], 0
mov eax, esi
mov dword [ebp - 0x21c], 1
call fcn.100666ad
mov eax, esi
call fcn.100922f6
ret
Function at 0x10061996
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x1009913d
call fcn.1009220a
and dword [ebp - 0x10], 0
push 0x1000c558
lea eax, [ebp - 0x10]
push eax
call fcn.1005e2c8
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 8]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov esi, 0x104
sub edx, esi
or ecx, edx
jge 0x100619dc
mov eax, esi
lea ecx, [ebp - 0x10]
call fcn.10082950
mov eax, dword [ebp - 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.10082749
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.1005e2c8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp + 8]
call fcn.100922e2
ret 4
Function at 0x10065078
Capabilities:
Get hostname

Disassembly:
push 0xc
mov eax, 0x100993e9
call fcn.1009220a
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 0x104
inc edx
mov dword [ebp - 0x14], eax
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, eax
or ecx, edx
jge 0x100650bb
lea ecx, [ebp - 0x10]
call fcn.10082950
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 7
call dword [sym.imp.Secur32.dll_GetComputerObjectNameW]
test al, al
je 0x10065131
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.10082749
push 0x2f
xor ecx, ecx
call fcn.1005e81f
cmp eax, 0xffffffff
je 0x1006510c
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.1005ea6a
mov edi, esi
mov byte [ebp - 4], 1
call fcn.1005e434
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [ebp - 0x10]
call fcn.1005e8a8
push 0x10014b60
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.1005e84c
cmp eax, 0xffffffff
je 0x10065131
call fcn.1006967a
test al, al
je 0x10065144
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov al, bl
call fcn.100922e2
ret
mov bl, 1
jmp 0x10065131
Function at 0x10065dea
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x100b8210]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [esi + 4]
push eax
mov dword [esi], 0x1001d4e0
call fcn.1005d3b1
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.100882c0
add esp, 0xc
push 0xff
lea eax, [ebp - 0x204]
push eax
push 0x10014e6c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jle 0x10065e85
mov edx, 0x10012c34
lea eax, [ebp - 0x204]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x10065e76
test cx, cx
je 0x10065e72
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x10065e76
add eax, 4
add edx, 4
test cx, cx
jne 0x10065e50
xor eax, eax
jmp 0x10065e7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10065e85
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.10084b58
leave
ret