Function at 0x10022fe0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], ebx
test eax, eax
jne 0x1002301c
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push esi
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
test ebx, ebx
jne 0x1002309c
lea eax, [ebp - 0x414]
push 0x104
push eax
call sym.iImportLib.dll_int___cdecl_elex::func::GetSelfBasePath_wchar_t___unsigned_long_int_
mov esi, dword [sym.imp.MSVCR110.dll_wcscat_s]
push str.user
lea eax, [ebp - 0x414]
push 0x104
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x414]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str._safe.dat
lea eax, [ebp - 0x414]
push 0x104
push eax
call esi
lea ebx, [ebp - 0x414]
add esp, 0xc
mov dword [ebp - 0x428], ebx
push edi
push 0x5000
push ebx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
call sym.iImportLib.dll_int___cdecl_elex::filepath::ReadDataFileW_void____unsigned_long_int___wchar_t_const__const__unsigned_long_int_
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 0x10
test eax, eax
je 0x10023148
mov edi, dword [ebp - 0x41c]
test edi, edi
je 0x10023148
mov ebx, dword [ebp - 0x418]
cmp ebx, 0x1c
jb 0x10023140
mov ecx, dword [edi + 0x10]
lea eax, [ecx + 0x1c]
cmp eax, ebx
jne 0x10023140
mov ebx, ecx
test ecx, ecx
je 0x1002312a
lea eax, [edi + 0x1c]
push eax
push ecx
call sym.iImportLib.dll_GetCRC32
add esp, 8
cmp eax, dword [edi + 0x14]
jne 0x10023140
push dword [edi + 0x18]
lea eax, [edi + 0x1c]
push ebx
push eax
call sym.iImportLib.dll_private:_static_bool___cdecl_elex::safe::CiSafeUtilities::AKL_RandomTreatByDword_unsigned_char___unsigned_long_int__unsigned_long_int_
push ebx
lea eax, [edi + 0x1c]
push eax
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0x18
shr ebx, 1
xor eax, eax
mov word [edi + ebx*2], ax
lea eax, [ebx + 0x2800]
mov dword [ebp - 0x41c], eax
jmp 0x10023182
push edi
call esi
add esp, 4
jmp 0x1002314e
mov ebx, dword [ebp - 0x418]
xor ecx, ecx
mov eax, 0x2800
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x41c], 0x2800
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x100231ac
mov eax, 0x2800
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x100231c2
push edi
call esi
add esp, 4
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x424]
mov esi, dword [sym.imp.MSVCR110.dll_swprintf_s]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x100b3d88
push 0x104
push eax
call esi
mov eax, dword [ebp - 0x41c]
add esp, 0x10
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x20c]
push eax
push str.Version
push str.MainPageProtect
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x42c]
push ebx
push edi
call sym.iImportLib.dll_int___stdcall_elex::filepath::WritePrivateProfileStringToMemory_wchar_t_const___unsigned_long_int__wchar_t___unsigned_long_int___wchar_t_const___wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x424]
push dword [eax + 8]
lea eax, [ebp - 0x20c]
push 0x100b3d88
push 0x104
push eax
call esi
mov eax, dword [ebp - 0x41c]
mov ebx, dword [ebp - 0x42c]
add esp, 0x10
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x20c]
push eax
push str.Flag
push str.MainPageProtect
lea eax, [ebp - 0x418]
push eax
push edi
push dword [ebp - 0x420]
push ebx
call sym.iImportLib.dll_int___stdcall_elex::filepath::WritePrivateProfileStringToMemory_wchar_t_const___unsigned_long_int__wchar_t___unsigned_long_int___wchar_t_const___wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x424]
push dword [eax + 0xc]
lea eax, [ebp - 0x20c]
push 0x100b3d88
push 0x104
push eax
call esi
mov eax, dword [ebp - 0x41c]
add esp, 0x10
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x20c]
push eax
push str.BrowserInstalled
push str.MainPageProtect
lea eax, [ebp - 0x420]
push eax
push ebx
push dword [ebp - 0x418]
push edi
call sym.iImportLib.dll_int___stdcall_elex::filepath::WritePrivateProfileStringToMemory_wchar_t_const___unsigned_long_int__wchar_t___unsigned_long_int___wchar_t_const___wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x424]
push dword [eax + 0x10]
lea eax, [ebp - 0x20c]
push 0x100b3d88
push 0x104
push eax
call esi
mov esi, dword [ebp - 0x41c]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push str.DefaultBrowser
push str.MainPageProtect
lea eax, [ebp - 0x418]
push eax
push edi
push dword [ebp - 0x420]
mov dword [ebp - 0x418], esi
push ebx
call sym.iImportLib.dll_int___stdcall_elex::filepath::WritePrivateProfileStringToMemory_wchar_t_const___unsigned_long_int__wchar_t___unsigned_long_int___wchar_t_const___wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x424]
add eax, 0x2c
mov dword [ebp - 0x420], esi
cmp dword [eax + 0x14], 8
jb 0x10023324
mov eax, dword [eax]
push eax
push str.MainPageURL
push str.MainPageProtect
lea eax, [ebp - 0x420]
push eax
push ebx
push dword [ebp - 0x418]
push edi
call sym.iImportLib.dll_int___stdcall_elex::filepath::WritePrivateProfileStringToMemory_wchar_t_const___unsigned_long_int__wchar_t___unsigned_long_int___wchar_t_const___wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x424]
add eax, 0x5c
mov dword [ebp - 0x418], esi
cmp dword [eax + 0x14], 8
jb 0x1002335a
mov eax, dword [eax]
push eax
push str.SearchPageURL
push str.MainPageProtect
lea eax, [ebp - 0x418]
push eax
push edi
push dword [ebp - 0x420]
push ebx
call sym.iImportLib.dll_int___stdcall_elex::filepath::WritePrivateProfileStringToMemory_wchar_t_const___unsigned_long_int__wchar_t___unsigned_long_int___wchar_t_const___wchar_t_const___wchar_t_const__
mov eax, dword [ebp - 0x418]
push 0
add eax, eax
push eax
push edi
push dword [ebp - 0x428]
call sym.iImportLib.dll_public:_static_bool___cdecl_elex::safe::CiSafeUtilities::AKL_WriteFileW_wchar_t___void___unsigned_long_int__unsigned_long_int__
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
push edi
call esi
push ebx
call esi
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret