joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003d70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010eb0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10018008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [0x10018264]
mov eax, edi
mov ebx, dword [0x10018934]
cmp ebx, edi
cmovg eax, ebx
cmp eax, 1
jl 0x10003dd3
push str.load
push 0x6c
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModIniFileIniFile.h
push 1
call fcn.1000ca20
mov ebx, dword [0x10018934]
add esp, 0x10
mov edi, dword [0x10018264]
mov dword [ebp - 4], 0
mov ecx, 0x100189b8
cmp dword [0x100189cc], 0x10
mov edx, dword [0x100189c8]
cmovae ecx, dword [0x100189b8]
test edx, edx
jne 0x10003e62
mov esi, 0x1001256e
sub edx, 4
jb 0x10003e12
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10003e17
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10003e01
cmp edx, 0xfffffffc
je 0x10003e4b
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10003e44
cmp edx, 0xfffffffd
je 0x10003e4b
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10003e44
cmp edx, 0xfffffffe
je 0x10003e4b
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10003e44
cmp edx, 0xffffffff
je 0x10003e4b
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x10003e4b
sbb eax, eax
or eax, 1
jmp 0x10003e4d
xor eax, eax
test eax, eax
jne 0x10003e62
call fcn.10003f50
mov ebx, dword [0x10018934]
mov edi, dword [0x10018264]
cmp ebx, edi
cmovg edi, ebx
cmp edi, 1
jl 0x10003e85
push str.isIniFileExist
push 0xd1
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModIniFileIniFile.h
push 1
call fcn.1000ca20
add esp, 0x10
cmp dword [0x100189cc], 0x10
mov eax, 0x100189b8
cmovae eax, dword [0x100189b8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10003ef2
mov ecx, dword [0x10018264]
cmp dword [0x10018934], ecx
cmovg ecx, dword [0x10018934]
cmp ecx, 0xffffffff
jl 0x10003ed1
push str.load:_Ini_file_does_not_exist__creating_ini_file_with_default_values...
push 0x79
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModIniFileIniFile.h
push 0xffffffffffffffff
call fcn.1000ca20
add esp, 0x10
mov dword [0x100189d0], 3
call fcn.10004cb0
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.100046d0
test al, al
jne 0x10003f07
mov dword [0x100189d0], 5
jmp 0x10003edb
cmp dword [0x100189e0], 0
jne 0x10003f15
call fcn.10004cb0
mov dword [0x100189d0], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100071b0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10018008]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
jne 0x1000723e
mov dword [0x10018904], eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x10013bc8
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1001894c], eax
cmp eax, 0x1f
jbe 0x10007225
push 0x10013bd8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10018948], eax
push 0
push 0
push dword [0x10018904]
push 0x10006bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100075d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x100075fc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10007624
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1000762a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x10007692
jg 0x10007641
test esi, esi
je 0x10007692
test ecx, ecx
jl 0x1000768d
jg 0x1000764b
test eax, eax
je 0x1000768d
cmp edi, ecx
jg 0x1000765f
jl 0x10007655
cmp esi, eax
jae 0x1000765f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10007695
mov ecx, dword [ebp + 8]
jmp 0x1000769f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x100076b9
jg 0x1000769f
test esi, esi
je 0x100076b9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100076b9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100076d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x100076fc
jl 0x100076f0
test ecx, ecx
jne 0x100076fc
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10007715
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1000775d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x10007763
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x10007763
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x100077d6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000778c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x100077c4
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100077d6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x100077a0
test edi, edi
je 0x100077d6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10018008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10007b80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10007bbc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10007bbc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10007c93
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10007be4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10007bf0
movsx eax, bl
jmp 0x10007c28
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10007c52
sub eax, 1
je 0x10007c52
sub eax, 2
jne 0x10007c93
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10007c70
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10007c93
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret 4
Function at 0x10008300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10018008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100083bc
cmp byte [esi + 0x3d], 0
je 0x100083bc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100083aa
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10008371
sub eax, 1
je 0x10008375
sub eax, 2
jne 0x100083aa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10008393
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100083aa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret
Function at 0x1000a9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10018008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x40c], ebx
push esi
mov esi, edx
push edi
test ebx, ebx
je 0x1000aad8
test esi, esi
je 0x1000aad8
xor edi, edi
cmp byte [esi], 0
je 0x1000aa15
lea ebx, [ebp - 0x408]
sub ebx, esi
nop
cmp edi, 0x400
jae 0x1000aa0f
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [ebx + esi], al
add esp, 4
inc esi
inc edi
cmp byte [esi], 0
jne 0x1000a9f0
mov ebx, dword [ebp - 0x40c]
lea ecx, [ebp - 0x408]
mov byte [ebp + edi - 0x408], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000aa26
sub ecx, edx
xor esi, esi
xor edx, edx
test ecx, ecx
je 0x1000aa5c
nop word [eax + eax]
movsx eax, byte [ebp + esi - 0x408]
inc esi
add eax, edx
imul edx, eax, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
cmp esi, ecx
jb 0x1000aa40
lea ecx, [edx + edx*8]
xor esi, esi
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul edx, eax, 0x8001
mov dword [ebp - 0x40c], edx
cmp dword [ebx + 4], esi
jbe 0x1000aad8
mov eax, dword [ebx + 0xc]
nop dword [eax]
lea edi, [esi*4]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x1000aad2
mov eax, dword [ebx + 0x10]
cmp edx, dword [edi + eax]
jne 0x1000aacf
lea eax, [ebp - 0x408]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000aac0
test dl, dl
je 0x1000aabc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000aac0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000aaa0
xor eax, eax
jmp 0x1000aac5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000aaec
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebx + 0xc]
inc esi
cmp esi, dword [ebx + 4]
jb 0x1000aa80
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x1000aad8
test ecx, ecx
mov eax, str._null_
pop edi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f6dd
mov esp, ebp
pop ebp
ret
Function at 0x1000b9e0
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
test ecx, ecx
je 0x1000bbbc
cmp byte [ecx], 0
je 0x1000bbbc
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov ebx, eax
lea ecx, [ebx + 1]
push 0x2f
push ecx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x1000ba51
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
nop dword [eax + eax]
push ebx
mov byte [esi], 0
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
cmp eax, 0xffffffff
jne 0x1000ba39
call edi
cmp dword [eax], 0x11
jne 0x1000ba61
lea eax, [esi + 1]
mov byte [esi], 0x2f
push 0x2f
push eax
call dword [sym.imp.VCRUNTIME140.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000ba20
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x10018264]
mov eax, ecx
mov edx, dword [0x10018934]
cmp edx, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1000ba9f
push ebx
push str.Failed_to_create_directory__s
push 0x303
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModLoguruloguru.cpp
push 0xfffffffffffffffe
call fcn.1000ca20
mov edx, dword [0x10018934]
add esp, 0x14
mov ecx, dword [0x10018264]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1000bad7
call edi
cmp dword [eax], 0xd
jne 0x1000bacb
push str.EACCES
push 0x304
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModLoguruloguru.cpp
push 0xfffffffffffffffe
call fcn.1000ca20
add esp, 0x10
mov ecx, dword [0x10018264]
mov edx, dword [0x10018934]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1000bb0f
call edi
cmp dword [eax], 0x26
jne 0x1000bb03
push str.ENAMETOOLONG
push 0x305
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModLoguruloguru.cpp
push 0xfffffffffffffffe
call fcn.1000ca20
add esp, 0x10
mov ecx, dword [0x10018264]
mov edx, dword [0x10018934]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1000bb47
call edi
cmp dword [eax], 2
jne 0x1000bb3b
push str.ENOENT
push 0x306
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModLoguruloguru.cpp
push 0xfffffffffffffffe
call fcn.1000ca20
add esp, 0x10
mov ecx, dword [0x10018264]
mov edx, dword [0x10018934]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1000bb7f
call edi
cmp dword [eax], 0x14
jne 0x1000bb73
push str.ENOTDIR
push 0x307
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModLoguruloguru.cpp
push 0xfffffffffffffffe
call fcn.1000ca20
add esp, 0x10
mov ecx, dword [0x10018264]
mov edx, dword [0x10018934]
cmp edx, ecx
cmovg ecx, edx
cmp ecx, 0xfffffffe
jl 0x1000bba9
call edi
cmp dword [eax], 0x72
jne 0x1000bba9
push str.ELOOP
push 0x308
push str.C:UsersTOTOMAN2_source_reposStalker_COP_Qols_ModLoguruloguru.cpp
push 0xfffffffffffffffe
call fcn.1000ca20
add esp, 0x10
push ebx
mov byte [esi], 0x2f
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
ret
sub esp, 8
call fcn.1000ccf0
int3
Function at 0x1000e59c
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10018008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x1000e6a7
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000e6a0
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x1000e664
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1000e664
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1000e664
mov edx, dword [esi]
test edx, edx
jne 0x1000e62d
push 0x200
push edx
push dword [0x1001896c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1000e689
lea ebx, [esi + 8]
jmp 0x1000e657
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x1000e657
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x1001896c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1000e6b8
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000e5e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000e6a0
xor edi, edi
cmp dword [esi], edi
je 0x1000e6a0
push dword [esi]
push edi
push dword [0x1001896c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f6dd
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x1000e689

Function at 0x1000e6bd
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.1000e59c
test eax, eax
jne 0x1000e6e1
push 9
pop esi
jmp 0x1000e728
cmp dword [edi], esi
je 0x1000e728
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x1000e727
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x1000e721
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.1000e449
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x1000e6ed
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x1000e72e
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1000e77a
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1000e769
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1000e762
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1000e73f
pop ebx
push dword [esi]
push 0
push dword [0x1001896c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret

Function at 0x1000e77c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
imul esi, ecx, 0x2c
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
add esi, dword [0x10018ea0]
mov dword [ebp - 8], esi
mov al, byte [esi + 0x14]
mov ebx, dword [esi]
and al, 1
je 0x1000e7a2
sub ebx, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000e7c9
push 0xa
pop eax
jmp 0x1000e849
test edi, edi
je 0x1000e7ea
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x1000e809
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1000e809
test byte [esi + 0x14], 1
je 0x1000e7fe
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x1000e809
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp - 0x10]
mov cl, dl
add cl, cl
shl dl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor dl, cl
and dl, 4
xor dl, cl
xor eax, eax
mov byte [esi + 0x14], dl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000edd5
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x10018e94]
push esi
xor esi, esi
jmp 0x1000ede7
cmp dword [edx + 4], esi
jne 0x1000ee3b
mov edx, dword [edx]
test edx, edx
jne 0x1000ede0
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x1000ee37
push edi
push 0x20
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop edi
mov dword [ecx], esi
mov eax, ecx
mov dword [edx + 4], ecx
add edi, 0x20
add ecx, 0x20
mov esi, eax
cmp edi, 0xfe0
jbe 0x1000ee0e
mov eax, dword [0x10018e94]
mov dword [edx], eax
mov dword [0x10018e94], edx
pop edi
test edx, edx
jne 0x1000ee3b
xor eax, eax
pop esi
ret
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
Function at 0x1000f446
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1000f422
pop esi
leave
ret 8