joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d5d3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040804b
mov dword [ebp - 0x14], eax
cmp dword [0x47c09c], esi
jne 0x40d6c6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d653
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d7a6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d7a6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d7a6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x47c09c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x47c0a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x47c0a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47c0ac], eax
test eax, eax
je 0x40d6c3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47c0a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6eb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6de
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d700
push 4
pop eax
jmp 0x40d7a8
cmp dword [ebp - 0x14], esi
je 0x40d700
push dword [0x47c09c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6e5
mov eax, dword [0x47c0a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d75e
cmp dword [0x47c0ac], edi
je 0x40d75e
push eax
call ebx
push dword [0x47c0ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d75e
test eax, eax
je 0x40d75e
call ecx
test eax, eax
je 0x40d753
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d753
test byte [ebp - 8], 1
jne 0x40d75e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d78e
mov eax, dword [0x47c0a0]
cmp eax, edi
je 0x40d78b
push eax
call ebx
test eax, eax
je 0x40d78b
call eax
mov esi, eax
test esi, esi
je 0x40d78b
mov eax, dword [0x47c0a4]
cmp eax, edi
je 0x40d78b
push eax
call ebx
test eax, eax
je 0x40d78b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x47c09c]
call ebx
test eax, eax
je 0x40d7a6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d7a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040400d
mov esp, ebp
pop ebp
ret
Function at 0x100038c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x153c
call fcn.1008c5b0
mov eax, dword [0x101120a8]
xor eax, esp
mov dword [esp + 0x1538], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x114
push ebx
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], esi
call fcn.1008da10
add esp, 0xc
mov dword [esp + 0x18], 0x114
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x28], 2
jne 0x1000392e
mov ecx, esi
call fcn.10003270
jmp 0x10003a4f
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x10003a4b
push 0x100
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x1000396a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nERROR:_Could_not_SetPriorityClass__LastError:__d_n
call fcn.10002ff0
add esp, 8
push 0x100c
lea eax, [esp + 0x134]
push 0
push eax
call fcn.1008da10
add esp, 0xc
push 0
push 0x4000000
push 0
push 0
push 0
push 0
push str..IDE21201.VXD
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100039c7
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x13c]
push eax
push 0
push 0
push 1
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea edi, [esp + 0x13c]
cmp byte [esp + esi + 0x134], 0
je 0x10003a1c
mov eax, esi
shr eax, 1
cmp byte [esp + eax + 0x130], 0
je 0x10003a1c
xor eax, eax
mov edx, edi
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov dword [esp + eax*4 + 0x1140], ecx
inc eax
cmp eax, 0x100
jl 0x100039f0
lea eax, [esp + 0x1140]
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.100036f0
mov ebx, 1
inc esi
add edi, 0x200
cmp esi, 8
jb 0x100039d0
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0xa
jl 0x10003938
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x214]
mov eax, 0x4bda12f7
sub ecx, dword [esi + 0x210]
imul ecx
mov ecx, dword [esp + 0x1544]
sar edx, 7
pop edi
pop esi
mov eax, edx
shr eax, 0x1f
pop ebx
xor ecx, esp
add eax, edx
call fcn.1008bffe
mov esp, ebp
pop ebp
ret
Function at 0x10003a90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push ebx
lea ebx, [eax + 0x210]
mov dword [ebp - 0xc], eax
push esi
mov esi, dword [ebx]
push edi
mov dword [ebp - 0x10], ebx
cmp esi, dword [eax + 0x214]
je 0x10003b8d
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add ecx, 0xa8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
nop dword [eax]
push ecx
call ebx
push 0x100eea04
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x100eea04
call ebx
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x28]
push eax
call ebx
push 0x100eea04
call ebx
push dword [ebp - 4]
call ebx
push 0x100eea04
call ebx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x10003b26
test cl, cl
je 0x10003b22
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x10003b26
add eax, 2
add edi, 2
test cl, cl
jne 0x10003b06
xor eax, eax
jmp 0x10003b2b
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 4]
test eax, eax
jne 0x10003b69
mov edx, dword [ebp + 8]
mov ecx, edi
lea eax, [edx + 0x28]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10003b60
test dl, dl
je 0x10003b5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10003b60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10003b40
xor eax, eax
jmp 0x10003b65
sbb eax, eax
or eax, 1
test eax, eax
je 0x10003be2
mov eax, dword [ebp - 0xc]
add esi, 0x1b0
mov ecx, dword [ebp - 8]
add edi, 0x1b0
mov dword [ebp - 4], edi
cmp esi, dword [eax + 0x214]
jne 0x10003ad0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
lea ecx, [esi + 0xa8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003ba0
sub ecx, edx
je 0x10003be2
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x10003bce
mov edi, eax
mov ecx, 0x6c
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x1b0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push eax
mov ecx, ebx
call fcn.10003bf0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100084c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ceddb
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x101120a8]
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 dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10008500
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x10008515
or eax, 0xffffffff
jmp 0x100086a0
push 8
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push 0xb
push esi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1000853a
mov eax, 0xfffffffe
jmp 0x100086a0
lea eax, [ebp - 0x1c]
push eax
call fcn.1009f9f8
mov edi, eax
add esp, 4
test edi, edi
je 0x1000869b
cmp edi, 0xfde8
je 0x1000869b
cmp edi, 0xfde9
je 0x1000869b
movzx eax, di
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1000869b
push 0x40
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.1008da10
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.1008da10
mov eax, 0x814
add esp, 0x18
xorps xmm0, xmm0
cmp si, ax
movups xmmword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x6c]
jne 0x100085e1
push str.Norwegian_Nynorsk
push 0x40
push eax
call fcn.1009fb96
add esp, 0xc
push 0x40
lea eax, [ebp - 0xac]
push eax
push 0x1002
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x100085fe
mov eax, 0xfffffffb
jmp 0x100086a0
push 0x40
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x100085be
mov eax, 0xfffffffc
jmp 0x100086a0
push 0xa
push 0x10
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.100971a6
push 0x400
lea eax, [ebp - 0x4ac]
push 0
push eax
call fcn.1008da10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x6c]
push eax
push str._s__s._s_n
lea eax, [ebp - 0x4ac]
push 0x3fc
push eax
call fcn.10003ed0
add esp, 0x30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4ac]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.100044f0
push eax
lea eax, [ebp - 0x4b4]
mov byte [ebp - 4], 1
push eax
call fcn.100b9508
add esp, 8
lea ecx, [ebp - 0x4b4]
call fcn.100045e0
lea ecx, [ebp - 0x4bc]
call fcn.100045e0
xor eax, eax
jmp 0x100086a0
mov eax, 0xfffffffd
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.1008bffe
mov esp, ebp
pop ebp
ret
Function at 0x100091c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf087
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x830]
push eax
mov dword [ebp - 0x834], esi
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_fix_to_path_slash_void_
push 0x802
lea eax, [ebp - 0x814]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1008da10
add esp, 0xc
lea ecx, [ebp - 0x814]
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [esi], vtable.LString.0
lea edx, [esi + 4]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
test eax, eax
je 0x10009298
xor eax, eax
mov word [edx], ax
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 1
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009280
sub ecx, edi
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
jmp 0x100092c5
xor eax, eax
mov word [edx], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x82c]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp edx, eax
je 0x100092cd
cmp dword [ebp - 0x818], 8
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
mov ecx, edx
call fcn.10002b70
lea ecx, [ebp - 0x830]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, esi
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.1008bffe
mov esp, ebp
pop ebp
ret 4

Function at 0x100151e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d02e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101120a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
lea eax, [esi + 0xc]
push eax
call fcn.100119f0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x24]
mov eax, dword [esi + 0x24]
mov dword [ecx], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 4], eax
movzx eax, byte [esi + 0x2c]
mov byte [ecx + 8], al
lea eax, [esi + 0x30]
mov dword [ebp + 8], ecx
add ecx, 0xc
push eax
call fcn.100119f0
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
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 4
Function at 0x10016800
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov byte [esi + 0x14], al
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x20]
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x20]
setne bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, dword [ebp - 4]
mov byte [esi + 0x15], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.1008bffe
mov esp, ebp
pop ebp
ret 4

Function at 0x10016870
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
lea eax, [ecx + 0x18]
je 0x100168a6
push eax
mov byte [ecx + 0x15], 1
call sym.XNewLookSch.dll_int___cdecl_LFile::touch_class_LString_const__
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret 4
mov byte [ecx + 0x15], 0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x20]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret 4
Function at 0x10019d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0d48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101120a8]
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
cmp dword [ebx + 0x38], 0
je 0x10019ea9
cmp byte [ebx + 0x3d], 0
je 0x10019ea9
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10019dc4
xor al, al
jmp 0x10019eab
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.100187a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
nop dword [eax]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10019e1f
sub eax, 1
je 0x10019e23
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x10019e79
xor bl, bl
jmp 0x10019e7b
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x10019e5b
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.100a04c8
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x10019e1b
cmp byte [ebx + 0x3d], 0
je 0x10019e79
test esi, esi
jne 0x10019de0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10019ce0
jmp 0x10019dd7
mov bl, 1
cmp edx, 0x10
jb 0x10019ea5
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x10019e9b
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x10019ec7
push edx
push eax
call fcn.1008bfe4
add esp, 8
mov al, bl
jmp 0x10019eab
mov al, 1
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.1008bffe
mov esp, ebp
pop ebp
ret
call fcn.10092486
int3
Function at 0x1001a160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0da0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101120a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1008bfb4
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100b9835
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push 0
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.10019ed0
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 4
Function at 0x1001e480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1770
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
push 0
push eax
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x414], 0
call fcn.1008da10
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [esi], vtable.LString.0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001e520
sub eax, edi
lea ecx, [esi + 4]
sar eax, 1
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.10002b70
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x414], 1
call sym.XNewLookSch.dll_public:_class_LString____thiscall_LString::dir_fit_bool_
mov eax, esi
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.1008bffe
mov esp, ebp
pop ebp
ret
Function at 0x1001e580
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf800
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 7
mov dword [ebp - 0x2c], vtable.LString.0
xor esi, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], si
mov dword [ebp - 4], esi
add eax, 4
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea esi, [ebp - 0x28]
cmp esi, eax
je 0x1001e5f6
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1001e5e4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10002b70
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
test edx, edx
je 0x1001e669
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movzx eax, word [eax + edx*2 - 2]
cmp eax, 0x5c
je 0x1001e669
cmp eax, 0x2f
je 0x1001e669
mov eax, ecx
sub eax, edx
cmp eax, 1
jb 0x1001e64e
cmp ecx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, dword [ebp - 0x28]
lea edi, [edx + 1]
push 0x100ee8cc
mov dword [ebp - 0x18], edi
lea eax, [esi + edx*2]
push eax
call fcn.1008e280
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1001e666
push 1
push 0x100ee8cc
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push 1
call fcn.100129e0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
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.1008bffe
mov esp, ebp
pop ebp
ret