joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f859
Capabilities:
Get keyboard layout

Disassembly:
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010044ba
leave
ret 0xc
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0xc8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
call fcn.0100f9d2
test eax, eax
je 0x100f5b6
push 0x74
pop esi
push esi
lea eax, [ebp - 0x78]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0xc4]
lea eax, [ebp - 0x78]
push ebx
push dword [ebp + 8]
mov ecx, edi
push eax
push 0
push 0x43a
mov dword [ebp - 0x78], esi
call fcn.0100f995
mov eax, dword [ebp - 0xbe]
or dword [ebp - 0x74], 0x2000000
or dword [ebp - 0x74], 0x80000000
or dword [ebp - 0x74], 0x20000000
shl eax, 0xa
or eax, dword [ebp - 0xc0]
movzx esi, ax
movzx eax, si
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0xb8]
push eax
push 0x20
lea eax, [ebp - 0x5e]
push eax
call fcn.01005055
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp dword [ebp - 0xc8], 0
movzx eax, ax
jne 0x100f946
cmp ax, si
je 0x1052f3c
xor ecx, ecx
cmp cx, word [ebp - 0xbe]
jne 0x100f946
xor eax, esi
test eax, 0x3ff
je 0x100f967
push dword [ebp - 0xc4]
lea eax, [ebp - 0x78]
push ebx
push dword [ebp + 8]
mov ecx, edi
push eax
push 0x10
push 0x444
call fcn.0100f995
jmp 0x100f886
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
call fcn.0100f525
push dword [ebp - 0xc4]
lea eax, [ebp - 0x78]
push ebx
push dword [ebp + 8]
mov ecx, edi
push eax
push 0
push 0x444
call fcn.0100f995
jmp 0x100f946
mov dword [ebp - 0xc8], 1
jmp 0x100f967
Function at 0x1030147
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
xor esi, esi
cmp dword [eax - 8], esi
je 0x1030189
push edi
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1030188
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x1045c30
Capabilities:
Get file attributes

Disassembly:
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1045c16
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x1045c16
xor ecx, ecx
mov word [eax], cx
push dword [edi]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.010458f9
mov esi, eax
and esi, ebx
jne 0x1045c1e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
and esi, 0x10
test esi, esi
je 0x104b2fa
and dword [edi], 0
jmp 0x1045c6b
mov esi, eax
and esi, ebx
jne 0x1045c1e
jmp 0x1045c6b
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x10aa0b4], esi
jne 0x1045c82
push ebx
push edi
mov edi, 0x10ab4bc
mov ebx, 0xffff
xor eax, eax
cmp dword [edi - 4], eax
jne 0x1045c6b
cmp dword [edi], eax
jne 0x1045bbe
add edi, 0x30
cmp edi, 0x10ab78c
jl 0x1045c5c
pop edi
mov dword [0x10aa0b4], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.010044ba
leave
ret
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.01005055
jmp 0x1045c23
Function at 0x106410d
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x109c4cd
call fcn.010038c3
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::CString
mov byte [ebp - 4], 1
cmp dword [esi + 0xf0], ebx
jne 0x1064161
call fcn.01080135
mov esi, eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.010038b8
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x106415a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x10642ca
mov edi, dword [ebp + 8]
lea eax, [edi + 0xd4]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42u.dll_CString::CString_2
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp dword [eax - 8], ebx
jne 0x1064199
push 0x80004001
call fcn.01080140
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.010038b8
jmp 0x106413e
mov eax, dword [esi + 0xb8]
add eax, 0x5c
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.01060861
cmp eax, ebx
je 0x10641b7
push eax
jmp 0x1064184
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0100af29
push dword [ebp + 8]
call fcn.0100b7da
pop ecx
lea eax, [ebp - 0x14]
push eax
push 0x12
push dword [ebp - 0x10]
mov dword [ebp + 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
cmp eax, ebx
jne 0x10641b4
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.01063694
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.010636bf
cmp dword [ebp - 0x1c], ebx
jne 0x1064208
cmp eax, ebx
jne 0x1064208
lea ecx, [ebp - 0x24]
jmp 0x106420a
xor ecx, ecx
mov eax, dword [esi + 0xf4]
push ecx
push dword [ebp - 0x14]
push 1
push eax
mov eax, dword [esi + 0xb8]
push dword [eax + 0x60]
call fcn.0103de3a
mov esi, eax
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0100954a
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x1064240
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, ebx
je 0x106424a
push esi
jmp 0x1064184
cmp dword [0x10aa44c], ebx
je 0x10642a0
mov al, byte [0x10aa450]
cmp al, 4
jae 0x106425f
cmp al, bl
jne 0x10642a0
mov ecx, dword [0x10aa43c]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x10642a0
mov ecx, dword [0x10aa444]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x10aa440]
jne 0x10642a0
cmp eax, ecx
jne 0x10642a0
push 0x10539c0
push dword [0x10aa394]
push dword [0x10aa390]
call fcn.01058490
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.010038b8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.010038b8
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10642c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.01003900
ret 4
Function at 0x1078cf8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
mov ecx, ebx
call sub.MFC42u.dll_CDataExchange::PrepareEditCtrl
cmp dword [ebx], 0
mov edi, eax
je 0x1078d98
push 0x40
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x84], 0
je 0x1078d90
push esi
lea eax, [ebp - 0x84]
mov edi, 0x10aa170
push eax
mov ecx, edi
call fcn.0107c929
test eax, eax
jne 0x1078d6b
push 0xffffffffffffffff
push 0x40
push 0x67
call sub.MFC42u.dll_AfxMessageBox
mov ecx, ebx
call sub.MFC42u.dll_CDataExchange::Fail
push 2
push dword [esi]
lea eax, [ebp - 0x84]
push 0x40
push eax
mov ecx, edi
call fcn.0107cc1f
push esi
lea eax, [ebp - 0x84]
push eax
mov ecx, edi
call fcn.0107c929
jmp 0x1078dc6
mov dword [esi], 0x7fffffff
jmp 0x1078dc6
mov esi, dword [esi]
cmp esi, 0x7fffffff
je 0x1078dc6
push 2
push esi
push 0x40
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x10aa170
call fcn.0107cc1f
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010044ba
leave
ret 0xc

Function at 0x107c8a1
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x107c914
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MFC42u.dll_AfxFullPath
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
mov dword [ebp - 0x210], eax
test ax, ax
je 0x107c914
lea eax, [ebp - 0x210]
push eax
push 0x107c52b
call dword [sym.imp.USER32.dll_EnumWindows]
cmp word [ebp - 0x210], 0
jne 0x107c908
xor eax, eax
inc eax
jmp 0x107c916
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010044ba
leave
ret 4

Function at 0x107d653
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
jne 0x107d668
xor eax, eax
jmp 0x107d6cc
push edi
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x107d68d
xor eax, eax
jmp 0x107d6cb
push esi
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x107d6c2
cmp dword [ebp - 4], 2
jne 0x107d6c2
mov eax, 0xfeff
cmp word [ebp + 8], ax
je 0x107d6bf
mov eax, 0xfffe
cmp word [ebp + 8], ax
jne 0x107d6c2
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x107ed52
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push edi
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
mov edi, ecx
mov dword [ebp - 0x220], eax
call esi
mov ecx, edi
mov dword [ebp - 0x21c], eax
call fcn.01044d61
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x228]
push eax
mov ecx, edi
call fcn.0100b713
and dword [ebp - 0x214], 0
cmp dword [ebp - 0x21c], 0
jbe 0x107ee84
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
push ebx
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x107ee6c
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
mov ecx, edi
call fcn.010781b9
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x218], 1
call fcn.0107fe7d
test eax, eax
je 0x107ee39
push 0
push 1
xor eax, eax
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.01099175
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x21c], 1
jne 0x107ee55
xor eax, eax
cmp dword [ebp - 0x218], eax
sete al
mov dword [ebp - 0x220], eax
jmp 0x107ee6c
cmp dword [ebp - 0x218], 0
je 0x107ee6c
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.0109785e
inc dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jb 0x107edb9
lea eax, [ebp - 0x228]
push eax
mov ecx, edi
call fcn.010781b9
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010044ba
leave
ret 4
Function at 0x108862a
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0x43c
mov eax, 0x10a2a76
call fcn.01004469
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x428], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 4], ebx
mov edi, ecx
mov dword [ebp - 0x42c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1004fe8
mov ecx, esi
call fcn.0100bef1
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1088777
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0100bf1d
push 0x1088784
mov ecx, esi
call fcn.010884c2
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x424], eax
call fcn.0100ef12
push 0x1054104
mov ecx, esi
call fcn.010884c2
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x10886e3
mov eax, dword [edi]
jmp 0x10886e5
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1088709
cmp dword [esi + 0x18], 8
jb 0x10886fb
mov eax, dword [edi]
jmp 0x10886fd
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp eax, ebx
jne 0x1088751
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x18], 8
jb 0x108871a
mov eax, dword [eax + 4]
jmp 0x108871d
add eax, 4
cmp dword [esi + 0x18], 8
jb 0x1088725
mov edi, dword [edi]
lea ecx, [ebp - 0x420]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x1004fe8
mov ecx, esi
call fcn.0100bf1d
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.010884c2
jmp 0x1088777
lea ecx, [ebp - 0x448]
call fcn.0100c293
xor edi, edi
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0100c2af
push ebx
push edi
lea ecx, [ebp - 0x448]
call fcn.0100b890
mov eax, esi
call fcn.010044a6
ret 4
Function at 0x108a0c7
Capabilities:
Delete file

Disassembly:
push 0x60
mov eax, 0x10a2fd5
call fcn.01004469
mov esi, ecx
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x6c]
push 0x1054ec0
push eax
call fcn.0100eec6
push 0x1054ea4
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0108858c
add esp, 0x18
push edi
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0100b890
push 0x1004fe8
mov ecx, esi
call fcn.0100c0b8
test eax, eax
jne 0x108a133
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0100b890
mov eax, esi
call fcn.010044a6
ret
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.0100ef2c
mov edi, 0x1054e3c
push edi
lea ecx, [ebp - 0x50]
call fcn.0100bef1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
lea ebx, [esi + 0x48]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0108851c
mov eax, dword [eax]
push 0
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
call fcn.0100b890
mov eax, dword [esi + 0x4c]
cmp dword [ebp - 0x30], eax
je 0x108a1b9
push edi
lea ecx, [ebp - 0x50]
call fcn.0100bef1
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0108969c
cmp dword [eax + 0x18], 8
jb 0x108a1a3
mov eax, dword [eax + 4]
jmp 0x108a1a6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.0100b890
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x108a1c5
lea eax, [ebp - 0x28]
push eax
push 0x80000001
mov ecx, esi
call fcn.010882e5
mov esi, eax
jmp 0x108a11f
Function at 0x108a2dd
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x46c
mov eax, 0x10a30b0
call fcn.01004469
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x418], ax
xor esi, esi
lea eax, [ebp - 0x416]
push esi
push eax
mov ebx, ecx
call sub.msvcrt.dll_memset
push 0x60
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x43c], esi
call sub.MFC42u.dll_operatornew
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x108a36c
add ebx, 0x1c
push ebx
call fcn.01010582
mov dword [ebp - 0x41c], eax
jmp 0x108a372
mov dword [ebp - 0x41c], esi
lea eax, [ebp - 0x45c]
push eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x418]
push eax
push edi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
jne 0x108a514
cmp dword [ebp - 0x424], esi
je 0x108a511
lea ecx, [ebp - 0x454]
call fcn.010105e7
mov dword [ebp - 4], 1
mov dword [ebp - 0x428], esi
cmp dword [ebp - 0x424], esi
jbe 0x108a4c8
lea eax, [ebp - 0x45c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x428]
mov dword [ebp - 0x440], 0xff
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x108a4b0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x478]
call fcn.0100bef1
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 2
call fcn.01089b1b
push esi
push 1
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 1
call fcn.0100b890
mov ecx, dword [ebp - 0x41c]
call fcn.0108a1de
test eax, eax
je 0x108a489
mov ecx, dword [ebp - 0x41c]
call fcn.0108827f
test eax, eax
je 0x108a4b0
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], ebx
push eax
lea ecx, [ebp - 0x454]
inc ebx
call fcn.0108978b
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0100bf1d
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x424]
jb 0x108a3fe
xor edi, edi
cmp ebx, esi
jbe 0x108a502
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x420], edi
call fcn.0108978b
mov ecx, dword [ebp - 0x41c]
push eax
call fcn.01089b1b
mov ecx, dword [ebp - 0x41c]
call fcn.0108a0c7
inc edi
cmp edi, ebx
jb 0x108a4ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.010891b0
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x41c]
cmp ecx, esi
je 0x108a525
push 1
call fcn.0102f5cc
mov eax, ebx
call fcn.010044a6
ret 4
Function at 0x108a653
Capabilities:
Create directory
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x210], ebx
cmp dword [esi + 0xc], ebx
jne 0x108a683
mov eax, 0x80004005
jmp 0x108a7b2
push edi
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
je 0x108a69f
cmp eax, edi
jbe 0x108a6a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0108c994
cmp eax, ebx
mov dword [ebp - 0x214], eax
jl 0x108a79f
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, 0xb7
test eax, eax
jne 0x108a702
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x108a702
test eax, eax
jle 0x108a6f4
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x214], eax
test eax, eax
jl 0x108a79f
push dword [esi + 4]
call fcn.0100b7da
mov eax, dword [ebp - 0x210]
and dword [ebp - 0x210], 0
mov dword [esi + 4], eax
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x108a760
push dword [0x10af3e8]
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.010458f9
test eax, eax
jl 0x108a760
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0108c994
mov dword [ebp - 0x214], eax
test eax, eax
jl 0x108a79f
push 0
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x108a786
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x108a786
mov dword [ebp - 0x214], 1
push dword [esi + 4]
call fcn.0100b7da
mov eax, dword [ebp - 0x210]
and dword [ebp - 0x210], 0
pop ecx
mov dword [esi + 4], eax
push dword [ebp - 0x210]
call fcn.0100b7da
mov eax, dword [ebp - 0x214]
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.010044ba
leave
ret
Function at 0x108cb76
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi - 0xc]
neg eax
lea ecx, [esi + 4]
sbb eax, eax
and eax, ecx
push eax
lea ecx, [ebp - 8]
mov dword [ebp - 4], edi
call fcn.0108a8d7
lea eax, [esi + 0x8c]
cmp dword [eax], edi
je 0x108cc8f
push dword [esi + 0x5c]
mov dword [eax], edi
call fcn.0100b7da
mov eax, dword [esi + 0x6c]
pop ecx
cmp eax, edi
je 0x108cbc4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x6c], edi
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x108cbd4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x70], edi
mov eax, dword [esi + 0x74]
push ebx
mov ebx, 0x1054f50
cmp eax, edi
je 0x108cc07
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push eax
call dword [ecx]
test eax, eax
jl 0x108cc07
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x108cc07
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x74], edi
cmp eax, edi
je 0x108cc37
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push eax
call dword [ecx]
test eax, eax
jl 0x108cc37
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x108cc37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x78]
mov dword [esi + 0x7c], edi
cmp eax, edi
je 0x108cc67
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push eax
call dword [ecx]
test eax, eax
jl 0x108cc67
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x108cc67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x78]
pop ebx
cmp eax, edi
je 0x108cc78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x78], edi
mov eax, dword [esi + 0x64]
cmp eax, edi
je 0x108cc8f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x64]
call fcn.0100b7da
pop ecx
mov eax, dword [ebp - 8]
cmp eax, edi
pop edi
pop esi
je 0x108cca2
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
leave
ret
Function at 0x108f821
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi - 4]
neg eax
lea ecx, [esi + 4]
sbb eax, eax
and eax, ecx
push eax
lea ecx, [ebp - 4]
call fcn.0108a8d7
lea eax, [esi + 0x94]
xor ebx, ebx
cmp dword [eax], ebx
je 0x108f8d6
mov dword [eax], ebx
cmp dword [esi + 0x9c], ebx
je 0x108f863
push ebx
lea ecx, [esi - 4]
call fcn.0108f7ce
push edi
lea edi, [esi + 0x8c]
mov eax, dword [edi]
cmp eax, ebx
je 0x108f878
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
cmp dword [esi + 0x98], ebx
je 0x108f88c
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x90]
call fcn.0100b7da
push dword [esi + 0x6c]
call fcn.0100b7da
push dword [esi + 0x74]
call fcn.0100b7da
lea edi, [esi + 0x84]
mov eax, dword [edi]
add esp, 0xc
cmp eax, ebx
je 0x108f8be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
lea edi, [esi + 0x88]
mov eax, dword [edi]
cmp eax, ebx
je 0x108f8d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
mov dword [esi + 0x20], ebx
pop edi
mov eax, dword [ebp - 4]
pop esi
cmp eax, ebx
pop ebx
je 0x108f8e9
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
leave
ret