joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4119c0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4681ad
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4119f7
xor al, al
jmp 0x411aa8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp eax, 1
sete byte [ebp - 0x29]
je 0x411a9e
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00410e00
movups xmm0, xmmword [str.cannot_delete_service]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x15
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x46ef5c]
mov dword [eax + 0x10], ecx
mov cl, byte [0x46ef60]
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00411f60
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x411a9e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411a94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411ac2
push ecx
push edx
call fcn.0044781c
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
int3
Function at 0x413c60
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46849d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
jne 0x413d38
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00410e00
movups xmm0, xmmword [str.Service_Control_Manager_have_NULL_handle]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x28
mov dword [ebp - 0x14], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x46eefc]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x46ef0c]
movq qword [eax + 0x20], xmm0
mov byte [eax + 0x28], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00411f60
mov ecx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 0x41], al
cmp ecx, 0x10
jb 0x413e3a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413e2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413e53
jmp 0x413e2d
test eax, eax
jne 0x413d8f
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00410e00
movups xmm0, xmmword [str.Service_have_NULL_handle]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x18
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x46ef28]
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
mov dword [ebp - 4], 1
jmp 0x413cf2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
cmp eax, 1
sete byte [ebp - 0x41]
je 0x413e37
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x40], xmm0
call fcn.00410e00
movups xmm0, xmmword [str.cannot_disable_service]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0x16
mov dword [ebp - 0x2c], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x46ef44]
mov dword [eax + 0x10], ecx
mov cx, word [0x46ef48]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
call fcn.00411f60
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 0x10
jb 0x413e37
mov edx, dword [ebp - 0x40]
inc ecx
jmp 0x413d11
push ecx
push edx
call fcn.0044781c
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
int3
Function at 0x4140d0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468535
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fb60
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
cmp eax, 1
sete byte [ebp - 0x41]
je 0x4141db
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x20
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00410e00
movups xmm0, xmmword [str.Cannot_change_description_text]
mov edx, eax
mov dword [ebp - 0x18], 0x1e
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x46f20c]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x46f214]
mov dword [edx + 0x18], ecx
mov ax, word [0x46f218]
mov word [edx + 0x1c], ax
mov byte [edx + 0x1e], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00411f60
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x4141db
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4141d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41422e
push ecx
push edx
call fcn.0044781c
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x414211
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x414207
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414233
push ecx
push edx
call fcn.0044781c
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
call fcn.0044c8cf
int3
Function at 0x4183a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4183fb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4183fb
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4183ea
cmp esi, edx
jae 0x4183fb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4183d8
cmp esi, edx
jae 0x4183fb
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x41b030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fb60
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41b070
test al, 0x10
je 0x41b070
mov bl, 1
jmp 0x41b072
xor bl, bl
mov ecx, dword [ebp - 8]
cmp ecx, 8
jb 0x41b0a8
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41b09e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b0b9
push ecx
push edx
call fcn.0044781c
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
int3
Function at 0x41b8e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468f85
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.0041b030
add esp, 4
test al, al
je 0x41b922
mov al, 1
jmp 0x41b9bf
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0041fb60
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x41b9b5
call fcn.0042edd0
mov edi, eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fc40
add esp, 4
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x41b972
mov esi, dword [esi]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], 0
push eax
push 0x23
push str.Unable_to_create_directory_:_
push 4
sub esp, 0xc
mov dword [ebp - 0x4c], 0
movq xmm0, qword [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x44], esi
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov ecx, edi
call fcn.00418ec0
lea ecx, [ebp - 0x40]
call fcn.0040fdb0
lea ecx, [ebp - 0x28]
call fcn.0040fe00
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
Function at 0x41be40
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469055
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.std::_Func_impl_no_alloc_class__lambda_fe4053a91f317ba8951ee0680231ef79___void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], vtable.std::_Func_impl_no_alloc_class__lambda_aab8a856497b542f39b11d251a0d6848___void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [ebp - 0x2c], eax
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.0041c000
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
test ecx, ecx
je 0x41bec4
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41bee2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0041fb60
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x41bf97
call fcn.0042edd0
mov esi, eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fc40
add esp, 4
push eax
push edi
push 0x19
push str.Cant_remove_dir_:_
push 4
sub esp, 0xc
mov dword [ebp - 0x84], 0
mov eax, esp
mov dword [ebp - 0x80], 0
movq xmm0, qword [ebp - 0x84]
mov ecx, esi
mov byte [ebp - 4], 3
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00419180
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x41bf97
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41bf8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bfeb
push ecx
push edx
call fcn.0044781c
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41bfcd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41bfc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bff0
push ecx
push edx
call fcn.0044781c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
call fcn.0044c8cf
int3
Function at 0x41d3d0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4691f0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x41d48d
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [ebx]
mov edi, eax
push dword [ebp + 0xc]
mov dword [ebp - 0x44], edx
push dword [ebp + 8]
mov esi, dword [ecx + 0x3c]
mov ecx, ebx
call esi
test al, al
je 0x41d48d
mov ecx, ebx
call fcn.0041cde0
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41d4ad
call fcn.0042edd0
mov edi, eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fc40
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0041c860
push esi
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str.SetEndOfFile_for__failed:_
mov dword [eax + 4], 0x20
call fcn.00418e70
lea ecx, [ebp - 0x28]
call fcn.0040fdb0
lea ecx, [ebp - 0x40]
call fcn.0040fdb0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x44]
push edi
mov eax, dword [eax + 0x3c]
call eax
jmp 0x41d48f
Function at 0x41e290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fb60
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
test eax, eax
setne bl
cmp ecx, 8
jb 0x41e2fe
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e2f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e30f
push ecx
push edx
call fcn.0044781c
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
int3

Function at 0x41e320
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fb60
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 8]
mov ebx, eax
shr ebx, 0xa
and bl, 1
cmp ecx, 8
jb 0x41e391
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e387
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e3a2
push ecx
push edx
call fcn.0044781c
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
int3
Function at 0x41e460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469405
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0041fb60
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test eax, eax
jne 0x41e539
call fcn.0042edd0
mov esi, eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fc40
add esp, 4
push eax
push edi
push 0x1f
push str.Unable_to_remove_file:_:_
push 4
sub esp, 0xc
mov dword [ebp - 0x4c], 0
mov eax, esp
mov dword [ebp - 0x48], 0
movq xmm0, qword [ebp - 0x4c]
mov ecx, esi
mov byte [ebp - 4], 1
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00419180
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x41e539
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e52f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e58d
push ecx
push edx
call fcn.0044781c
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41e56f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e565
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e592
push ecx
push edx
call fcn.0044781c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
call fcn.0044c8cf
int3
Function at 0x41e7a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469440
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
mov dword [ebp - 0x234], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x41e897
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e820
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004174d0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0041fc60
mov ecx, dword [ebp - 0x21c]
add esp, 8
cmp ecx, 8
jb 0x41e8b9
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e88b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e8d5
push ecx
push edx
call fcn.0044781c
add esp, 8
jmp 0x41e8b9
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
int3
Function at 0x421d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46988d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4a3a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004477ec
mov edi, eax
add esp, 4
test edi, edi
je 0x421d9d
push 1
mov dword [ebp - 4], 0
call fcn.004461c8
add esp, 4
mov dword [edi + 4], eax
jmp 0x421d9f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.0041ff40
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x421dfa
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x421dfa
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x421e16
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x421e39
cmp byte [ebp + 0xc], 0
je 0x421e25
push esi
call fcn.004467c8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x421e45
mov esi, str.ios_base::badbit_set
jmp 0x421e55
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00421e80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00420810
push 0x49e9c4
lea eax, [ebp - 0x28]
push eax
call fcn.00448af9
int3
Function at 0x422d00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469975
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4a3a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x422edd
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00422c90
cmp dword [ebp - 0x1c], 0
jne 0x422ece
cmp dword [ebx + 8], 0x15555555
je 0x422ef1
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.004477ec
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x470340]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x470340]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x422e75
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.00452f10
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00447d00
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x422e4e
cmp eax, 0x200
jae 0x422e4c
shl eax, 3
cmp eax, ecx
jae 0x422e4e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00423560
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00422c90
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x422e78
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x422eb0
mov dword [ecx + eax*8], esi
jmp 0x422ec3
cmp dword [ecx + eax*8], edx
jne 0x422eba
mov dword [ecx + eax*8], esi
jmp 0x422ec7
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x422ec7
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x422d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00445ac8
int3