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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100989d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.TiXmlComment.0
cmp byte [edi], 0
jne 0x10018f85
xor ecx, ecx
jmp 0x10018f99
mov ecx, edi
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018f90
sub ecx, ebx
push ecx
push edi
lea ecx, [esi + 0x20]
call fcn.10008870
mov eax, esi
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 0x10019030
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100989d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 4
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.TiXmlText.0
cmp byte [edi], 0
jne 0x100190c5
xor ecx, ecx
jmp 0x100190d9
mov ecx, edi
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100190d0
sub ecx, ebx
push ecx
push edi
lea ecx, [esi + 0x20]
call fcn.10008870
mov byte [esi + 0x40], 0
mov eax, esi
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 0x100191d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100989d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 4
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
lea edx, [ebx + 0x20]
mov dword [esi], vtable.TiXmlText.0
cmp dword [edx + 0x14], 0x10
jb 0x10019267
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x10019270
xor ecx, ecx
jmp 0x10019282
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019278
sub ecx, dword [ebp + 8]
push ecx
push edx
lea ecx, [esi + 0x20]
call fcn.10008870
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov al, byte [ebx + 0x40]
mov byte [esi + 0x40], al
mov eax, esi
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 0x100195f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100989d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 3
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
lea edx, [ebx + 0x20]
mov dword [esi], vtable.TiXmlUnknown.0
cmp dword [edx + 0x14], 0x10
jb 0x10019687
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x10019690
xor ecx, ecx
jmp 0x100196a2
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019698
sub ecx, dword [ebp + 8]
push ecx
push edx
lea ecx, [esi + 0x20]
call fcn.10008870
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, esi
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 0x1001af90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098c88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push 0
push eax
mov dword [ebp - 4], 0
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::func::GetPreferenceIni_unsigned_long_int_
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x1001b019
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b019
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp + 0x1c], 8
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.ref_token
push str.activity
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
setne bl
jmp 0x1001b01b
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x1001b02d
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x1001b053
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1001b070
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10098afb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::func::GetPreferenceIni_unsigned_long_int_
add esp, 8
mov dword [esp + 0x240], 0
cmp dword [esp + 0x1c], 0
je 0x1001b14b
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b14b
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0x100b2814
push str.ref_token
push str.activity
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.10008550
jmp 0x1001b16b
xor eax, eax
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x100b2814
mov ecx, esi
mov word [esi], ax
call fcn.100089b0
cmp dword [esp + 0x20], 8
jb 0x1001b17f
push dword [esp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x1001bbb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 0x10
test eax, eax
jne 0x1001bc01
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push str.installcash
push str.activity
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1001d4b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x2a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x20]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
cmp word [esp + 0x20], ax
jne 0x1001d51b
xor ecx, ecx
jmp 0x1001d531
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d522
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.100089b0
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
cmp dword [esi + 0x14], 8
jb 0x1001d556
mov esi, dword [esi]
push dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
setne bl
cmp dword [esp + 0x1c], 8
jb 0x1001d57b
push dword [esp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x22c]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret 4
Function at 0x1001df90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1001dfa9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1001dfe4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1001dfe0
lea ebx, [ebx]
cmp esi, edx
jae 0x1001dfe4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x1001dfd0
cmp esi, edx
jb 0x1001dfeb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1001ec80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1001ed06
push 0x100b3da0
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test edi, edi
je 0x1001ecf1
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x1001edb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100e7244]
cmp eax, 0xffffffff
jne 0x1001ee2b
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push 0x104
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetSelfBasePath_wchar_t___unsigned_long_int_
push 0x100b3dc8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov dword [0x100e7244], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1001ee60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp ecx, 1
jne 0x1001ee84
mov dword [0x100ebb54], 0
jmp 0x1001ee95
mov eax, dword [0x100ebb54]
lea ecx, [eax - 1]
cmp ecx, 2
jbe 0x1001ef90
call fcn.1001edb0
test eax, eax
je 0x1001eebb
mov dword [0x100ebb54], 2
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x414]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 0x10
test eax, eax
je 0x1001ef86
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x100b2814
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x100b3df0
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1001ee9e
lea eax, [ebp - 0x20c]
push 0x100b3df8
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1001ef86
mov dword [0x100ebb54], 3
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [0x100ebb54], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x1001efb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.1001ee60

Function at 0x1001efc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 0x10
test eax, eax
je 0x1001f0aa
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x100b2814
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push 0x100b3df0
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1001f0aa
lea eax, [ebp - 0x20c]
push eax
push 0x100b3e00
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1001f0aa
mov ecx, 1
call fcn.1001ee60
push 1
push 0
call sym.iImportLib.dll_wchar_t_const____cdecl_elex::func::GetCommonParamString_unsigned_long_int__unsigned_long_int_
add esp, 8
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1001f0c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 0x10
test eax, eax
jne 0x1001f10f
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push str.partner
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x1001f3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push 0x104
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetSelfBasePath_wchar_t___unsigned_long_int_
add esp, 0x14
test eax, eax
jne 0x1001f44b
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push str.testmode.ini
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f43a
test esi, esi
je 0x1001f493
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1001f493
lea ecx, [ebp - 0x20c]
push ecx
push eax
push esi
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1001ffc0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100bfaa0
push 0x10095099
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e6018]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov edx, 0x614
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x26], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x22], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], 2
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 4], 0xfffffffe
jmp 0x1002007e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x100200a0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100997bb
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x42c], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 4
test eax, eax
jne 0x10020113
xor eax, eax
xor edx, edx
jmp 0x100201ae
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002010a
xor eax, eax
push 0x206
push eax
mov word [esp + 0x234], ax
lea eax, [esp + 0x236]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0x104
lea eax, [esp + 0x234]
push eax
push 0x100b3c24
push str.instdate
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x10]
call fcn.10008550
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x44c], 0
call fcn.1001def0
add esp, 4
cmp dword [esp + 0x20], 8
mov esi, eax
mov edi, edx
jb 0x100201aa
push dword [esp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10020aa0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100999cb
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x36]
push eax
mov esi, SysReAllocString
xor edi, edi
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 4
test eax, eax
jne 0x10020b19
xor edx, edx
jmp 0x10020bcc
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10020bca
xor eax, eax
push 0x206
push eax
mov word [esp + 0x23c], ax
lea eax, [esp + 0x23e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push 0x104
lea eax, [esp + 0x23c]
push eax
push 0x100b3c24
push str.transovertime
push 0x100b3f48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x18]
call fcn.10008550
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x454], 0
call fcn.1001def0
mov ebx, eax
add esp, 4
cmp dword [esp + 0x28], 8
mov eax, edx
mov dword [esp + 0x10], eax
jb 0x10020bbc
push dword [esp + 0x14]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jl 0x10020bca
jg 0x10020bc6
test ebx, ebx
je 0x10020bca
mov esi, ebx
mov edi, eax
mov edx, edi
mov eax, esi
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x10020cc0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
call sym.iImportLib.dll_bool___cdecl_elex::func::IsTEVersion_void_
test al, al
je 0x10020cec
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
xor bl, bl
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetConfigFilePath_wchar_t__
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10020d48
lea eax, [ebp - 0x20c]
push eax
push 1
push str.desk_enabled
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne bl
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret