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

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 0x44d4ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x463064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov cl, byte [ebx + 0xc]
mov eax, dword [ebx + 8]
mov byte [ebp - 0x75], cl
mov ecx, dword [edi + 8]
mov dword [ebp - 0x7c], eax
test ecx, ecx
je 0x416f56
push ecx
call fcn.00434798
mov eax, dword [ebp - 0x7c]
add esp, 4
mov dword [edi + 8], 0
lea edx, [edi + 0xc]
cmp edx, eax
je 0x416f75
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x416f67
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.0041e1c0
mov eax, dword [ebp - 0x7c]
cmp byte [ebp - 0x75], 0
mov ecx, 0x45ba9c
mov edx, 0x45baa4
mov dword [ebp - 0x80], 0
cmove ecx, edx
cmp dword [edi], 0
mov dword [ebp - 0x84], ecx
jle 0x4170b8
nop dword [eax]
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404890
mov ecx, esi
call fcn.00416c00
add esp, 0x18
call fcn.004169c0
mov esi, dword [ebp - 0x84]
xorps xmm0, xmm0
mov eax, esi
mov dword [ebp - 0x1c], 0
add esp, 0x18
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416fe2
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push esi
call fcn.00406280
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov eax, ecx
cmovae edx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 8
jb 0x417013
mov eax, dword [ecx]
push 0x40
push edx
push eax
call fcn.004386d0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov esi, eax
mov dword [edi + 8], esi
cmp ecx, 8
jb 0x41705e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417054
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417105
push ecx
push edx
call fcn.0042f0de
add esp, 8
test esi, esi
jne 0x41707e
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp eax, dword [edi]
jge 0x4170b8
mov eax, dword [ebp - 0x7c]
jmp 0x416fa0
cmp byte [ebp - 0x75], 0
je 0x417098
push dword [edi + 8]
push 3
push 1
push 0x45a90c
call fcn.00436a49
add esp, 0x10
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.0042f096
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00436b1a
lea edx, [edi + 0xc]
lea ecx, [ebp - 0x44]
mov esi, dword [eax]
call fcn.00416760
push eax
mov edx, str.Failed_opening_file
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0041e500
add esp, 4
push str._for_writing
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00405cb0
add esp, 4
mov edx, esi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00416630
call fcn.00437fc6
int3
Function at 0x417b90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d599
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x463064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.spdlog::pattern_formatter.0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 2
mov dword [edi + 0x18], 0xf
mov ax, word [0x45bc40]
mov word [edi + 4], ax
mov byte [edi + 6], 0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
movups xmm0, xmmword [ebp + 0xc]
mov dword [edi + 0x30], 0
mov byte [ebp + 0xc], 0
movups xmmword [edi + 0x1c], xmm0
movq xmm0, qword [ebp + 0x1c]
movq qword [edi + 0x2c], xmm0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov dword [edi + 0x34], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 3
call fcn.0041dc80
mov byte [ebp - 4], 4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x38], xmm0
push 0x128
movups xmmword [edi + 0x48], xmm0
mov dword [edi + 0x58], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.0042f0a9
mov ecx, eax
add esp, 4
mov dword [ebp - 0x10], ecx
movq xmm0, qword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movq qword [ecx + 4], xmm0
mov dword [ecx + 0xc], eax
lea eax, [ecx + 0x28]
mov dword [ecx], vtable.spdlog::details::full_formatter.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x18], vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x24], 0xfa
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x70]
je 0x417ceb
mov dword [eax], ecx
add dword [edi + 0x6c], 4
jmp 0x417d05
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [edi + 0x68]
call fcn.00425ae0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x417d05
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x417d35
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417d2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d4a
push ecx
push edx
call fcn.0042f0de
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00437fc6
int3
Function at 0x4193d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d8fd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x463064]
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 dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.00404a90
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x18]
cmovae esi, dword [ebp - 0x28]
xor ecx, ecx
test edi, edi
je 0x419444
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x419433
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebx + 0x90]
call fcn.00425500
mov eax, dword [eax + 4]
test eax, eax
jne 0x419465
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx + 0x94]
lea eax, [ebp - 0x28]
push eax
jne 0x419555
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebx + 0x90]
call fcn.00420c70
mov ecx, dword [ebp + 0xc]
or edi, 0xffffffff
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov esi, dword [edx + 0x24]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
test esi, esi
je 0x4194cc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4194cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4194cc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x419500
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4194f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41957a
push ecx
push edx
call fcn.0042f0de
add esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x419537
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x419537
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x419537
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.0042f096
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x40]
call fcn.0041e4b0
sub esp, 0x14
mov byte [ebp - 4], 2
mov ecx, esp
mov edx, eax
push str._already_exists
call fcn.00405cb0
add esp, 4
call fcn.00416670
call fcn.00437fc6
int3
Function at 0x420c70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e185
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x463064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 0xc]
mov ebx, edx
cmp dword [edx + 0x14], 0x10
jb 0x420caa
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x420cc8
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x420cb6
push edi
push edx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00425500
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x420cf9
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [esi + 8], 0x6666666
je 0x420e62
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x24], 0
call fcn.0042f0a9
add esp, 4
mov ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.00404a90
xorps xmm0, xmm0
movq qword [ebx + 0x20], xmm0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebx + 0x24], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x45c330]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45c330]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x420e02
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.0044b6d0
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0044c510
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x420de6
cmp eax, 0x200
jae 0x420de4
shl eax, 3
cmp eax, ecx
jae 0x420de6
mov eax, ecx
push eax
mov ecx, esi
call fcn.00424980
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00425500
mov edx, dword [eax]
jmp 0x420e05
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x420e2f
mov dword [ecx + eax*8], ebx
jmp 0x420e41
cmp esi, edx
jne 0x420e38
mov dword [ecx + eax*8], ebx
jmp 0x420e45
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x420e45
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
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.0042de35
int3
Function at 0x424980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x10], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x424aed
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp + 8], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0041e340
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x424ac8
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
jb 0x424a01
mov edx, dword [ecx]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x424a2a
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x424a13
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x424a46
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x424abe
mov ebx, dword [ecx + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.00405de0
test al, al
je 0x424a7e
mov ebx, dword [ebx]
cmp ebx, esi
je 0x424a76
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x424abb
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x424a9e
mov ebx, dword [ebx + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.00405de0
test al, al
jne 0x424ad1
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x424a85
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov esi, edi
cmp edi, eax
jne 0x4249e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x424abb
push str.invalid_hash_bucket_count
call fcn.0042de35
int3
Function at 0x424b00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x424c36
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0041e340
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x424c09
mov bl, byte [eax + 8]
mov ecx, dword [ecx]
movzx edx, bl
xor edx, 0x811c9dc5
imul edi, edx, 0x1000193
mov edx, dword [ebp - 8]
and edi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 4], edx
cmp edi, esi
jne 0x424b92
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x424bff
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
jne 0x424bc9
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x424bc1
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x424bff
cmp edi, edx
je 0x424bdc
nop dword [eax]
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
je 0x424c12
cmp edi, edx
jne 0x424bd0
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
jne 0x424b62
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x424bff
push str.invalid_hash_bucket_count
call fcn.0042de35
int3
Function at 0x426260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e496
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x463064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], 0
mov dword [ebp - fcn.00409090], vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xfa
mov dword [ebp - 4], 0
lea esi, [ebp - 0x11c]
mov ecx, dword [edi + 8]
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0x18]
mov esi, dword [ebp - 0x114]
push esi
push 1
push dword [ebp - 0x118]
call fcn.00436a49
add esp, 0x10
cmp eax, esi
jne 0x426352
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x10c]
mov dword [ebp - fcn.00409090], vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp ecx, eax
je 0x426335
mov edx, dword [ebp - 0x110]
mov eax, ecx
cmp edx, 0x1000
jb 0x42632b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42638c
push edx
push ecx
call fcn.0042f0de
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f096
mov esp, ebp
pop ebp
ret 4
call fcn.00436b1a
lea edx, [edi + 0x1c]
lea ecx, [ebp - 0x134]
mov esi, dword [eax]
call fcn.00416760
push eax
mov edx, str.Failed_writing_to_file
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.0041e500
add esp, 4
mov edx, esi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00416630
call fcn.00437fc6
int3

Function at 0x42fe85
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42fec4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42fec4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42fec4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42fec4
cmp dword [ecx + 0x74], 0xe
jbe 0x42fec4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x440491
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00440310

Function at 0x446422
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004460e2

Function at 0x44bf80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44bfad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44bfad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405a50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [0x49c3bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi + 0x24]
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
push dword [edi + 0x28]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.0046d70d
add esp, 0x10
cmp eax, esi
jne 0x405ac0
cmp ebx, 1
je 0x405a69
cmp ebx, 2
mov esi, 0xffffffff
je 0x405ac3
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.0046d2d4
add esp, 4
neg eax
sbb esi, esi
jmp 0x405ac3
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x405ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x405b04
push dword [ecx + 0x20]
push esi
push 1
push eax
call fcn.0046d70d
add esp, 0x14
jmp 0x405b31
test esi, esi
jle 0x405b2a
xor edi, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov ebx, eax
movzx eax, byte [eax + edi]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp eax, 0xffffffff
je 0x405b2c
inc edi
mov eax, ebx
cmp edi, esi
jl 0x405b0d
jmp 0x405b2c
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x405b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x49c3bc]
mov ebx, dword [ebp + 8]
xor eax, ebp
cmp ebx, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x405c00
mov byte [ebp - 0x19], bl
mov esi, ecx
cmp byte [ecx + 0x2c], 0
je 0x405b87
xor edi, edi
lea eax, [ebp - 0x19]
inc edi
push dword [esi + 0x20]
push edi
push edi
push eax
call fcn.0046d70d
add esp, 0x10
cmp eax, edi
je 0x405c00
jmp 0x405c0a
lea ebx, [ebp - 0x19]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push ebx
push dword [esi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], ebx
je 0x405c0a
mov edi, eax
cmp eax, 3
je 0x405be8
cmp edi, 1
ja 0x405c0a
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub ebx, eax
push dword [esi + 0x20]
push ebx
push 1
push eax
call fcn.0046d70d
add esp, 0x10
cmp eax, ebx
jne 0x405c0a
mov ebx, dword [ebp - 0x24]
cmp edi, 1
je 0x405b92
jmp 0x405bfd
xor edi, edi
inc edi
push dword [esi + 0x20]
push edi
push edi
push ebx
call fcn.0046d70d
add esp, 0x10
cmp eax, edi
jne 0x405c0a
mov ebx, dword [ebp + 8]
xor esi, esi
cmp ebx, 0xffffffff
cmovne esi, ebx
jmp 0x405c0d
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4