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

Disassembly:
push 0x14
mov eax, 0x100b2756
call fcn.100a5688
mov esi, ecx
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x18]
call fcn.10030831
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008eb5d
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.100373ad
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.10091a7b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push 0x1001b0b8
lea ecx, [ebp - 0x10]
call fcn.10091a7b
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10076c32
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0x1001b108
push ebx
push dword [esi + 4]
push eax
call fcn.1002e335
add esp, 0x14
jmp 0x10076cc3
cmp byte [ebp + 0xc], 0
je 0x10076cc1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008eb5d
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.100373ad
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.10091a7b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push 0x1000c888
lea ecx, [ebp - 0x14]
call fcn.10091a7b
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10076cb9
push dword [ebp + 8]
mov eax, dword [ebp - 0x20]
push 0x1001b180
push ebx
push dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
call fcn.1002e335
add esp, 0x14
lea ecx, [esi - 0x10]
call fcn.1008ebf5
jmp 0x10076cc3
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov bl, 1
lea ecx, [edi - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1008ebf5
mov al, bl
call fcn.100a5651
ret 8
Function at 0x100786fe
Capabilities:
Read file on windows

Disassembly:
push 0x28
mov eax, 0x100b2a91
call fcn.100a5688
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x24], esi
and dword [ebp - 0x14], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.10073cac
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push ecx
push eax
push 0x80
push 3
push ebx
push SysReAllocString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push dword [ebp + 8]
call fcn.10091a7b
test eax, eax
jns 0x100787b7
lea ecx, [ebp - 0x10]
call fcn.1008eab0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.1006e4c0
push eax
lea ecx, [ebp - 0x18]
call fcn.10091a7b
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x10]
push 0x1001b638
push eax
call fcn.10091a7b
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.1002e190
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
call fcn.10091a7b
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
call fcn.10091a7b
push 0x100c55f0
lea eax, [ebp - 0x1c]
push eax
call fcn.10091a7b
push edi
mov ecx, esi
call fcn.10091a7b
push 0
lea ecx, [ebp - 0x20]
push ecx
push edi
mov edi, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x100787da
call fcn.1008e258
push dword [ebp - 0x20]
mov ecx, esi
call fcn.10091a7b
test edi, edi
je 0x100787ef
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov eax, esi
call fcn.100a5651
ret 4

Function at 0x1007b0b6
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x100b203c
call fcn.100a5688
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002e7ee
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.10091a7b
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.1008ebf5
test esi, esi
je 0x1007b0f9
push 4
jmp 0x1007b11e
lea ecx, [ebp - 0x28]
call fcn.1002ebec
test al, al
je 0x1007b109
push 2
jmp 0x1007b11e
push 0
push 0x100070f8
lea ecx, [ebp - 0x24]
call fcn.1002e39c
test al, al
je 0x1007b121
push 3
pop esi
jmp 0x1007b124
xor esi, esi
inc esi
lea ecx, [ebp - 0x28]
call fcn.1002eb70
mov eax, esi
call fcn.100a5651
ret
Function at 0x1007b5dd
Capabilities:
Accept command line arguments

Disassembly:
push 0x30
mov eax, 0x100b30ce
call fcn.100a5688
mov ebx, edx
mov dword [ebp - 0x20], ebx
mov edi, ecx
mov dword [ebp - 0x1c], edi
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
call fcn.1004081f
and dword [ebp - 4], 0
push dword [ebp - 0x18]
movzx eax, bx
mov ebx, dword [ebp + 8]
push eax
push 0x1001c530
push 2
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.1002e335
add esp, 0x14
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008eb5d
add eax, 0x10
lea ecx, [ebp - 0x14]
mov edx, ebx
mov dword [esi], eax
call fcn.10035b08
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002e7ee
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3c]
call fcn.10091a7b
mov byte [ebp - 4], 3
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push ebx
cmp dword [eax - 0xc], 0
je 0x1007b69d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003ff45
push ebx
push dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.100408a8
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1007b6a7
push dword [ebp - 0x20]
mov ecx, edi
call fcn.100408a8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [ebp - 0x3c]
call fcn.1002eb70
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov eax, edi
call fcn.100a5651
ret 4
Function at 0x1007b6d8
Capabilities:
Accept command line arguments

Disassembly:
push 0x38
mov eax, 0x100b314a
call fcn.100a5688
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
and dword [ebp - 0x20], 0
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.1008e9f3
push eax
mov ecx, ebx
call fcn.10091a7b
mov dword [ebp - 0x20], esi
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x44]
call fcn.1002e7ee
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x44]
call fcn.1002edd3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.1008ebf5
test esi, esi
je 0x1007b812
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x44]
call fcn.1002edd3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.1006f4e2
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008eb5d
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x1c]
call fcn.10091a7b
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.10091a7b
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push edi
call fcn.1006f4e2
mov byte [ebp - 4], 9
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x1007b7eb
lea ecx, [ebp - 0x24]
call fcn.10030831
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.10091a7b
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.10091a7b
jmp 0x1007b7f6
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10091a7b
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [edi - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
jmp 0x1007b830
lea ecx, [ebp - 0x28]
call fcn.10030831
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.10091a7b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push dword [ebp + 8]
mov ecx, ebx
call fcn.10091a7b
lea ecx, [ebp - 0x44]
call fcn.1002eb70
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov eax, ebx
call fcn.100a5651
ret 4
Function at 0x1007beb8
Capabilities:
Accept command line arguments

Disassembly:
push 0x168
mov eax, 0x100b3289
call fcn.100a5688
mov edi, ecx
mov dword [ebp - 0x18], edi
and dword [ebp - 0x24], 0
push ecx
mov ecx, esp
push edx
call fcn.1006f4e2
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.10035b08
and dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002e7ee
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.10091a7b
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x1007bf29
mov ecx, edi
call fcn.1004fb52
jmp 0x1007bfaf
lea ecx, [ebp - 0x174]
call fcn.1004fb52
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x118]
call fcn.10091a7b
mov esi, eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.10091a7b
push ecx
push dword [ebp + 8]
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 5
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.1003fe72
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push dword [ebp + 0xc]
lea edx, [ebp - 0x18]
mov ecx, edi
push dword [ebp + 8]
call fcn.1004fb52
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x174]
call fcn.1004f7d2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [ebp - 0x3c]
call fcn.1002eb70
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.100a5651
ret 8
Function at 0x10081043
Capabilities:
Check if file exists

Disassembly:
push 0x60
mov eax, 0x100b3c2a
call fcn.100a56bc
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
call fcn.10030831
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x1001cee4
call fcn.10091a7b
mov dword [ebp - 0x54], 0x1001cef8
xor esi, esi
mov dword [ebp - 0x50], 0x1001cf0c
mov dword [ebp - 0x4c], 0x1001cf20
mov dword [ebp - 0x48], 0x1001cf34
mov dword [ebp - 0x44], 0x1001cf48
mov dword [ebp - 0x40], 0x1001cf5c
mov dword [ebp - 0x3c], 0x1001cf78
mov dword [ebp - 0x38], 0x1001cf9c
mov dword [ebp - 0x34], 0x1001cfb4
mov dword [ebp - 0x30], 0x1001cfcc
mov dword [ebp - 0x2c], 0x1001cfe4
mov dword [ebp - 0x28], 0x1001cffc
mov dword [ebp - 0x24], 0x1001d014
mov dword [ebp - 0x20], 0x1001d02c
mov dword [ebp - 0x1c], 0x1001d044
mov dword [ebp - 0x18], 0x1001d05c
mov dword [ebp - 0x14], 0x1001d074
push dword [ebp + esi*4 - 0x54]
lea ecx, [ebp - 0x58]
call fcn.10091a7b
push dword [ebp - 0x58]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1008111e
lea ecx, [ebp - 0x58]
call fcn.1006e86f
inc esi
cmp esi, 0x11
jb 0x100810e4
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.100a5666
ret 4
lea ecx, [ebp - 0x5c]
call fcn.1008eab0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.1006e4c0
push eax
lea ecx, [ebp - 0x60]
call fcn.10091a7b
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x5c]
push 0x1001d090
push eax
call fcn.10091a7b
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.1002e190
mov edx, dword [edi]
lea ecx, [ebp - 0x5c]
call fcn.1006e4b8
mov esi, dword [edx + 4]
mov ecx, esi
push eax
push 0
call dword [0x100d0614]
mov ecx, edi
call esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10091a7b
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.10091a7b
push 0x100c55f0
lea eax, [ebp - 0x64]
push eax
call fcn.10091a7b
int3
Function at 0x100811a5
Capabilities:
Accept command line arguments

Disassembly:
push 0x28
mov eax, 0x100b3c5f
call fcn.100a5688
mov dword [ebp - 0x18], ecx
push 0x1001d0d0
push 0x1001d0e8
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x100811d6
xor eax, eax
jmp 0x100812ee
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov ebx, dword [ebp + 0x14]
push 0x1001d0f8
push 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, ebx
call esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
and dword [ebp - 0x14], 0
push ecx
push dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x10081264
push ebx
push ecx
mov ecx, esp
push 0x1001d150
call fcn.1006f4e2
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
call fcn.10084dd3
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push 0x1001d188
push 0
push ebx
push eax
call fcn.1002e335
mov eax, dword [ebp - 0x10]
add esp, 0x14
jmp 0x100812ee
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
and dword [ebp - 4], 0
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100d0614]
mov ecx, esi
call edi
push ecx
mov ecx, esp
push 0x1001d20c
call fcn.1006f4e2
mov edi, dword [ebp - 0x18]
push 7
mov ecx, dword [edi + 0x40]
call fcn.1006d244
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002e7ee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], 0x13ec
call fcn.1002ebc5
push ebx
push 0
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 4]
call fcn.10091a7b
lea ecx, [ebp - 0x34]
call fcn.1002eb70
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100d0614]
mov ecx, esi
call edi
mov eax, dword [ebp - 0x18]
call fcn.100a5651
ret 0x10

Function at 0x100813a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x100813be
xor eax, eax
push eax
push eax
push esi
push 0x10088870
push eax
push eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 0x10], eax
pop esi
ret
Function at 0x10082ab6
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x18
mov eax, 0x100b3fd6
call fcn.100a5688
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebx + 8]
sub ecx, 0x10
call fcn.1008eb5d
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1006e86f
push ecx
mov ecx, dword [ebx + 8]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x24], esi
call fcn.1008eb5d
add eax, 0x10
mov dword [esi], eax
call fcn.100301bd
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x10082b63
mov edi, dword [ebp - 0x10]
lea ecx, [edi - 0x10]
call fcn.1008eb5d
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
mov edx, 0x1001d234
lea ecx, [ebp - 0x1c]
call fcn.1006eaa2
mov byte [ebp - 4], 2
mov ebx, dword [ebx + 0x18]
push dword [eax]
push 0
mov edx, dword [ebx]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
jmp 0x10082c3c
add ebx, 0xc
xor ecx, ecx
inc ecx
mov dword [ebp - 0x24], ebx
mov edx, 0x105
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x10082b87
push edx
mov ecx, ebx
call fcn.10091a7b
push dword [ebx]
mov edi, dword [ebp - 0x10]
push 0
push 0x1001d270
push edi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
test eax, eax
jne 0x10082c0d
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jle 0x10082bb9
movzx ebx, bx
or ebx, 0x80070000
mov dword [ebp - 0x14], ebx
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x18]
call fcn.10091a7b
push ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push 0x1001d278
push eax
call fcn.10091a7b
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], eax
push esi
push 0
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x100d0614]
mov ecx, dword [ebp - 0x20]
call ebx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.1008ebf5
mov ebx, dword [ebp - 0x24]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.10091a7b
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x14], 0
je 0x10082c3c
push dword [ebx]
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov esi, 0x1000b094
mov ecx, esi
call fcn.1008e51a
push eax
push esi
mov ecx, ebx
call fcn.10091a7b
lea ecx, [edi - 0x10]
call fcn.1008ebf5
mov eax, dword [ebp - 0x14]
call fcn.100a5651
ret
Function at 0x10082eff
Capabilities:
Check if file exists
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0xc]
mov dword [esi], 0x10015ea4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10082f1e
push dword [esi + 0xc]
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov ecx, dword [esi + 0xc]
sub ecx, 0x10
call fcn.1008ebf5
mov ecx, dword [esi + 8]
sub ecx, 0x10
pop esi
jmp fcn.1008ebf5

Function at 0x1008426c
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x100b4218
call fcn.100a5688
mov esi, ecx
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x30]
call fcn.1002e7ee
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.10091a7b
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov ebx, dword [eax - 0xc]
call fcn.1008ebf5
mov ecx, dword [esi + 0xc]
sub ecx, 0x10
call fcn.1008eb5d
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
mov ecx, dword [esi + 8]
sub ecx, 0x10
call fcn.1008eb5d
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10091a7b
neg eax
lea ecx, [esi - 0x10]
sbb al, al
inc al
mov dword [ebp - 0x10], eax
call fcn.1008ebf5
lea ecx, [edi - 0x10]
call fcn.1008ebf5
test ebx, ebx
jne 0x10084311
cmp byte [ebp - 0x10], bl
jne 0x10084311
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x15], bl
je 0x10084311
cmp byte [eax + 0x14], bl
je 0x10084311
inc ebx
jmp 0x10084313
xor bl, bl
lea ecx, [ebp - 0x30]
call fcn.1002eb70
mov al, bl
call fcn.100a5651
ret

Function at 0x10084dd3
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x100b438c
call fcn.100a5688
mov ebx, ecx
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
mov eax, dword [esi]
cmp eax, 0x80004004
jne 0x10084df6
mov eax, 0x80070642
mov dword [esi], eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002e7ee
mov byte [ebp - 4], 1
push dword [esi]
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0xc]
lea ecx, [edi - 0x10]
call fcn.1008eb5d
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebx + 0x40]
call fcn.1008972e
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 0x13ed
call fcn.1002ebc5
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push 0
push ecx
push eax
lea ecx, [ebx + 4]
call fcn.10091a7b
lea ecx, [ebp - 0x28]
call fcn.1002eb70
lea ecx, [edi - 0x10]
call fcn.1008ebf5
call fcn.100a5651
ret 0xc
Function at 0x100888a5
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x100b489d
call fcn.100a5688
mov ebx, ecx
mov dword [ebp - 0x20], ebx
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x14]
call fcn.10091a7b
and dword [ebp - 4], 0
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
lea eax, [ebx + 0x2c]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x18], eax
call fcn.1008eb5d
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1006e86f
mov ebx, dword [ebx + 0xc]
mov edi, dword [ebp - 0x1c]
cmp ebx, 0xffff
jae 0x1008899b
push ebx
push edi
lea eax, [ebp - 0x10]
push 0x1001e794
push eax
call fcn.10091a7b
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10088951
mov eax, dword [ebp - 0x20]
push esi
push dword [eax + 0x2c]
call dword [sym.imp.kernel32.dll_MoveFileW]
test eax, eax
jne 0x1008895a
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x1008895a
cmp eax, 0xb7
jne 0x1008895f
inc ebx
cmp ebx, 0xffff
jb 0x1008890e
mov ebx, dword [ebp - 0x18]
jmp 0x100889a1
push eax
lea eax, [ebp - 0x14]
push 0x1001e7b8
push eax
call fcn.10091a7b
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ebx, dword [eax + 8]
push dword [ebp - 0x14]
push 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, ebx
call esi
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ebx
call fcn.10091a7b
jmp 0x1008899e
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x100889e6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push dword [ebx]
lea eax, [ebp - 0x14]
push 0x1001e830
push eax
call fcn.10091a7b
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [eax + 8]
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x100d0614]
mov ecx, dword [ebp - 0x20]
call ebx
lea ecx, [edi - 0x10]
call fcn.1008ebf5
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.100a5651
ret
Function at 0x1008a8ac
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x100b4c06
call fcn.100a5688
mov dword [ebp - 0x20], edx
mov ebx, ecx
mov dword [ebp - 0x28], ebx
push 0
push 0x100c9424
push 0x100c9520
push 0
push ebx
call fcn.100a698d
mov edi, eax
add esp, 0x14
mov ecx, dword [edi]
push dword [ebp + 8]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
test al, al
jne 0x1008a90f
mov esi, 0x1001f120
mov ecx, esi
call fcn.1008e51a
mov ecx, dword [ebp + 0x10]
push eax
push esi
call fcn.10091a7b
xor eax, eax
inc eax
jmp 0x1008aa42
xor eax, eax
push eax
push 0x100c9540
push 0x100c9520
push eax
push ebx
mov byte [ebp - 0x11], al
call fcn.100a698d
add esp, 0x14
test eax, eax
je 0x1008a938
cmp dword [eax + 0x134], 5
sete byte [ebp - 0x11]
and dword [ebp - 0x1c], 0
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x40]
call fcn.1002e7ee
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.10091a7b
push dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov eax, dword [eax]
push ecx
push edi
push esi
mov edx, dword [eax - 0xc]
mov ecx, ebx
call fcn.1008930d
mov ecx, dword [ebp - 0x24]
mov bl, al
add ecx, 0xfffffff0
call fcn.1008ebf5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1002eb70
test bl, bl
je 0x1008a9d5
cmp byte [ebp + 0x14], 0
je 0x1008a9a6
mov esi, 0x1001f198
jmp 0x1008a8f6
cmp esi, 4
je 0x1008a9cb
cmp byte [ebp - 0x11], 0
jne 0x1008a9cb
mov esi, 0x1001f210
mov ecx, esi
call fcn.1008e51a
mov ecx, dword [ebp + 0x10]
push eax
push esi
call fcn.10091a7b
push 2
jmp 0x1008aa41
mov esi, 0x1001f1e0
jmp 0x1008a8f6
mov ecx, dword [ebp - 0x28]
call fcn.10091a7b
test al, al
je 0x1008a9fb
mov esi, 0x1001f254
mov ecx, esi
call fcn.1008e51a
mov ecx, dword [ebp + 0x10]
push eax
push esi
call fcn.10091a7b
push 3
jmp 0x1008aa41
push 0x1001f280
lea ecx, [ebp - 0x18]
call fcn.1006f4e2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.10091a7b
mov eax, dword [edi]
push dword [ebp - 0x18]
push 0
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1008ebf5
push 5
pop eax
call fcn.100a5651
ret 0x10