joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d8b0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x514
mov eax, ecx
mov ecx, dword [0x54c03c]
lea esi, [ebp - 0x2b4]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, esi
mov dword [ebp - 0x520], edx
push edx
push 3
push 0
push eax
call fcn.004620e0
lea eax, [ebp - 0x2cc]
mov ecx, esi
push eax
call fcn.00462230
cmp dword [ebp - 0x2bc], 0
je 0x43da28
lea ebx, [ebp - 0x51c]
lea eax, [ebp - 0x2b4]
xor edi, edi
nop dword [eax + eax]
mov ecx, eax
push ebx
call fcn.004621b0
mov eax, dword [ebp - 0x51c]
test al, 1
je 0x43d959
cmp byte [ebp + 8], 0
jne 0x43d939
mov ecx, ebx
call fcn.00461ea0
test al, al
jne 0x43d959
mov eax, dword [ebp - 0x51c]
and eax, 0xfffffffe
cmp dword [ebp - 0x2b8], 7
lea ecx, [ebp - 0x2cc]
jbe 0x43d951
mov ecx, dword [ebp - 0x2cc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, ebx
call fcn.00461ea0
test al, al
je 0x43d9b0
xor esi, esi
cmp byte [ebp + 8], 0
je 0x43d9e8
mov edx, dword [ebp - 0x520]
lea ecx, [ebp - 0x2cc]
push 1
call fcn.0043d8b0
add esp, 4
mov esi, eax
test eax, eax
jne 0x43d9e8
cmp dword [ebp - 0x2b8], 7
lea eax, [ebp - 0x2cc]
jbe 0x43d99d
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov esi, 0
jne 0x43d9e8
jmp 0x43d9d2
cmp dword [ebp - 0x2b8], 7
lea eax, [ebp - 0x2cc]
jbe 0x43d9c5
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
jne 0x43d9e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or eax, 1
mov ecx, 0
cmp eax, 3
cmove esi, ecx
test edi, edi
mov ecx, ebx
cmovne esi, edi
call fcn.00404440
lea edi, [ebp - 0x2b4]
mov ecx, edi
push ebx
call fcn.00462230
lea ecx, [ebp - 0x2cc]
push ebx
call fcn.0040ffd0
mov ecx, ebx
call fcn.0040fef0
cmp dword [ebp - 0x2bc], 0
mov eax, edi
mov edi, esi
jne 0x43d910
jmp 0x43da2a
xor esi, esi
lea ecx, [ebp - 0x2cc]
call fcn.0040fef0
lea ecx, [ebp - 0x2b4]
call fcn.00462110
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, esi
add esp, 0x514
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44edc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.004d4a10
mov eax, dword [0x54c03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x54c070]
cmp eax, 0xffffffff
je 0x44ef20
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x44ef20
cmp esi, 1
jne 0x44ee0b
mov eax, dword [0x54c070]
push 0
push eax
jmp 0x44ef18
lea edi, [ebp - 0x810]
push 0x800
push esi
push edi
call fcn.004d9f90
add esp, 0xc
mov eax, dword [0x54c070]
push edi
mov dword [ebp - 0x1414], eax
push eax
call fcn.00469f10
add esp, 8
push esi
call fcn.004d45c3
add esp, 4
mov eax, dword [0x5512d0]
mov ecx, dword [0x54fa0c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44ef35
mov esi, dword [0x5512cc]
mov ecx, esi
call fcn.00430c50
lea eax, [ebp - 0x1410]
push 0xc00
push 0x5506cc
push eax
call fcn.004d9f90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
nop word cs:[eax + eax]
nop dword [eax]
test al, 1
je 0x44ef10
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x44ef00
cmp dword [ebp + ebx - 0x810], 0
je 0x44ef00
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x44ef00
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x44ef00
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
nop word cs:[eax + eax]
nop
add edi, 8
add ebx, 0xc
jne 0x44eec0
cmp esi, 2
lea esi, [esi - 1]
jae 0x44eea0
push 1
push dword [ebp - 0x1414]
call fcn.00469f10
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5512d0
call fcn.004d4600
add esp, 4
mov eax, dword [0x5512d0]
cmp eax, 0xffffffff
jne 0x44ee5f
push 4
call fcn.004d4554
add esp, 4
mov ecx, eax
mov esi, eax
call fcn.00430c40
mov dword [0x5512cc], esi
push 0x5512d0
call fcn.004d4652
add esp, 4
jmp 0x44ee5f
Function at 0x44ef80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [0x54c03c]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xb8], eax
mov eax, dword [0x54c070]
cmp eax, 0xffffffff
je 0x44efb4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x44efb9
call fcn.0044f140
mov eax, dword [0x5512d0]
mov ecx, dword [0x54fa0c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44f0f5
mov edi, dword [0x5512cc]
mov ecx, edi
call fcn.00430c50
mov eax, dword [0x5506c8]
xor ecx, ecx
inc eax
nop
lea edx, [eax + ecx]
movzx edx, dl
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x5506cc], 0
je 0x44f00e
inc ecx
cmp ecx, 0xff
jbe 0x44eff0
jmp 0x44f03e
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x5506cc]
mov dword [0x5506c8], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x5506d0], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x5506d4]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
mov dword [esp + 8], 0xffffffff
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x44f090
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kInvalidSlotValue
push eax
push ecx
call fcn.00415f80
add esp, 0xc
test eax, eax
je 0x44f090
lea edi, [esp + 8]
mov ecx, edi
push eax
push 0x159
push str..._.._base_threading_thread_local_storage.cc
call fcn.00414e60
mov ecx, edi
call fcn.00413fc0
mov eax, dword [esi]
mov dword [esp + 8], 0x100
cmp eax, 0xff
mov dword [esp + 4], eax
jle 0x44f0dd
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kThreadLocalStorageSize
push eax
push ecx
call fcn.00415f80
add esp, 0xc
test eax, eax
je 0x44f0dd
lea esi, [esp + 8]
mov ecx, esi
push eax
push 0x15a
push str..._.._base_threading_thread_local_storage.cc
call fcn.00414e60
mov ecx, esi
call fcn.00413fc0
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.004d45c8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x5512d0
call fcn.004d4600
add esp, 4
mov eax, dword [0x5512d0]
cmp eax, 0xffffffff
jne 0x44efda
push 4
call fcn.004d4554
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.00430c40
mov dword [0x5512cc], edi
push 0x5512d0
call fcn.004d4652
add esp, 4
jmp 0x44efda
Function at 0x44f140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x810
mov eax, dword [0x54c03c]
xor eax, ebp
mov dword [esp + 0x80c], eax
mov eax, dword [0x54c070]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x44f211
lea edi, [esp + 4]
push edi
call fcn.00469ee0
add esp, 4
test al, al
jne 0x44f1a0
lea esi, [esp + 8]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0x99
push str..._.._base_threading_thread_local_storage.cc
call fcn.00413e80
mov ecx, esi
call fcn.00413fc0
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
jne 0x44f1ec
push edi
call fcn.00469ee0
add esp, 4
test al, al
je 0x44f1bd
cmp dword [esp + 4], 0xffffffff
jne 0x44f1de
lea esi, [esp + 8]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0xa3
push str..._.._base_threading_thread_local_storage.cc
call fcn.00413e80
mov ecx, esi
call fcn.00413fc0
push 0xffffffffffffffff
call fcn.00469f00
add esp, 4
mov ecx, dword [esp + 4]
mov eax, 0xffffffff
lock cmpxchg dword [0x54c070], ecx
mov eax, dword [esp + 4]
je 0x44f211
push eax
call fcn.00469f00
add esp, 4
mov eax, dword [0x54c070]
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov dword [esp + 8], eax
je 0x44f258
lea eax, [esp + 8]
push str.PlatformThreadLocalStorage::GetTLSValue_key___kUninitialized
push 0x503dc8
push eax
call fcn.0041bcd0
add esp, 0xc
test eax, eax
je 0x44f258
lea esi, [esp + 8]
mov ecx, esi
push eax
push 0xb5
push str..._.._base_threading_thread_local_storage.cc
call fcn.00414e60
mov ecx, esi
call fcn.00413fc0
lea edi, [esp + 8]
push 0x800
push 0
push edi
call fcn.004daa90
add esp, 0xc
push edi
push dword [esp + 8]
call fcn.00469f10
add esp, 8
push 0x800
call fcn.004d45ba
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.004d9f90
add esp, 0xc
push esi
push dword [esp + 8]
call fcn.00469f10
add esp, 8
mov ecx, dword [esp + 0x80c]
xor ecx, ebp
call fcn.004d45c8
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x453450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
jbe 0x453467
mov ebx, dword [ebx]
test edx, edx
mov eax, 0x811c9dc5
mov dword [ebp - 0x10], edx
je 0x45348f
mov esi, ebx
nop word cs:[eax + eax]
nop
movzx edi, byte [esi]
inc esi
xor edi, eax
imul eax, edi, 0x1000193
dec edx
jne 0x453480
and eax, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4534c7
jmp 0x4534f0
mov edi, dword [edi]
cmp dword [ebp - 0x1c], esi
je 0x4534f0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
cmp eax, edi
je 0x45358a
cmp dword [edi + 0x18], ecx
jne 0x4534c0
cmp dword [edi + 0x1c], 0xf
jbe 0x453500
mov eax, dword [edi + 8]
jmp 0x453503
mov eax, esi
cmp eax, edi
jne 0x4534da
jmp 0x45358a
lea eax, [edi + 8]
push ecx
push ebx
push eax
call fcn.004d836d
mov ecx, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
jne 0x4534c0
mov dword [ebp - 0x20], ebx
mov ebx, edi
cmp dword [ebp - 0x1c], esi
jne 0x453537
jmp 0x453580
mov ebx, dword [ebx]
cmp dword [ebp - 0x1c], esi
je 0x453580
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
cmp eax, ebx
je 0x453586
cmp ecx, dword [ebx + 0x18]
jne 0x453586
cmp dword [ebx + 0x1c], 0xf
jbe 0x453560
mov eax, dword [ebx + 8]
jmp 0x453563
lea eax, [ebx + 8]
push ecx
push eax
push dword [ebp - 0x20]
call fcn.004d836d
mov ecx, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x453530
jmp 0x453586
mov eax, esi
cmp eax, ebx
jne 0x453546
cmp edi, ebx
jne 0x45358e
mov edi, esi
mov ebx, esi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [eax + 4], ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x455f2d
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 5
jmp fcn.00455f3b

Function at 0x455f3b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x54c03c]
mov edi, edx
lea esi, [ebp - 0x218]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov word [esi], 0
push esi
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x455fb3
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x234], edi
je 0x455f8f
xor ebx, ebx
cmp word [ebp + ebx*2 - 0x216], 0
lea ebx, [ebx + 1]
jne 0x455f81
lea edi, [ebp - 0x230]
mov ecx, edi
push ebx
push esi
call fcn.0040fe40
mov ecx, dword [ebp - 0x234]
push edi
call fcn.0040ffd0
mov ecx, edi
call fcn.0040fef0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4560fe
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0xd
jmp fcn.00455f3b

Function at 0x45610c
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0x27
jmp fcn.00455f3b

Function at 0x45611a
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0xe
jmp fcn.00455f3b
Function at 0x462eb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x54c03c]
mov ebx, ecx
lea esi, [ebp - 0x28]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], edx
push edx
push ecx
push esi
call fcn.004205a0
add esp, 0xc
cmp dword [ebp - 0x14], 7
jbe 0x462edf
mov esi, dword [ebp - 0x28]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp ecx, 8
jb 0x462f27
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x462f1d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4630ab
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.004d4589
add esp, 8
test edi, edi
je 0x462fcd
cmp dword [ebp + 8], 0
mov dword [ebp - 0x2c], ebx
mov bl, 1
je 0x463097
mov eax, edi
mov ecx, 0xffffffff
add eax, edi
cmovae ecx, eax
push ecx
call fcn.004d45ba
add esp, 4
mov esi, eax
lea ebx, [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push ebx
call fcn.004205a0
add esp, 0xc
cmp dword [ebp - 0x14], 7
jbe 0x462f70
mov ebx, dword [ebp - 0x28]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x14]
mov bl, 1
cmp ecx, 8
jb 0x462fb6
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x462fac
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4630ab
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.004d4589
add esp, 8
cmp word [esi], 0
je 0x462fd4
xor eax, eax
nop
cmp word [esi + eax*2 + 2], 0
lea eax, [eax + 1]
jne 0x462fc0
jmp 0x462fd6
xor ebx, ebx
jmp 0x463097
xor eax, eax
lea edi, [ebp - 0x28]
push eax
push esi
push edi
call fcn.004209d0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
cmp edi, ecx
je 0x463056
cmp eax, 0x10
jb 0x463025
mov ecx, dword [ecx]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x463018
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4630ab
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.004d4589
add esp, 8
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x18]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x20]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x463087
cmp eax, 0x10
jb 0x463087
mov ecx, dword [ebp - 0x28]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x46307d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4630ab
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.004d4589
add esp, 8
mov dword [ebp - 0x14], 0xf
push esi
call fcn.004d45c3
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004e40e0
Function at 0x463590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x54c03c]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0x20], eax
mov edi, dword [ecx + 0x40]
test edi, edi
jne 0x463659
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x48
call fcn.004d4554
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.00463440
mov ecx, ebx
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x10]
push eax
call fcn.004644f0
mov edi, dword [esi + 0x40]
mov dword [esi + 0x40], ebx
test edi, edi
je 0x463620
mov ecx, edi
call fcn.004645e0
push edi
call fcn.004d4584
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x463656
mov ecx, dword [esp + 8]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x46364c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x46366e
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.004d4589
add esp, 8
mov edi, dword [esi + 0x40]
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.004d45c8
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004e40e0
int3

Function at 0x469f70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
js 0x469f7d
jmp 0x48d030
xor eax, eax
ret
push ebp
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
je 0x48d115
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x48d115
mov esi, edx
mov eax, edx
shr esi, 2
je 0x48d098
and eax, 0xfffffffc
inc esi
mov ebx, ecx
mov dword [esp], eax
mov eax, edx
nop word cs:[eax + eax]
nop dword [eax]
movzx edi, word [ebx]
dec esi
add edi, eax
movzx eax, word [ebx + 2]
add ebx, 4
mov ebp, edi
shl ebp, 0x10
xor ebp, edi
shl eax, 0xb
xor ebp, eax
mov eax, ebp
shr eax, 0xb
add eax, ebp
cmp esi, 1
jg 0x48d070
add ecx, dword [esp]
and dl, 3
cmp dl, 1
je 0x48d0c4
cmp dl, 2
je 0x48d0d6
cmp dl, 3
jne 0x48d0e9
movzx edx, word [ecx]
movsx ecx, byte [ecx + 2]
add eax, edx
shl ecx, 0x12
xor ecx, eax
shl eax, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 0xb
jmp 0x48d0e7
movsx ecx, byte [ecx]
add eax, ecx
mov ecx, eax
shl ecx, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
jmp 0x48d0e7
movzx ecx, word [ecx]
add eax, ecx
mov ecx, eax
shl ecx, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add eax, ecx
lea ecx, [eax*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add eax, ecx
mov ecx, eax
shl ecx, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x473b66
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
mov esi, dword [eax]
push esi
call fcn.004eabc0
add esp, 4
test eax, eax
je 0x473b98
mov ecx, 0x811c9dc5
movzx edx, byte [esi]
inc esi
xor edx, ecx
imul ecx, edx, 0x1000193
dec eax
jne 0x473b81
and ecx, 0x7fffffff
jmp 0x473b9d
mov ecx, 0x11c9dc5
push 0x1f31d
push ecx
call fcn.004e983b
add esp, 8
imul ecx, edx, 0x41a7
imul edx, eax, 0xfffff4ec
lea eax, [ecx + edx + 0x7fffffff]
add ecx, edx
cmovns eax, ecx
pop esi
pop ebp
ret 4
Function at 0x47a3c5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [0x54c03c]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xd0], eax
mov eax, ecx
cmp dword [ecx + 0x14], 7
jbe 0x47a3ee
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x47a4b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47a42c
mov ecx, esi
call fcn.0047a4c9
mov ecx, dword [esp + 0xd0]
mov ebx, eax
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
jmp 0x47a4c1
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x47a4af
call sub.KERNEL32.dll_GetLastError
mov ecx, esp
push eax
push 2
push 0x239
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00415cc0
lea eax, [esp + 0x10]
push str.CreateDirectory
push eax
call fcn.004015c0
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 7
jbe 0x47a472
mov esi, dword [esi]
lea edi, [esp + 0xb8]
push eax
push esi
push edi
call fcn.004209d0
add esp, 0xc
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x47a496
mov ecx, dword [esp + 0xb8]
push eax
push ecx
push ebx
call fcn.00402d73
add esp, 0xc
mov ecx, edi
call fcn.00401b04
mov ecx, esp
call fcn.00415de0
xor ebx, ebx
mov ecx, dword [esp + 0xd0]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x47a4c9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [0x54c03c]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xd0], eax
mov eax, ecx
cmp dword [ecx + 0x14], 7
jbe 0x47a4f2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47a5a0
mov bl, 1
test al, 0x10
jne 0x47a625
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x47a623
mov ecx, esp
push 2
push 0x227
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.004149d0
lea eax, [esp + 8]
push str.GetFileAttributes
push eax
call fcn.004015c0
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 7
jbe 0x47a550
mov esi, dword [esi]
lea edi, [esp + 0xb8]
push eax
push esi
push edi
call fcn.004209d0
add esp, 0xc
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x47a574
mov ecx, dword [esp + 0xb8]
push eax
push ecx
push ebx
call fcn.00402d73
add esp, 0xc
push str.:_not_a_directory
push eax
call fcn.004015c0
add esp, 8
mov ecx, edi
call fcn.00401b04
mov ecx, esp
call fcn.00413fc0
jmp 0x47a623
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x47a623
call sub.KERNEL32.dll_GetLastError
mov ecx, esp
push eax
push 2
push 0x223
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00415cc0
lea eax, [esp + 0x10]
push str.GetFileAttributes
push eax
call fcn.004015c0
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 7
jbe 0x47a5e6
mov esi, dword [esi]
lea edi, [esp + 0xb8]
push eax
push esi
push edi
call fcn.004209d0
add esp, 0xc
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x47a60a
mov ecx, dword [esp + 0xb8]
push eax
push ecx
push ebx
call fcn.00402d73
add esp, 0xc
mov ecx, edi
call fcn.00401b04
mov ecx, esp
call fcn.00415de0
xor ebx, ebx
mov ecx, dword [esp + 0xd0]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x47c794
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 0x60]
cmp eax, edx
jne 0x47c7a6
cmp dword [ecx + 0x24], 7
jbe 0x47c7b3
mov ecx, dword [ecx + 0x10]
jmp fcn.0047c7b6
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2 + 1]
ret
add ecx, 0x10
Function at 0x481b80
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x54c03c]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0x2c], 0
je 0x481c8f
lea edi, [ebp - 0x5c]
lea edx, [esi + 0x24]
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push 2
call fcn.00481caf
add esp, 8
mov edx, dword [edi]
test edx, edx
je 0x481c96
cmp dword [edx], 0
mov dword [ebp - 0x68], esi
je 0x481c82
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
lea eax, [eax + 0x18]
mov dword [ebp - 0x6c], eax
xor eax, eax
test dword [edx + eax*8 + 8], 0xc0000020
mov dword [ebp - 0x64], eax
jne 0x481c76
cmp dword [ebp + 8], 0
je 0x481c36
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [eax + 4], ecx
je 0x481c36
xor ebx, ebx
xor edi, edi
mov eax, dword [ebp - 0x64]
add ecx, ebx
mov esi, dword [edx + eax*8 + 4]
call fcn.00482480
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov edx, dword [ebp - 0x60]
test eax, eax
jne 0x481c76
mov eax, dword [ebp + 8]
inc edi
add ebx, 0x44
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xf0f0f0f1
cmp edi, eax
jb 0x481bfe
mov eax, dword [ebp - 0x64]
lea edi, [ebp - 0x54]
mov ecx, edi
push dword [edx + eax*8 + 4]
call fcn.004821c4
mov esi, dword [ebp - 0x68]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
cmp edx, eax
je 0x481c69
mov ebx, 0x44
push ebx
push edi
push eax
call fcn.004d9f90
add esp, 0xc
add dword [esi + 0x1c], ebx
jmp 0x481c73
mov ecx, dword [ebp - 0x6c]
push edi
push edx
call fcn.0045c1ce
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
inc eax
cmp eax, dword [edx]
jb 0x481bd9
push edx
call fcn.004d45c3
add esp, 4
xor esi, esi
jmp 0x481c99
mov esi, 0x3f0
jmp 0x481c99
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 4