joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441d08
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x457078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
or edi, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
call fcn.00434540
mov ecx, dword [esi + 8]
mov eax, 9
mov word [ebp - 0x30], ax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x435258
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ebx, dword [esi + 0xc]
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x43526d
push 0x80004003
call fcn.0043bc30
movdqu xmm0, xmmword [ebp - 0x30]
mov ecx, dword [ebx]
sub esp, 0x10
mov eax, esp
push ebx
movdqu xmmword [eax], xmm0
call dword [ecx + 0x4c]
test eax, eax
jns 0x435291
push 0x444a4c
push ebx
push eax
call fcn.0043bc50
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0
call ebx
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4352b2
push 0x80004003
call fcn.0043bc30
lea eax, [ebp - 0x40]
push eax
call fcn.004317a0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00416b60
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
push 0
push 0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x43533b
mov eax, dword [esi]
test eax, eax
je 0x435315
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, dword [ebp - 0x14]
mov dword [ebp + 8], eax
jmp 0x43531c
mov dword [ebp + 8], 0
test esi, esi
je 0x43533f
cmp dword [esi + 4], 0
jne 0x435330
push dword [esi]
call fcn.0043bcd0
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
jmp 0x435349
xor esi, esi
jmp 0x435342
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
push 0
lea ecx, [ebp - 0x20]
push ecx
push esi
push dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
test esi, esi
je 0x4353c0
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4353c0
test esi, esi
je 0x4353c0
mov eax, dword [esi]
test eax, eax
je 0x435395
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4353ac
push eax
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 4], 0
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x4353c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437b20
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x441fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
xor edi, edi
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], vtable.Intuit::Utilities::LocationPrivilegePolicy_class_Intuit::Utilities::UserDefinedDirectory__class_Intuit::Utilities::StdUser__class_Intuit::Utilities::ReadAccess_.0
mov dword [esp + 0xc], vtable.Intuit::Utilities::LocationPrivilegePolicy_class_Intuit::Utilities::UserDefinedDirectory__class_Intuit::Utilities::StdUser__class_Intuit::Utilities::WriteAccess_.0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x34]
mov byte [esp + 0x58], 1
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00434410
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00434410
cmp dword [esp + 0x30], 8
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x34]
cmovae edx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 8
movzx eax, al
cmovae ecx, dword [esp + 0x34]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x437bf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [esp + 0x30], 8
jb 0x437c0c
push dword [esp + 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x437c36
push dword [esp + 0x34]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0043bfe6
add esp, 0x50
ret
Function at 0x437c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4405c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], vtable.Intuit::Utilities::LocationPrivilegePolicy_class_Intuit::Utilities::LoggingDataDirectory__class_Intuit::Utilities::StdUser__class_Intuit::Utilities::SharedReadAccess_.0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00434410
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
push esi
cmovae eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne bl
cmp dword [esp + 0x28], 8
jb 0x437d02
push dword [esp + 0x14]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043bfe6
add esp, 0x30
ret

Function at 0x437d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x440df0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ecx
mov word [esp + 0xc], cx
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
push ecx
push eax
call fcn.00435e20
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00435e20
push edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00437e30
add esp, 0x1c
mov esi, eax
cmp dword [esp + 0x20], 8
jb 0x437ddb
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x38], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x437e05
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043bfe6
add esp, 0x40
ret
Function at 0x437e30
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x441fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x68]
xor edi, edi
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], vtable.Intuit::Utilities::LocationPrivilegePolicy_class_Intuit::Utilities::LoggingDataDirectory__class_Intuit::Utilities::Administrator__class_Intuit::Utilities::DeleteAccess_.0
mov dword [esp + 0xc], vtable.Intuit::Utilities::LocationPrivilegePolicy_class_Intuit::Utilities::LoggingDataDirectory__class_Intuit::Utilities::Administrator__class_Intuit::Utilities::WriteAccess_.0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x34]
mov byte [esp + 0x58], 1
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00434410
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00434410
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x34]
cmovae ecx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 8
push ecx
cmovae eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x437f01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [esp + 0x30], 8
jb 0x437f14
push dword [esp + 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x437f3e
push dword [esp + 0x34]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0043bfe6
add esp, 0x50
ret
Function at 0x437f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x440df0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ecx
mov word [esp + 0xc], cx
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
push ecx
push eax
call fcn.00435e20
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00435e20
push edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00438060
add esp, 0x1c
mov esi, eax
cmp dword [esp + 0x20], 8
jb 0x43800b
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x38], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x438035
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043bfe6
add esp, 0x40
ret
Function at 0x438060
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x441fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x68]
xor edi, edi
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], vtable.Intuit::Utilities::LocationPrivilegePolicy_class_Intuit::Utilities::UserDefinedDirectory__class_Intuit::Utilities::StdUser__class_Intuit::Utilities::DeleteAccess_.0
mov dword [esp + 0xc], vtable.Intuit::Utilities::LocationPrivilegePolicy_class_Intuit::Utilities::UserDefinedDirectory__class_Intuit::Utilities::StdUser__class_Intuit::Utilities::WriteAccess_.0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x34]
mov byte [esp + 0x58], 1
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00434410
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00434410
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x34]
cmovae ecx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 8
push ecx
cmovae eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x438131
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [esp + 0x30], 8
jb 0x438144
push dword [esp + 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x43816e
push dword [esp + 0x34]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0043bfe6
add esp, 0x50
ret
Function at 0x4396c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x442268
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x457078]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
push edi
mov eax, dword [0x457078]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x45b360]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x14], 0
test al, 1
jne 0x439747
or eax, 1
mov dword [0x45b35c], 0xf
push 0x443090
mov dword [0x45b360], eax
mov dword [0x45b358], 0
mov byte [0x45b348], 0
call fcn.0043c0e7
add esp, 4
cmp dword [0x45b358], 0
jne 0x439779
push 0x45b348
call fcn.00439bc0
add esp, 4
mov eax, 0x45b348
cmp dword [0x45b35c], 0x10
cmovae eax, dword [0x45b348]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
lea eax, [esp + 0x34]
push 0x45b348
push eax
call fcn.00437860
xor ecx, ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 1
push ecx
push eax
call fcn.00435e20
push 0x45b2c8
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004259b0
add esp, 0x20
mov byte [esp + 0x13], al
cmp dword [esp + 0x2c], 8
jb 0x4397ec
push dword [esp + 0x18]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x78], 0xffffffff
jb 0x439807
push dword [esp + 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x13], 1
je 0x43986a
push esi
lea eax, [esp + 0x1c]
push 0x45b348
push eax
call fcn.00437860
push 0x45b2c8
push 1
push eax
push ebx
mov dword [esp + 0x94], 2
call fcn.00437a10
add esp, 0x1c
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x439855
push dword [esp + 0x18]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
push esi
push 0x45b348
push edi
call fcn.00437860
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0043bfe6
add esp, 0x6c
ret
Function at 0x1004cbfc
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.1004cc3e
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1004cc30
push ebx
call fcn.1009a158
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x1004cc38
mov esp, ebp
pop ebp
ret 8
Function at 0x10092907
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x10092a21
je 0x10092a18
cmp eax, 0x80
jg 0x1009299e
je 0x10092995
cmp eax, 8
jg 0x10092967
je 0x1009295e
cmp eax, 0x80000000
je 0x10092955
cmp eax, 2
je 0x1009294c
cmp eax, 4
jne 0x10092b04
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x1009298c
cmp eax, 0x20
je 0x10092983
cmp eax, 0x40
jne 0x10092b04
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x100929e4
je 0x100929db
cmp eax, 0x100
je 0x100929d2
cmp eax, 0x200
je 0x100929c9
cmp eax, 0x400
jne 0x10092b04
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x10092a0f
cmp eax, 0x2000
je 0x10092a06
cmp eax, 0x4000
jne 0x10092b04
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x10092aad
je 0x10092aa4
cmp eax, 0x80000
jg 0x10092a74
je 0x10092a6b
cmp eax, 0x10000
je 0x10092a62
cmp eax, 0x20000
je 0x10092a59
cmp eax, 0x40000
jne 0x10092b04
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x10092a9b
cmp eax, 0x200000
je 0x10092a92
cmp eax, 0x400000
jne 0x10092b04
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x10092aef
je 0x10092ae6
cmp eax, 0x1000000
je 0x10092add
cmp eax, 0x2000000
je 0x10092ad4
cmp eax, 0x4000000
jne 0x10092b04
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x10092b1c
cmp eax, 0x20000000
je 0x10092b13
cmp eax, 0x40000000
je 0x10092b0a
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4
Function at 0x1009b5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101805c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.10175259
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100a08c0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1009b604
jmp dword [ecx*4 + 0x1009b76c]
mov al, byte [esi]
test al, al
je 0x1009b632
cmp al, 0x20
je 0x1009b61e
cmp al, 0xa1
jne 0x1009b632
cmp byte [esi + 1], al
jne 0x1009b632
test al, 0x80
je 0x1009b62a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1009b632
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1009b611
test ecx, ecx
je case.default.0x1009b604
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1009b604
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1009b678
cmp dl, 0xa1
jne 0x1009b66c
cmp byte [eax + 1], 0xa1
jne 0x1009b66c
test ecx, ecx
jne 0x1009b664
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1009b68c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1009b6a6
jmp 0x1009b68c
cmp dl, 0x20
jne 0x1009b68a
test ecx, ecx
jne 0x1009b683
mov edi, eax
mov ecx, 1
jmp 0x1009b68c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1009b64c
cmp ecx, 1
jne case.default.0x1009b604
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1009b604
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1009b604
mov al, byte [esi]
test al, al
je 0x1009b6fe
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1009b6e4
mov cl, byte [esi + 1]
test cl, cl
je 0x1009b6fe
cmp al, 0xa1
jne 0x1009b6d4
cmp cl, al
je 0x1009b6e1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100a0b50
inc esi
jmp 0x1009b6f6
cmp al, 0x20
je 0x1009b6f6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100a0b90
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1009b6bd
push 0
lea ecx, [esp + 0x14]
call fcn.100a0b90
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100b1020
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1009b731
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x102a45d8
call fcn.100a0ac0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.101751eb
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100a7fc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10180f8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10174f60
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100a8042
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10172688
mov eax, dword [eax]
push 0x10389d28
push eax
call fcn.1013c314
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.101751eb
test bl, bl
je 0x100a8042
push 0x10389d28
lea ecx, [esp + 0xc]
call fcn.1017557b
push 0x10389d34
lea ecx, [esp + 0xc]
call fcn.1017557b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x100a807e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.101751eb
jmp 0x100a8149
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x100a8102
lea edx, [esp + 0x7c]
push 0x10389d30
push edx
call fcn.1013c314
add esp, 8
test eax, eax
je 0x100a8102
lea eax, [esp + 0x7c]
push 0x10389d2c
push eax
call fcn.1013c314
add esp, 8
test eax, eax
je 0x100a8102
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100a8092
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.101751eb
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x100a8970
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100a89d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc