joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4070c4
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x407109
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
je 0x4070f8
cmp eax, dword [ebp + 0x10]
jle 0x407192
mov dword [0x410f60], 8
xor eax, eax
jmp 0x4071fd
cmp dword [0x4122cc], 1
jne 0x40714e
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x407192
xor eax, eax
jmp 0x4071fd
call sub.KERNEL32.DLL_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x40718e
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.DLL_GetFullPathNameA
jmp 0x407192
xor eax, eax
jmp 0x4071fd
lea edx, [ebp - 0x10c]
push edx
call fcn.0040512c
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x4071b2
mov dword [0x410f60], 0x22
xor eax, eax
jmp 0x4071fd
test edi, edi
jne 0x4071d4
mov edx, dword [ebp + 0x10]
push edx
call fcn.00404260
pop ecx
mov edi, eax
test eax, eax
jne 0x4071d4
mov dword [0x410f60], 8
xor eax, eax
jmp 0x4071fd
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b028
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x40b08a
call fcn.0040afd8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0040512c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0040512c
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x40b0e8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x410f68], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x40b1c2
cmp dword [0x410f64], 0
jne 0x40b1c2
cmp dword [0x4111ac], 0
je 0x40b17c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0040aed8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40b162
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0040aed8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x40b162
lea ebx, [ebp - 0x84]
jmp 0x40b163
inc ebx
call fcn.0040b0a4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x40b1fd
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x410f6c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0040512c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x410f6f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x40b1fd
cmp dword [0x410f64], 0
je 0x40b1dc
cmp dword [0x410f64], 0xffffffff
je 0x40b1fd
push esi
call dword [0x410f64]
pop ecx
mov eax, dword [0x410f68]
test eax, eax
je 0x40b1fd
cmp dword [0x410f68], 0xffffffff
je 0x40b1fd
cmp byte [eax], 0
je 0x40b1fd
push esi
push eax
call fcn.0040b028
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c1a4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4122e4], 0
jne 0x40c225
cmp dword [0x412304], 0
jne 0x40c1d4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x412304], eax
test eax, eax
jne 0x40c1d4
push str.GetEnvironmentStrings_failed
call fcn.0040b214
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x412304]
jmp 0x40c1e8
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0040512c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c1e0
lea edi, [ebp + 1]
push edi
call fcn.00404260
pop ecx
mov ebx, eax
mov dword [0x4122e8], ebx
test ebx, ebx
jne 0x40c212
xor eax, eax
jmp 0x40c2e8
push edi
mov edx, dword [0x412304]
push edx
push ebx
call fcn.00404fdc
add esp, 0xc
jmp 0x40c245
xor esi, esi
mov ebx, dword [0x4122e4]
jmp 0x40c23f
push eax
call fcn.0040512c
pop ecx
test eax, eax
jne 0x40c23b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c22f
lea ebx, [esi + 4]
push 4
mov dword [0x4122ec], ebx
inc ebx
push ebx
call fcn.00404060
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40c268
xor eax, eax
jmp 0x40c2e8
cmp dword [0x4122e4], 0
jne 0x40c299
xor esi, esi
mov ebx, dword [0x4122e8]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40c28a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0040512c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c280
jmp 0x40c2ca
xor esi, esi
mov ebx, dword [0x4122e4]
mov eax, dword [esp]
mov edi, eax
jmp 0x40c2c4
push eax
call fcn.0040512c
pop ecx
test eax, eax
je 0x40c2b9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40c2bd
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c2a8
mov eax, dword [0x4122e4]
test eax, eax
je 0x40c2da
push eax
call fcn.00404270
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4122e4], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4157e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fc05
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x42800c]
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 - 0x18], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x1c], ebx
push eax
mov dword [ebx], vtable.std::_Associated_state_bool_.0
mov dword [ebx + 4], 1
call dword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void__]
lea eax, [ebx + 0x14]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [ebx + 0x44]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
mov byte [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov word [ebx + 0x74], 0
mov byte [ebx + 0x76], 0
mov dword [ebx + 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.std::_Packaged_state_bool____cdecl___void__.0
sub ebx, 0xffffff80
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x24], 0
push 0x38
mov byte [ebp - 4], 1
call fcn.0041d8bc
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea esi, [edi + 4]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [edi], vtable.std::_Func_impl_no_alloc_class_std::_Fake_no_copy_callable_adapter_class__void___cdecl_functional::memory::scan_for_cheats_class_sachecker::menu___class_process__::_6::_lambda_1____bool___.0
mov dword [ebp - 0x24], esi
call fcn.004128c0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov byte [ebp - 4], 3
push ecx
lea ecx, [esi + 0x18]
call fcn.004128c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x30], ecx
mov dword [ebx + 0x24], 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 4
Function at 0x4166d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [ebp - 8], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 4], ecx
cmp ecx, edx
je 0x416754
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x416754
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0xc0f02b48
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x41674d
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x416730
cmp esi, 0x5e84690d
je 0x416758
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x416715
mov eax, dword [eax]
jmp 0x4166f0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
mov esi, dword [ebp + 8]
push esi
push 0
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
push 0x1fffff
call eax
test eax, eax
jne 0x41679f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], 0x428030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [ecx], esi
pop esi
mov dword [ecx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4167b0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 8], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 4], ecx
cmp ecx, edx
je 0x416844
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x416844
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x93c6fa0d
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x41683d
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x416820
cmp esi, 0xdec0426d
je 0x416848
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x416805
mov eax, dword [eax]
jmp 0x4167e0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
push 0
push dword [ebp + 0x10]
mov eax, dword [esi + 0x24]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
push dword [ebp - 0x14]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
test eax, eax
jne 0x416894
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
xor al, al
mov dword [ecx + 4], 0x428030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4168a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x42800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push ebx
mov eax, dword [eax + 0xc]
push esi
push edi
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x14], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x10], ecx
cmp ecx, edx
je 0x416944
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x416944
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0xebe74b1a
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x41693d
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x416920
cmp esi, 0x4ce6d508
je 0x416948
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x416905
mov eax, dword [eax]
jmp 0x4168e0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
add eax, edx
push ecx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call eax
test eax, eax
jne 0x4169a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], 0x428030
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416d50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fe3d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x42800c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
push 0x104
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0041d8bc
add esp, 4
mov dword [ebp - 0x20], eax
lea esi, [eax + 0x104]
push 0x104
push 0
push eax
mov dword [ebp - 0x18], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x30], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, edx
je 0x416e54
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x416e54
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x2b28b1de
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x416e4d
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x416e30
cmp esi, 0x6e74322e
je 0x416e58
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x416e15
mov eax, dword [eax]
jmp 0x416df0
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
push 0x104
push dword [ebp - 0x20]
mov eax, dword [esi + 0x24]
push 0
push dword [ebp - 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov edx, dword [ebp - 0x20]
mov ecx, edx
mov edi, dword [ebp - 0x28]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416e90
sub ecx, esi
push ecx
push edx
call fcn.0041d259
mov edx, eax
mov ecx, edi
call fcn.00416430
mov edx, dword [ebp - 0x20]
add esp, 8
test edx, edx
je 0x416ee2
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x416ed8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x416ed8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041dc57
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret 4
Function at 0x4178f0
Capabilities:
Execute command
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ffd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x42800c]
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 dword [ebp - 0x14], edi
mov ebx, dword [ebp + 8]
sub esp, 0xc
mov dword [ebp - 0x1c], edi
mov ecx, esp
mov dword [edi], ebx
call fcn.00417790
push ebx
lea ecx, [edi + 4]
call fcn.00417290
push 0x4e3
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push str.SAChecker__kichiro
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.0041ccc0
call fcn.004189f0
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402530
call fcn.00401340
push ecx
call fcn.00417a10
lea ecx, [ebp - 0x18]
push ecx
push ecx
push eax
push ebx
call fcn.00417ae0
test al, al
jne 0x417a05
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop dword [eax]
push 0x421e8c
call esi
add esp, 4
call fcn.004189f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x421e90
call fcn.004136e0
push 0x4138c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_36m
call fcn.004136e0
mov edx, 0x421eb4
mov ecx, eax
call fcn.004136e0
mov edx, str.e_0m
mov ecx, eax
call fcn.004136e0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.00418090
push ecx
call fcn.00417a10
lea ecx, [ebp - 0x18]
push ecx
push ecx
push eax
push ebx
call fcn.00417ae0
test al, al
je 0x417990
mov ecx, edi
call fcn.00417c00
int3
Function at 0x417c00
Capabilities:
Execute command
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42003d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
call fcn.0041cd10
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x417c76
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edi, eax
test edi, edi
je 0x417c76
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x80
push edi
call esi
push dword [ebp - 0x2c]
push 0
push 0x80
push edi
call esi
mov edi, dword [ebp - 0x30]
nop dword [eax]
push 0x421e8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea ecx, [edi + 4]
call fcn.00418610
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_36m
call fcn.004136e0
mov edx, 0x421eb4
mov ecx, eax
call fcn.004136e0
mov edx, str.e_0m
mov ecx, eax
call fcn.004136e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0xa
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004183a0
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [edi + 4]
push eax
call fcn.004186c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x417c80
mov eax, dword [ebp - 0x28]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x417d41
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x417d50
push edx
push eax
call fcn.0041dc57
add esp, 8
jmp 0x417c80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x41b960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, 0x1fffffff
mov esi, 1
push edi
mov edi, ecx
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0x10], edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x41b991
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov ebx, dword [edi + 4]
or eax, 1
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0041adc0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edi, dword [edi + 4]
mov edi, dword [edi]
cmp edi, ebx
je 0x41bab1
mov esi, edi
nop word [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
mov edi, dword [edi]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
jb 0x41b9e7
mov ebx, dword [esi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x18], ecx
jbe 0x41ba0a
mov edi, dword [ebp - 4]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x41b9f6
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, edx
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [eax], ecx
jne 0x41ba29
mov dword [eax], esi
mov dword [eax + 4], esi
jmp 0x41baa6
mov ebx, dword [eax + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.00418c30
test al, al
je 0x41ba61
mov ebx, dword [ebx]
cmp ebx, esi
je 0x41ba59
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 0x41baa6
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x41ba89
nop dword [eax + eax]
mov ebx, dword [ebx + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.00418c30
test al, al
jne 0x41baba
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x41ba70
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 esi, edi
cmp edi, dword [ebp - 8]
jne 0x41b9d0
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 0x41baa6