joyce8/EMBER2024-capa huggingface dataset:
Function at 0x106256b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
mov edx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104b
push dword [edx]
mov dword [ebp - 0x34], 4
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4

Function at 0x1063800
Capabilities:
Copy file
Get common file path

Disassembly:
mov eax, 0x1272ffd
call fcn.01160118
sub esp, 0x630
mov eax, dword [0x12cf8c8]
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x800e
push ebx
call esi
test eax, eax
mov edi, 0x8005
jge 0x106384a
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push edi
push ebx
call esi
lea eax, [ebp - 0x628]
push eax
push ebx
push ebx
push 0x8037
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0x63c], eax
jge 0x1063880
lea eax, [ebp - 0x628]
push eax
push ebx
push ebx
push edi
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0x63c], eax
jl 0x10639f8
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x634], eax
mov dword [ebp - 4], ebx
push 0xf683
lea ecx, [ebp - 0x634]
call fcn.01032a7e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x630]
call fcn.01045e8e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x630]
call fcn.0104502b
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x630]
call fcn.01044d17
lea ecx, [ebp - 0x630]
call fcn.01045054
test eax, eax
jge 0x10639db
push 0x104
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 1
jae 0x1063903
mov esi, 0x80004005
jmp 0x106395e
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x638]
call fcn.01045e8e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x62c]
call fcn.01044f5e
mov byte [ebp - 4], 3
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x638]
call fcn.010527d5
mov esi, eax
cmp esi, ebx
jge 0x106397f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x62c]
call fcn.0104508a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x638]
call fcn.0104508a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x630]
call fcn.0104508a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.0103290a
mov eax, esi
jmp 0x10639fe
lea ecx, [ebp - 0x62c]
call fcn.0104502b
push 0x10067c0
lea ecx, [ebp - 0x62c]
call fcn.010524eb
lea ecx, [ebp - 0x62c]
call fcn.01045054
test eax, eax
jl 0x10639bd
push 1
push dword [ebp - 0x630]
push dword [ebp - 0x62c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x62c]
call fcn.0104508a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x638]
call fcn.0104508a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x630]
call fcn.0104508a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.0103290a
mov eax, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret
Function at 0x1065b7b
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x1273320
call fcn.01160118
sub esp, 0x254
mov eax, dword [0x12cf8c8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 4], 1
push ebx
push ebx
mov esi, 0xf003f
push esi
push ebx
push ebx
push eax
push SysReAllocString
lea ecx, [ebp - 0x260]
call fcn.01061330
cmp eax, ebx
je 0x1065bd6
xor esi, esi
jmp 0x1065ca6
push ebx
push ebx
push esi
push ebx
push ebx
push 0x10068dc
push dword [ebp - 0x260]
lea ecx, [ebp - 0x25c]
call fcn.01061330
cmp eax, ebx
jne 0x1065bcf
push 0x10068c0
push dword [edi + 0xc]
lea ecx, [ebp - 0x25c]
call fcn.01061385
mov esi, dword [edi + 4]
jmp 0x1065c52
push esi
push 0x10068a8
lea eax, [ebp - 0x50]
push 0x1f
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x258]
push eax
lea eax, [esi + 0xe10f]
push eax
mov ecx, edi
mov word [ebp - 0x12], bx
call fcn.01065b3e
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x25c]
call fcn.01044b10
dec esi
cmp esi, ebx
jg 0x1065c0d
mov edi, dword [edi + 4]
lea esi, [edi + 1]
jmp 0x1065c88
push esi
push 0x10068a8
lea eax, [ebp - 0x50]
push 0x1f
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x25c]
mov word [ebp - 0x12], bx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc esi
cmp esi, 0x10
jl 0x1065c5e
lea ecx, [ebp - 0x25c]
call fcn.01044a59
lea ecx, [ebp - 0x260]
call fcn.01044a59
xor esi, esi
inc esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x25c]
call fcn.01044a59
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.01044a59
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret 4
Function at 0x106b845
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1272ebf
call fcn.01160118
push ecx
push esi
mov esi, ecx
call fcn.0106b932
test eax, eax
jge 0x106b86e
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor al, al
jmp 0x106b920
push ebx
push 0x640000
push 0
push 0x401
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x2bc
lea ecx, [ebp - 0x10]
call fcn.01032a7e
test eax, eax
jne 0x106b8a5
xor bl, bl
jmp 0x106b911
push edi
push dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea ebx, [esi + 4]
push dword [ebx]
call edi
test eax, eax
jne 0x106b8be
xor bl, bl
jmp 0x106b910
push 0
lea eax, [ebp - 0x10]
push 0xf1f7
push eax
call fcn.01053006
add esp, 0xc
test eax, eax
je 0x106b8ba
push dword [ebp - 0x10]
push dword [esi + 0x2c]
call edi
test eax, eax
je 0x106b8ba
push 0x2bd
lea ecx, [ebp - 0x10]
call fcn.01032a7e
test eax, eax
je 0x106b8ba
push dword [ebp - 0x10]
push dword [esi + 0x30]
call edi
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, ebx
call fcn.01032636
mov bl, 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0103290a
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x106bb08
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0
mov esi, ecx
push esi
push 0x106bb50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x38], eax
jne 0x106bb32
xor al, al
jmp 0x106bb48
mov ecx, 0x12d2398
call fcn.0107d39b
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, 1
pop esi
leave
ret

Function at 0x106c7ee
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1273d3a
call fcn.01160118
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0104db3d
xor edi, edi
mov dword [ebp - 4], edi
lea ebx, [esi + 0xc]
mov ecx, ebx
call fcn.010683a4
mov byte [ebp - 4], 1
mov dword [esi + 0x30], edi
mov dword [esi], 0x1006c28
mov dword [ebx], 0x1006c18
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x54], edi
mov byte [ebp - 4], 3
mov dword [esi + 0x68], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x106dff3
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
push edi
mov edi, ecx
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, esi
neg eax
sbb eax, eax
and eax, 4
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
push 0xe801
lea ecx, [edi + 0x64]
call fcn.0106c389
push 1
lea ecx, [edi + 0x10]
call fcn.010508d3
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x1073ac1
Capabilities:
Create thread

Disassembly:
mov eax, 0x127487b
call fcn.01160118
push ecx
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0x24]
call fcn.01033691
test eax, eax
jge 0x1073ad7
xor al, al
jmp 0x1073b86
and dword [ebp - 0x10], 0
push ebx
push edi
and dword [ebp - 4], 0
mov eax, dword [0x12d1f58]
push 0xf147
push dword [eax + 8]
lea ecx, [ebp - 0x10]
call fcn.010449ee
push dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi + 0x38]
call edi
test eax, eax
jne 0x1073b0c
xor bl, bl
jmp 0x1073b75
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1073b24
push 5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x100355c
lea ebx, [esi + 0x3c]
push dword [ebx]
call edi
test eax, eax
je 0x1073b08
push 0
mov eax, 0x4000
push eax
push eax
mov ecx, ebx
call fcn.01032b50
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, edi
call fcn.01032636
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push edi
push esi
push 0x1073a81
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x4c], eax
je 0x1073b08
mov bl, 1
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x107407c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x12748c2
call fcn.01160118
sub esp, 0x218
mov eax, dword [0x12cf8c8]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 4], esi
push 0x2001f
push eax
push dword [ebx]
lea ecx, [ebp - 0x214]
call fcn.01044a77
cmp eax, esi
jne 0x1074125
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10740dc
lea eax, [ebp - 0x210]
push eax
call fcn.0107407c
cmp eax, esi
jne 0x1074124
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x214]
je 0x10740cc
call fcn.01044a59
push dword [ebp - 0x21c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.01044a59
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret 4
Function at 0x10749c8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
add ecx, 0xffffffa0
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
je 0x1074a39
push ebx
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov edi, eax
push edi
call fcn.01055a1b
test eax, eax
je 0x1074a2c
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.010329f4
cmp dword [ebp - 8], edi
pop edi
pop ebx
jge 0x1074a60
and dword [ebp - 4], 0
jmp 0x1074a50
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.0103261a
test eax, eax
mov dword [ebp - 4], eax
jne 0x1074a89
push dword [ebp + 0x14]
lea ecx, [esi + 0x60]
push dword [ebp + 8]
call fcn.01107948
jmp 0x1074a89
cmp dword [ebp + 0x18], 0
je 0x1074a89
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1074a89
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x60]
push dword [ebp + 8]
call fcn.0105951e
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18

Function at 0x1074d50
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1274925
call fcn.01160118
sub esp, 0x218
mov eax, dword [0x12cf8c8]
push ebx
mov dword [ebp - 0x10], eax
push esi
mov eax, ecx
lea esi, [eax + 0x84]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01045e8e
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x220]
push eax
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x224], esp
push eax
call fcn.0105258e
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.01183e89
cmp eax, ebx
jge 0x10748c1
push dword [ebp - 0x220]
call fcn.0116eeab
pop ecx
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0105599f
jmp 0x10748c3
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0104508a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov al, bl
call fcn.0115fe1a
pop esi
pop ebx
leave
ret
mov edi, edi
push esi
mov esi, ecx
call fcn.01074baf
test al, al
jne 0x1074d60
pop esi
ret
mov ecx, esi
pop esi
jmp 0x1074827
Function at 0x107c2ba
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov ecx, dword [ebp + 0x18]
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x214], ecx
push 0x104
lea ecx, [ebp - 0x20c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x107c369
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [ebp - 0x21c], eax
je 0x107c369
add eax, 3
and eax, 0xfffffffc
call fcn.011602e0
test esp, esp
mov dword [ebp - 0x210], esp
je 0x107c369
push esp
push dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x107c369
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x1007ab8
push dword [ebp - 0x210]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x107c36d
xor al, al
jmp 0x107c393
mov eax, dword [ebp - 0x218]
movsx ecx, word [eax + 0xa]
mov dword [esi], ecx
movsx ecx, word [eax + 8]
mov dword [edi], ecx
movsx ecx, word [eax + 0xe]
mov dword [ebx], ecx
movsx eax, word [eax + 0xc]
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
mov al, 1
lea esp, [ebp - 0x230]
mov ecx, dword [ebp - 4]
call fcn.0115fe1a
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x107ccb1
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi + 0x90], eax
jne 0x107ccd6
xor al, al
jmp 0x107cd01
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x107be8b
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
setne byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x107ccfe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret

Function at 0x107d6ee
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, 0x127535e
call fcn.01160118
push ecx
push esi
push edi
xor edi, edi
cmp dword [0x12d2b08], edi
mov esi, 0x12d2900
jne 0x107d786
push 1
push 0x1c
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x107d786
push esi
lea ecx, [ebp - 0x10]
call fcn.01045e8e
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
call fcn.0104502b
push 0x1008218
lea ecx, [ebp - 0x10]
call fcn.010524eb
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, edi
jne 0x107d74f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
call fcn.0104502b
push 0x103
push dword [ebp - 0x10]
push esi
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
mov word [0x12d2b06], di
mov dword [0x12d2b08], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0104508a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1082688
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 1
mov edi, ecx
call esi
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.01045054
test eax, eax
mov eax, dword [edi]
setge byte [ebp - 1]
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x10826d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 1], 0
jne 0x10826f0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0xc]
call esi
test ebx, ebx
je 0x108270b
jle 0x1082707
and ebx, 0xffff
or ebx, 0x80070000
mov eax, ebx
jmp 0x108270d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1082e20
Capabilities:
Delete file

Disassembly:
mov eax, 0x1275bf8
call fcn.01160118
sub esp, 0x24
mov ecx, dword [ebp + 8]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
add ecx, 0xc
call fcn.0117e9a2
test eax, eax
jl 0x1082f0f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x1082e59
mov eax, 0x80004003
jmp 0x1082f0f
push esi
call fcn.0117bc1c
test eax, eax
je 0x1082f0c
mov ecx, dword [ebp - 0x10]
call fcn.0117c21f
test eax, eax
jl 0x1082f0e
mov ecx, dword [ebp - 0x10]
call fcn.0117bc1c
push eax
lea ecx, [ebp + 8]
call fcn.01045e8e
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0107bf40
mov eax, dword [ebp + 8]
mov esi, dword [eax - 8]
lea eax, [esi + 1]
push eax
lea ecx, [ebp + 8]
call fcn.01032987
mov edx, eax
test edx, edx
jne 0x1082eb3
mov esi, 0x8007000e
jmp 0x1082ee6
and word [edx + esi*2], 0
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], edx
mov word [ebp - 0x20], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop edi
jge 0x1082ef6
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0104508a
mov eax, esi
jmp 0x1082f0e
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.010329f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0104508a
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x108376a
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
mov eax, 0x1275d45
call fcn.01160118
sub esp, 0x250
mov eax, dword [0x12cf8c8]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x220]
call fcn.01044f5e
mov byte [ebp - 4], 1
mov eax, dword [esi]
lea ecx, [ebp - 0x22c]
push ecx
push esi
call dword [eax + 0x6c]
cmp eax, edi
jge 0x10837b9
mov esi, eax
jmp 0x1083964
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x220]
call fcn.01044f8b
mov ecx, dword [ebp - 0x220]
xor eax, eax
cmp dword [ecx - 8], edi
setne al
cmp eax, edi
jne 0x10837e6
mov esi, 0x80004005
jmp 0x1083964
push ebx
lea ecx, [ebp - 0x220]
call fcn.01045054
test eax, eax
lea ecx, [ebp - 0x220]
setge bl
call fcn.01082688
test eax, eax
jge 0x1083810
mov esi, 0xc9470099
jmp 0x1083963
lea ecx, [ebp - 0x224]
call fcn.01044f5e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.010527d5
cmp eax, edi
jge 0x108383c
mov esi, eax
jmp 0x1083954
test bl, bl
mov byte [ebp - 0x219], 0
je 0x108387e
lea eax, [ebp - 0x218]
push eax
push 1
push 0x10094fc
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, edi
jne 0x108386f
mov esi, 0x80004005
jmp 0x1083954
lea edi, [ebp - 0x218]
mov byte [ebp - 0x219], 1
jmp 0x1083884
mov edi, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
xor ebx, ebx
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 0x230], ebx
call fcn.0117e9a2
cmp eax, ebx
jl 0x1083835
push ebx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x25c]
call fcn.0118f8da
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x25c]
call fcn.0118e8bb
cmp eax, ebx
jge 0x10838c9
mov esi, eax
jmp 0x1083945
lea eax, [esi + 0x2c]
push eax
push 0x17
lea eax, [ebp - 0x25c]
push eax
call fcn.0118fcc3
cmp eax, ebx
jl 0x10838c5
push ebx
lea ecx, [ebp - 0x25c]
call fcn.0118ee2a
cmp byte [ebp - 0x219], 0
mov dword [ebp - 0x228], eax
je 0x1083932
push dword [ebp - 0x220]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
cmp eax, ebx
jne 0x1083921
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1083921
mov dword [ebp - 0x228], 0x8000ffff
cmp dword [ebp - 0x228], ebx
lea eax, [ebp - 0x218]
jge 0x108399d
push eax
call edi
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x44]
cmp eax, ebx
mov esi, eax
jl 0x1083945
mov esi, dword [ebp - 0x228]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.01082828
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.0104508a
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0104508a
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x22c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.0115fe1a
leave
ret 4
push dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, ebx
jne 0x1083932
mov esi, 0x80004005
jmp 0x1083945
Function at 0x1083b63
Capabilities:
Delete file

Disassembly:
mov eax, 0x1275b74
call fcn.01160118
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x78]
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x1083bd9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x12d2398
call fcn.0116bd86
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x10], ecx
je 0x1083baf
push ebx
push 2
lea ebx, [esi + 0x60]
push ebx
call fcn.0117ed59
mov ecx, dword [ebp - 0x10]
push 4
push ebx
call fcn.0117ed59
pop ebx
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.010830cc
and dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0104508a
mov ecx, edi
call fcn.010478ab
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret