joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4127a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a729
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x43c51c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edi
mov dword [edi], vtable.spdlog::pattern_formatter.0
mov dword [edi + 4], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x14], 2
mov ax, word [0x42eb5c]
mov word [edi + 4], ax
mov dword [ebp - 4], 0
mov byte [edi + 6], 0
movups xmm0, xmmword [ebp + 0xc]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movups xmmword [edi + 0x1c], xmm0
mov byte [ebp + 0xc], 0
movq xmm0, qword [ebp + 0x1c]
movq qword [edi + 0x2c], xmm0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov byte [edi + 0x38], 1
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.00411f40
xorps xmm0, xmm0
mov byte [ebp - 4], 4
xor eax, eax
movups xmmword [edi + 0x3c], xmm0
push 0x128
movups xmmword [edi + 0x4c], xmm0
mov dword [edi + 0x5c], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.00427b87
movq xmm0, qword [ebp - 0x20]
mov ecx, eax
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0
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::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x24], 0xfa
lea ecx, [ebp - 0x10]
call fcn.00413df0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x6c]
mov byte [ebp - 4], 6
cmp ecx, dword [edi + 0x70]
je 0x412917
mov dword [ecx], eax
add dword [edi + 0x6c], 4
jmp 0x412931
lea eax, [ebp - 0x10]
push eax
push ecx
lea ecx, [edi + 0x68]
call fcn.004054f0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x412931
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x14]
call fcn.00413df0
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x41296f
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412965
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00427bb7
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
Function at 0x413410
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aa19
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x43c51c]
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 - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], 0
push 2
push ebx
mov dword [ebp - 0x6c], ebx
call sub.MSVCP140.dll__Mtx_init_in_situ
lea eax, [ebx + 0x30]
push eax
call sub.MSVCP140.dll__Cnd_init_in_situ
lea eax, [ebx + 0x58]
push eax
call sub.MSVCP140.dll__Cnd_init_in_situ
add esp, 0x10
push dword [ebp + 8]
lea ecx, [ebx + 0x80]
mov byte [ebp - 4], 4
call fcn.004118e0
lea esi, [ebx + 0x9c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 6
test edi, edi
je 0x4135cb
cmp edi, 0x3e8
ja 0x4135cb
test edi, edi
je 0x413574
nop dword [eax]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4134e6
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
call dword [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp + 0x5c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x413509
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
call dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 0xa
push eax
cmp eax, dword [esi + 8]
je 0x413529
push esi
call fcn.00406140
add esp, 0xc
add dword [esi + 4], 8
jmp 0x413530
mov ecx, esi
call fcn.00405190
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x413553
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x41356b
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
sub edi, 1
jne 0x4134c0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x413593
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x34], 0
mov ecx, dword [ebp + 0x5c]
test ecx, ecx
je 0x4135ab
mov esi, dword [ecx]
lea eax, [ebp + 0x38]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, ebx
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.00427b79
mov esp, ebp
pop ebp
ret 0x58
sub esp, 0x18
mov ecx, esp
push str.spdlog::thread_pool__:_invalid_threads_n_param__valid_range_is_1_1000_
call fcn.00411710
call fcn.00422530
int3
Function at 0x4149b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ab45
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x43c51c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4149e7
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x414a05
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x4149f3
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00405710
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x414ad5
cmp dword [ebx + 8], 0x6666666
je 0x414aec
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00427b87
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
push edi
lea edi, [ecx + 8]
mov ecx, edi
call fcn.00411690
xorps xmm0, xmm0
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x1c], 0
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x42d990]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x42d990]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x414ac6
mov ecx, ebx
call fcn.00416d00
push esi
push edi
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00405710
mov ecx, dword [eax]
jmp 0x414ac9
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.00416ca0
add eax, 0x20
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
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x4167c0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0x10], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x4168fb
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push ebp
push esi
mov esi, dword [ebx + 4]
lea ebp, [ebx + 0xc]
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.00402220
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4168d5
movzx eax, byte [ecx + 8]
mov edi, dword [ebx + 0x18]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul eax, eax, 0x1000193
and edi, eax
mov eax, dword [ebp]
lea ebp, [eax + edi*8]
mov dword [esp + 0x10], ebp
cmp dword [ebp], esi
jne 0x41684e
mov dword [ebp], ecx
mov dword [ebp + 4], ecx
jmp 0x4168c4
mov eax, dword [ebp + 4]
mov bl, byte [ecx + 8]
cmp bl, byte [eax + 8]
mov ebx, dword [ebp]
jne 0x41688b
mov eax, dword [eax]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x416886
mov ebx, dword [ecx + 4]
mov ebp, dword [esp + 0x20]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x10]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov dword [ebp + 4], ecx
jmp 0x4168c4
mov edi, eax
cmp ebx, eax
je 0x4168a5
mov eax, dword [eax + 4]
mov edi, eax
mov bl, byte [ecx + 8]
cmp bl, byte [eax + 8]
mov ebx, dword [ebp]
je 0x4168df
cmp ebx, eax
jne 0x416891
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
mov ebx, dword [esp + 0x18]
mov ecx, edx
lea ebp, [ebx + 0xc]
cmp edx, esi
jne 0x416821
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xc
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4168c4
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x416f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 4], ecx
cmp eax, ebp
je 0x41711c
cmp dword [eax + 0x1c], 0x10
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0xc]
push ebx
mov dword [esp + 0x14], edx
lea ebx, [eax + 8]
mov edx, dword [eax + 4]
push esi
mov dword [esp + 0x2c], edx
mov esi, eax
jb 0x416fcd
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x416ff5
mov ecx, eax
nop
movzx eax, byte [edx + ebx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x416fe0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 0x1c]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00413b80
push 0x28
push edi
call fcn.00427bb7
mov edi, dword [esp + 0x18]
add esp, 8
dec dword [edi + 8]
cmp ebx, dword [esp + 0x24]
je 0x417065
cmp esi, ebp
jne 0x417012
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x2c]
jne 0x417110
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jne 0x41707b
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x41707f
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x417110
nop word [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
jb 0x41709c
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov edx, 0x811c9dc5
test eax, eax
je 0x4170c5
mov edi, eax
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4170b0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x1c]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.00413b80
push 0x28
push edi
call fcn.00427bb7
mov edi, dword [esp + 0x18]
add esp, 8
dec dword [edi + 8]
cmp ebx, dword [esp + 0x24]
je 0x417125
cmp esi, ebp
jne 0x4170e0
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov eax, dword [esp + 0x30]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop ebx
mov eax, ebp
pop ebp
add esp, 0x18
ret 8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, ebp
jne 0x417090
mov eax, dword [esp + 0x30]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
Function at 0x4185c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x120
mov eax, dword [0x43c51c]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
mov ebx, dword [esp + 0x128]
mov eax, ebx
push ebp
push esi
push edi
cmp dword [ebx + 0x14], 0x10
jb 0x4185e9
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41873b
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x418788
xor ebp, ebp
mov esi, 0x42d9a8
mov edx, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x418610
sub esi, ecx
mov dword [esp + 0x10], ebx
cmp dword [ebx + 0x14], 0x10
jb 0x418629
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
test esi, esi
je 0x418688
cmp ebp, edx
jae 0x418688
push 0x100
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x42d9a8
lea edx, [esi + 0x42d9a8]
add esp, 0xc
cmp edx, ecx
je 0x418661
movzx eax, byte [ecx]
inc ecx
mov byte [esp + eax + 0x2c], 1
cmp ecx, edx
jne 0x418654
mov edx, dword [esp + 0x10]
lea ecx, [edx + edi]
lea esi, [edx + ebp]
cmp esi, ecx
jae 0x418688
nop
movzx eax, byte [esi]
cmp byte [esp + eax + 0x2c], 0
jne 0x418681
inc esi
cmp esi, ecx
jb 0x418670
jmp 0x418688
sub esi, edx
cmp esi, 0xffffffff
jne 0x41868a
mov esi, edi
cmp edi, esi
mov dword [esp + 0x14], 0
mov eax, esi
mov dword [esp + 0x24], 0
cmovb eax, edi
mov dword [esp + 0x28], 0xf
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x4186b3
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004175f0
cmp dword [esp + 0x24], 0
je 0x4186fb
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4186fb
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
test eax, eax
jne 0x418756
mov edx, dword [esp + 0x28]
lea ebp, [esi + 1]
cmp edx, 0x10
jb 0x418730
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418726
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41878c
push edx
push ecx
call fcn.00427bb7
add esp, 8
mov edi, dword [ebx + 0x10]
cmp ebp, edi
jb 0x418606
mov al, 1
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00427b79
add esp, 0x120
ret
mov edx, dword [esp + 0x28]
cmp edx, 0x10
jb 0x418788
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41877e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41878c
push edx
push ecx
call fcn.00427bb7
add esp, 8
xor al, al
jmp 0x41873d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x419240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
sub esp, 8
cmp dword [edx + 0x14], 0x10
push ebp
push esi
push edi
mov ebp, ecx
mov esi, edx
jb 0x419256
mov esi, dword [edx]
push ebx
mov ebx, dword [edx + 0x10]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x419276
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x419265
push edi
push edx
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00405710
pop ebx
mov esi, dword [eax + 4]
test esi, esi
je 0x4192ed
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4192b4
cmp eax, esi
jne 0x4192ac
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4192bc
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4192bc
cmp eax, esi
jne 0x4192bc
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [ebp + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
call fcn.00413b80
push 0x28
push esi
call fcn.00427bb7
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 8
ret 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 4
Function at 0x420a70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b8cd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x43c51c]
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, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
add eax, 8
mov dword [ebp - 4], 0
push eax
call fcn.00411690
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x28]
xor ecx, ecx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x420ae1
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x420ad0
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 0x90]
call fcn.00405710
mov eax, dword [eax + 4]
test eax, eax
jne 0x420b02
mov eax, dword [esi + 0x94]
cmp eax, dword [esi + 0x94]
lea eax, [ebp - 0x28]
push eax
jne 0x420bea
lea ecx, [esi + 0x90]
call fcn.004149b0
mov ecx, dword [ebp + 8]
or edi, 0xffffffff
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov esi, dword [eax + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
test esi, esi
je 0x420b5f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x420b5f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x420b5f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x420b95
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420b8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x420b8b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00427bb7
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 0x420bcc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x420bcc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x420bcc
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.00427b79
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x40]
push str.logger_with_name_
push eax
call fcn.00404c80
sub esp, 0xc
mov byte [ebp - 4], 2
mov ecx, esp
push str._already_exists
push eax
push ecx
call fcn.00404ba0
add esp, 0xc
call fcn.00422530
int3
Function at 0x421970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb36
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x43c51c]
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, ecx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], 0
mov dword [ebp - method.fmt::v8::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xfa
mov ecx, dword [edi + 8]
lea esi, [ebp - 0x11c]
push esi
push edx
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [edi + 0x5c]
mov esi, dword [ebp - 0x114]
add ebx, esi
cmp ebx, dword [edi + 0x54]
jbe 0x421a1f
lea ecx, [edi + 0x60]
call fcn.00419610
lea ecx, [edi + 0x60]
call fcn.00421e10
test eax, eax
je 0x421a19
mov ecx, edi
call fcn.00420fa0
mov esi, dword [ebp - 0x114]
mov ebx, esi
jmp 0x421a1f
mov esi, dword [ebp - 0x114]
push dword [edi + 0x68]
push esi
push 1
push dword [ebp - 0x118]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x421aa3
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x10c]
mov dword [edi + 0x5c], ebx
mov dword [ebp - method.fmt::v8::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp ecx, eax
je 0x421a85
mov edx, dword [ebp - 0x110]
mov eax, ecx
cmp edx, 0x1000
jb 0x421a7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x421a7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00427bb7
add esp, 8
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.00427b79
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + 0x6c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004194b0
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 1
push str.Failed_writing_to_file
push eax
call fcn.00404c10
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
push esi
call fcn.00422500
int3
Function at 0x428ea0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x428eca
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.00428fbe
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
jle 0x428f6b
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.00428fbe
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jl 0x428f10
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.00422d60
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
jle 0x428fa9
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x428fa9
push ecx
call fcn.00428fc7
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jl 0x428f91
push ebp
call fcn.00428fc7
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219