joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100724d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x10072511
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x10072513
mov esi, edi
test esi, esi
je 0x10072588
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x1007257d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x1007257d
cmp dword [esp + 0x1c], eax
jbe 0x1007254e
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x1007257d
cmp esi, edi
je 0x1007256f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x10072588
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x100726e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
je 0x1007273f
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x1007273f
cmp dword [esp + 0xc], 3
jne 0x1007273f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x1007273f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push 0
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x1007273f
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc

Function at 0x10072820
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
test esi, esi
push edi
je 0x10072894
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x10072894
cmp dword [esp + 0x10], 3
jne 0x10072894
mov edx, dword [esp + 0x18]
push edx
call fcn.101d5034
mov edi, eax
add esp, 4
test edi, edi
je 0x10072894
lea eax, [esp + 0x18]
push eax
push edi
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x1007288b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret 8
push edi
call fcn.101d505d
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x100728a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x101e95bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x102562e4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x1007290b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x1007290d
mov esi, edi
test esi, esi
je 0x100729d7
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100729cc
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x1007294f
cmp eax, 2
je 0x1007294f
cmp eax, 6
je 0x1007294f
cmp eax, 7
jne 0x100729cc
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.101d5034
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x100729b2
lea ecx, [esp + 0x14]
call fcn.101d4b02
cmp esi, dword [esp + 0x14]
je 0x100729a7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.101d505d
add esp, 4
jmp 0x100729e9
call fcn.101d505d
add esp, 4
lea ecx, [esp + 0x10]
push 0x10279924
call fcn.101d4b02
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x100729d7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100729e9
push eax
lea ecx, [esp + 0x14]
call fcn.101d4b02
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.101d46d8
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.101d496b
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x10072b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x10072b67
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
or edx, 0x20019
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x10072b6a
mov esi, dword [ebp + 8]
test esi, esi
je 0x10072d1d
call fcn.10070f00
test eax, eax
je 0x10072c15
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 0x14]
push 0
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10072d11
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x10072bb9
cmp eax, 2
je 0x10072bb9
cmp eax, 6
je 0x10072bb9
cmp eax, 7
jne 0x10072d11
mov ecx, dword [ebp + 0xc]
add ecx, 2
push ecx
call fcn.101d5034
mov edx, dword [ebp + 0xc]
mov ebx, eax
xor eax, eax
mov edi, ebx
lea ecx, [edx + 2]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebx
jne 0x10072cfc
mov ecx, dword [ebp + 0x18]
call fcn.1005c7b0
cmp esi, dword [ebp + 8]
je 0x10072ce6
jmp 0x10072cdf
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10072c21
mov dword [ebp + 0x10], eax
jmp 0x10072c56
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.10043800
mov edx, dword [ebp + 0x10]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 0x10], edi
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x14]
push 0
push ecx
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10072d11
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x10072c90
cmp eax, 2
je 0x10072c90
cmp eax, 6
je 0x10072c90
cmp eax, 7
jne 0x10072d11
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
call fcn.101d5034
mov ecx, dword [ebp + 0xc]
mov ebx, eax
add ecx, 2
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebx
jne 0x10072cfc
mov ecx, dword [ebp + 0x18]
call fcn.1005c880
cmp esi, dword [ebp + 8]
je 0x10072ce6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.101d505d
add esp, 4
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.101d505d
mov ecx, dword [ebp + 0x18]
add esp, 4
push 0x10279924
call fcn.1005c7b0
cmp esi, dword [ebp + 8]
je 0x10072d1d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10073730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101e9688
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x10073786
lea ecx, [ebp + 0x14]
mov ebx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [ebp + 0xc]
or ecx, 0x20006
push edx
push 0
push ecx
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x1007378b
mov esi, dword [ebp + 8]
mov ebx, esi
test esi, esi
je 0x1007387a
call fcn.10070f00
test eax, eax
je 0x100737da
mov edi, dword [ebp + 0x18]
push edi
call fcn.10042d96
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 0x10]
push edx
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1007386f
cmp esi, ebx
je 0x100737d0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1007387c
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x100737e5
xor edi, edi
jmp 0x1007381a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.10043800
mov ecx, dword [ebp + 0x10]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0xc]
push edx
call fcn.10056530
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10073860
cmp esi, ebx
je 0x1007384a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.10056d40
mov eax, 1
jmp 0x1007387c
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.10056d40
cmp esi, ebx
je 0x1007387a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10074860
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push ebx
test edx, edx
push esi
mov ebx, ecx
je 0x10074896
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0xc]
or eax, 0x20019
push esi
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x10074898
mov esi, dword [ebx]
test esi, esi
je 0x10074923
mov edx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x14]
xor edi, edi
push eax
lea ecx, [esp + 0x14]
push edi
push ecx
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x100748c8.2
mov eax, dword [esp + 0x18]
cmp eax, 4
ja case.0x100748c8.2
jmp dword [eax*4 + 0x1007492c]
mov edi, 1
jmp case.0x100748c8.2
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 4
sete al
mov edi, eax
jmp case.0x100748c8.2
mov eax, dword [esp + 0x10]
cmp eax, 1
je case.0x100748c8.0
cmp eax, 2
je case.0x100748c8.0
cmp eax, 6
je case.0x100748c8.0
cmp eax, 7
je case.0x100748c8.0
xor edi, edi
jmp case.0x100748c8.2
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, 3
sete cl
mov edi, ecx
cmp esi, dword [ebx]
je 0x1007491b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x10076a20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ax, word [esp + 4]
pop edi
add esp, 0x208
ret

Function at 0x10076a60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x10076b20
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.10042d07
add esp, 8
test eax, eax
je 0x10076aaf
mov word [eax], 0
mov edi, dword [esp + 0x218]
test edi, edi
je 0x10076b19
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x10076b19
lea edx, [esp + 0xc]
test edx, edx
je 0x10076b19
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x10076af6
push eax
lea eax, [esp + 0x10]
push eax
push 0x1023b350
push ebx
push edi
call fcn.10043276
add esp, 0x14
xor esi, esi
jmp 0x10076b28
lea ecx, [esp + 0xc]
push ecx
call fcn.10042d96
add esp, 4
cmp ebx, eax
jbe 0x10076b28
lea edx, [esp + 0xc]
push edx
push edi
call fcn.10042d71
add esp, 8
xor esi, esi
jmp 0x10076b28
mov esi, 0x57
jmp 0x10076b28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x1027e378], esi
je 0x10076b39
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret

Function at 0x10076c50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x10076d10
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.10042d07
add esp, 8
test eax, eax
je 0x10076c9f
mov word [eax], 0
mov edi, dword [esp + 0x218]
test edi, edi
je 0x10076d09
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x10076d09
lea edx, [esp + 0xc]
test edx, edx
je 0x10076d09
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x10076ce6
push eax
lea eax, [esp + 0x10]
push eax
push 0x1023b350
push ebx
push edi
call fcn.10043276
add esp, 0x14
xor esi, esi
jmp 0x10076d18
lea ecx, [esp + 0xc]
push ecx
call fcn.10042d96
add esp, 4
cmp ebx, eax
jbe 0x10076d18
lea edx, [esp + 0xc]
push edx
push edi
call fcn.10042d71
add esp, 8
xor esi, esi
jmp 0x10076d18
mov esi, 0x57
jmp 0x10076d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x1027e378], esi
je 0x10076d29
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret
Function at 0x10076d40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101e9885
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
mov eax, dword [0x102562e4]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x104
push ecx
mov dword [esp + 0x434], 1
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x10076e53
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.10042d07
add esp, 8
cmp eax, ebx
je 0x10076dd4
mov word [eax], bx
lea eax, [esp + 0x21c]
test eax, eax
je 0x10076e4c
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x10076e4c
mov eax, dword [esp + 0x438]
mov esi, 0x7a
cmp eax, ebx
je 0x10076e1d
lea edx, [esp + 0x14]
push eax
push edx
push 0x1023b350
lea eax, [esp + 0x228]
push 0x104
push eax
call fcn.10043276
add esp, 0x14
xor esi, esi
mov eax, esi
jmp 0x10076e59
lea ecx, [esp + 0x14]
push ecx
call fcn.10042d96
add esp, 4
cmp eax, 0x104
jae 0x10076e48
lea edx, [esp + 0x14]
lea eax, [esp + 0x21c]
push edx
push eax
call fcn.10042d71
add esp, 8
xor esi, esi
mov eax, esi
jmp 0x10076e59
mov eax, 0x57
jmp 0x10076e59
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [0x1027e378], eax
je 0x10076e6b
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10076e7c
lea ecx, [esp + 0x21c]
push ecx
lea ecx, [esp + 0x10]
call fcn.101d4b02
mov esi, dword [esp + 0x434]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.101d46d8
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], bl
call fcn.101d496b
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret

Function at 0x10076f80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x10077024
mov edi, dword [esp + 0x218]
test edi, edi
je 0x1007701d
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x1007701d
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x1007701d
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x10076ffa
lea edx, [esp + 0xc]
push eax
push edx
push 0x1023b350
push ebx
push edi
call fcn.10043276
add esp, 0x14
xor esi, esi
jmp 0x1007702c
lea eax, [esp + 0xc]
push eax
call fcn.10042d96
add esp, 4
cmp ebx, eax
jbe 0x1007702c
lea ecx, [esp + 0xc]
push ecx
push edi
call fcn.10042d71
add esp, 8
xor esi, esi
jmp 0x1007702c
mov esi, 0x57
jmp 0x1007702c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x1027e378], esi
je 0x1007703d
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret
Function at 0x10077140
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x100771e4
mov edi, dword [esp + 0x218]
test edi, edi
je 0x100771dd
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x100771dd
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x100771dd
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x100771ba
lea edx, [esp + 0xc]
push eax
push edx
push 0x1023b350
push ebx
push edi
call fcn.10043276
add esp, 0x14
xor esi, esi
jmp 0x100771ec
lea eax, [esp + 0xc]
push eax
call fcn.10042d96
add esp, 4
cmp ebx, eax
jbe 0x100771ec
lea ecx, [esp + 0xc]
push ecx
push edi
call fcn.10042d71
add esp, 8
xor esi, esi
jmp 0x100771ec
mov esi, 0x57
jmp 0x100771ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x1027e378], esi
je 0x100771fd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret
Function at 0x100781d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101e9975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x620
mov eax, dword [0x102562e4]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x21c]
push 0x104
push ecx
mov dword [esp + 0x63c], 1
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x100782d1
lea edx, [esp + 0x21c]
push 0x5c
push edx
call fcn.10042d07
add esp, 8
cmp eax, ebx
je 0x10078280
mov word [eax], bx
lea eax, [esp + 0x14]
test eax, eax
je 0x100782ca
lea ecx, [esp + 0x21c]
test ecx, ecx
je 0x100782ca
lea edx, [esp + 0x21c]
mov esi, 0x7a
push edx
call fcn.10042d96
add esp, 4
cmp eax, 0x104
jae 0x100782c6
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10042d71
add esp, 8
xor esi, esi
mov eax, esi
jmp 0x100782d7
mov eax, 0x57
jmp 0x100782d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp eax, ebx
mov dword [0x1027e378], eax
je 0x10078305
push eax
call edi
mov esi, dword [0x1027e378]
cmp esi, ebx
mov dword [0x1027e378], esi
je 0x100783a1
push esi
call edi
jmp 0x100783b2
push 0x103
lea edx, [esp + 0x18]
push 0x1023b24c
push edx
call fcn.100452d7
lea eax, [esp + 0x430]
add esp, 0xc
test eax, eax
je 0x10078397
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x10078397
mov eax, dword [esp + 0x640]
mov esi, 0x7a
cmp eax, ebx
je 0x10078363
lea edx, [esp + 0x14]
push eax
push edx
push 0x1023b350
lea eax, [esp + 0x430]
push 0x104
push eax
call fcn.10043276
add esp, 0x14
xor esi, esi
jmp 0x100782ef
lea ecx, [esp + 0x14]
push ecx
call fcn.10042d96
add esp, 4
cmp eax, 0x104
jae 0x100782ef
lea edx, [esp + 0x14]
lea eax, [esp + 0x424]
push edx
push eax
call fcn.10042d71
add esp, 8
xor esi, esi
jmp 0x100782ef
mov esi, 0x57
jmp 0x100782ef
lea ecx, [esp + 0x424]
push ecx
lea ecx, [esp + 0x10]
call fcn.101d4b02
mov esi, dword [esp + 0x63c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.101d46d8
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x634], bl
call fcn.101d496b
mov ecx, dword [esp + 0x62c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x62c
ret
Function at 0x1007cc80
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x1007cca1
push 0x57
mov dword [0x1027e378], 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x1007ccd2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007ccd2
test al, 0x10
jne 0x1007ccd2
test al, 1
je 0x1007cc9c
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x1007cd40
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x1007cd61
push 0x57
mov dword [0x1027e378], 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x1007cd92
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007cd92
test al, 0x10
jne 0x1007cd92
test al, 1
je 0x1007cd5c
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret