joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b56cd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00408100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
mov esi, 0x811c9dc5
cmova edx, dword [ebp - 0x2c]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x40a4f1
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x40a4e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040bf40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 4

Function at 0x40a870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
je 0x40a89a
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40a884
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x40b260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5230
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40b2e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40b2e7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40b2c7
cmp esi, edx
jae 0x40b2e7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40b2b5
cmp esi, edx
jae 0x40b2e7
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c260
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x4b5b76
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x10], 0
mov word [ebp], ax
lea eax, [ebp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.0040b040
mov ebx, eax
test ebx, ebx
je 0x40c354
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
lea eax, [ebp]
test eax, 0xffff0000
jne 0x40c300
movzx eax, ax
mov ecx, edi
push eax
call fcn.0040b3a0
jmp 0x40c321
lea ecx, [ebp]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c306
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040b720
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0048641a
lea esp, [ebp + 0x20c]
pop ebp
ret
push 0x80004005
call fcn.0040b700
int3

Function at 0x40c790
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push 0
push 0
push dword [esp + 0x18]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
xor ebx, ebx
test edi, edi
jne 0x40c7ba
mov ecx, esi
call fcn.0040b450
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4
js 0x40c81f
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x40c7d7
push edi
mov ecx, esi
call fcn.0040b680
push edi
push dword [esi]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [esi]
test eax, eax
jne 0x40c7ee
xor ecx, ecx
jmp 0x40c800
push dword [eax - 8]
push eax
call fcn.00492682
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40c81f
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40c81f
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov ebx, 1
pop edi
pop esi
mov word [eax + ecx*2], dx
mov eax, ebx
pop ebx
ret 4
push 0x80070057
call fcn.0040b700
int3
Function at 0x40f310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b651f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.004700b5
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x40f3c1
push eax
push esi
call fcn.00470362
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0046f067
int3
Function at 0x41ccd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8f0e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push eax
mov dword [edi + 0x14], 0
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 0x14], 0x27
call fcn.0040bcd0
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [edi + 0x14], ecx
add esp, 8
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 0x10], 0x26
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm0
movq qword [eax + 0x40], xmm0
mov dword [eax + 0x48], 0
mov word [eax + 0x4c], cx
mov dword [ebp - 4], ecx
movzx eax, byte [esi + 0xe]
mov ecx, dword [edi + 0x10]
movzx edx, byte [esi + 0xf]
inc ecx
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x14], eax
movzx eax, byte [esi + 0xd]
mov dword [ebp - 0x1c], eax
movzx eax, byte [esi + 0xc]
mov dword [ebp - 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [ebp - 0x24], eax
movzx eax, byte [esi + 0xa]
mov dword [ebp - 0x28], eax
movzx eax, byte [esi + 9]
mov dword [ebp - 0x2c], eax
movzx eax, byte [esi + 8]
mov dword [ebp - 0x30], eax
mov eax, edi
mov dword [ebp - 0x18], 1
jbe 0x41cdcf
mov eax, dword [edi]
push edx
push dword [ebp - 0x14]
movzx edx, word [esi + 6]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edx
movzx edx, word [esi + 4]
push edx
push dword [esi]
push str._0.8X__0.4X__0.4X__0.2X_0.2X__0.2X_0.2X_0.2X_0.2X_0.2X_0.2X
push ecx
push eax
call fcn.0041d230
add esp, 0x38
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x420160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b97af
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebx + 0x50]
mov dword [ebx], 0x4d8174
call fcn.004213d0
mov dword [ebp - 4], 0
lea edi, [ebx + 4]
push 0
push 0
push edi
mov ecx, ebx
mov dword [ebp - 0x10], 1
call fcn.00421210
mov dword [ebp - 4], 1
mov eax, dword [ebx]
push 8
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x4d817c
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], edi
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00486463
add esp, 4
mov esi, eax
push 1
call fcn.00470264
add esp, 4
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00421e70
mov byte [ebp - 4], 2
mov dword [edi], 0x4d8180
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x4210e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9930
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
lea edi, [esi + 0x3c]
lea ecx, [esi + 0x2c]
lea edx, [esi + 0x1c]
mov dword [ebp - 0x18], ecx
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
je 0x421190
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42113d
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
jmp 0x421151
mov eax, dword [ecx]
mov dword [ebp - 0x14], edx
mov ecx, dword [eax]
mov eax, dword [edx]
mov eax, dword [eax]
lea ecx, [eax + ecx*2]
lea eax, [esi + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42117e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4211e5
mov eax, edx
lea edi, [esi + 0x3c]
lea edx, [esi + 0x20]
mov dword [ebp - 0x10], edx
push ecx
push eax
call fcn.00486428
mov edx, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x18]
jmp 0x421193
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [edx]
mov dword [eax], 0
mov eax, dword [ecx]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [edi], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0048b78f
int3
Function at 0x425370
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x268]
sub esp, 0x268
push 0xffffffffffffffff
push 0x4ba3a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp + 0x264], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov byte [ebp - 0x11], bl
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040c920
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00425300
push 1
push 0x4d81fc
lea ecx, [ebp - 0x18]
call fcn.0040c830
lea ecx, [ebp]
call fcn.00425560
mov byte [ebp - 4], 2
lea ecx, [ebp]
mov esi, dword [ebp - 0x18]
push esi
call fcn.00430de0
or edi, 0xffffffff
test eax, eax
je 0x425507
nop
cmp dword [ebp + 0x25c], 0
je 0x42543b
mov eax, dword [ebp + 4]
shr eax, 4
test eax, 1
je 0x42543b
cmp word [ebp + 0x30], 0x2e
jne 0x42543b
mov ax, word [ebp + 0x32]
test ax, ax
je 0x4254de
cmp ax, 0x2e
jne 0x42543b
cmp word [ebp + 0x34], 0
je 0x4254de
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
call fcn.00431340
mov byte [ebp - 4], 3
cmp dword [ebp + 0x25c], 0
je 0x425488
test byte [ebp + 4], 0x10
je 0x425488
mov dl, bl
lea ecx, [ebp - 0x10]
call fcn.00425370
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x42547e
and eax, 0xfffffffe
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x10]
call fcn.004256f0
jmp 0x4254ae
test bl, bl
je 0x4254ae
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4254a6
and eax, 0xfffffffe
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x10]
call fcn.00425810
mov byte [ebp - 4], 2
mov eax, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4254de
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4c83a0]
mov ecx, ebx
call edi
mov bl, byte [ebp - 0x11]
or edi, 0xffffffff
mov eax, dword [ebp]
test eax, eax
je 0x425507
cmp dword [ebp + 0x25c], 0
je 0x425507
lea ecx, [ebp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp + 0x25c], eax
test eax, eax
jne 0x425400
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00425630
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42553b
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x264]
xor ecx, ebp
call fcn.0048641a
lea esp, [ebp + 0x268]
pop ebp
ret
Function at 0x4256f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba46d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x104
jl 0x4257d9
call fcn.00425a70
test al, al
jne 0x4257d9
call fcn.0040b040
mov ebx, eax
test ebx, ebx
je 0x425805
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, 0x4d3918
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x42577b
movzx eax, ax
push eax
call fcn.0040b3a0
jmp 0x425787
push 4
push 0x4d3918
call fcn.0040b720
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.0040c830
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4257e7
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
jmp 0x4257e7
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
test bl, bl
jne 0x4257f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b700
int3
Function at 0x425810
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba46d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x104
jl 0x4258f9
call fcn.00425a70
test al, al
jne 0x4258f9
call fcn.0040b040
mov ebx, eax
test ebx, ebx
je 0x425925
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, 0x4d3918
lea ecx, [ebp - 0x10]
test eax, 0xffff0000
jne 0x42589b
movzx eax, ax
push eax
call fcn.0040b3a0
jmp 0x4258a7
push 4
push 0x4d3918
call fcn.0040b720
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.0040c830
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425907
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
jmp 0x425907
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x425911
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b700
int3
Function at 0x426270
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba676
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0040b040
mov ebx, eax
test ebx, ebx
je 0x42637c
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x14]
push 0
push 0
mov dword [ebp - 0x10], 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42635e
js 0x426372
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x426313
push esi
mov ecx, edi
call fcn.0040b680
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x426325
push dword [eax - 0xc]
mov ecx, edi
call fcn.0040b520
push esi
push dword [edi]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [edi]
test eax, eax
jne 0x42633a
xor ecx, ecx
jmp 0x42634c
push dword [eax - 8]
push eax
call fcn.00492682
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x426372
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x426372
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
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
push 0x80070057
call fcn.0040b700
push 0x80004005
call fcn.0040b700
int3
Function at 0x42bc90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb3ed
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4f6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x42be30
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004088c0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x42bdec
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 0x10], eax
cmp ebx, esi
jne 0x42bd6f
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x42bddf
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x42bda6
mov eax, dword [eax]
cmp eax, ecx
je 0x42bd9e
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], ecx
jmp 0x42bddf
cmp ebx, eax
je 0x42bdbc
nop word [eax + eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x42be0e
cmp ebx, eax
jne 0x42bdb0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x18]
mov ecx, edx
cmp edx, esi
jne 0x42bd20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
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
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x42bddf
push str.invalid_hash_bucket_count
call fcn.0046f007
int3