Function at 0x1001dbf0
Capabilities:
Clear file content
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10036a4c
push eax
mov eax, 0x2010
mov dword fs:[0], esp
call fcn.10033630
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov dword [esp + 0x2028], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x2028], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2030]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x202c], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov ebx, 3
push ecx
mov byte [esp + 0x202c], bl
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea edx, [esp + 0x28]
push eax
push 0x100588d8
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x1005509c
call sub.MFC42.DLL_CString::Find
mov edi, eax
cmp edi, 0xffffffff
je 0x1001de16
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x202c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
inc edi
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push str.i_timestamp
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 6
call fcn.100330ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
lea edx, [esp + 0x10]
push ecx
push str.i_userid
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 7
call fcn.100330ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x10]
push eax
push str.x_hostid
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 8
call fcn.100330ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esi + 0x20]
lea eax, [esp + 0x10]
push edx
push str.x_group
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 9
call fcn.100330ac
mov byte [esp + 0x2028], bl
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
lea edx, [esp + 0x10]
push ecx
push str.x_mainver
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 0xa
call fcn.100330ac
mov byte [esp + 0x2028], bl
lea ecx, [esp + 0x10]
jmp 0x1001df29
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push 0x10058888
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 0x18]
lea ecx, [esp + 0x10]
push eax
push str.i_userid
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 0xc
call fcn.100330ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esi + 0x1c]
lea eax, [esp + 0x10]
push edx
push str.x_hostid
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 0xd
call fcn.100330ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
lea edx, [esp + 0x10]
push ecx
push str.x_group
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 0xe
call fcn.100330ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 0x24]
lea ecx, [esp + 0x10]
push eax
push str.x_mainver
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x202c], 0xf
call fcn.100330ac
mov byte [esp + 0x2028], bl
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push str.x_crc
lea ecx, [esp + 0x18]
call fcn.10032ddc
push str.d05a
lea ecx, [esp + 0x18]
call fcn.10032ddc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2028], 0x10
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x34]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x2034], 0x11
call sym.EoRezoTools_3.dll_public:_int___thiscall_CSecureNetwork::Cypher_class_CString___class_CString___int__
test eax, eax
je 0x1001e2b9
push 0x10058874
push 0x10058870
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Replace
push 0x1005886c
push 0x10058868
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Replace
push 0x10058864
push 0x10055054
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Replace
lea edx, [esp + 0x24]
push 0x1005509c
lea eax, [esp + 0x30]
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x2034], 0x12
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x202c], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2028], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2028], 0x11
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x2034]
mov eax, dword [esp + 0x18]
push 0
push ebp
push eax
mov ecx, esi
call sym.EoRezoTools_3.dll_public_virtual:_long_int___thiscall_CNetwork::GetFile_char_const___char_const___char_const__
mov edi, eax
test edi, edi
jge 0x1001e0ae
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2028], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2028], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2028], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2028], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2028], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, edi
jmp 0x1001e39e
test ebp, ebp
je 0x1001e2a0
push 0
push 0x80
push ebx
push 0
push 0
push SysReAllocString
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x1001e2b9
lea ebp, [esi + 0x10]
mov ecx, ebp
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x40]
push 0x1fe4
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001e133
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x1001e133
mov byte [esp + eax + 0x38], 0
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.10032ddc
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x40]
push 0x1fe4
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1001e0fe
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
mov ecx, esi
call sym.EoRezoTools_3.dll_public:_int___thiscall_CSecureNetwork::UnCypher_class_CString___class_CString___int__
test eax, eax
jne 0x1001e1c4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2028], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2028], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2028], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2028], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2028], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xffeffffe
jmp 0x1001e39e
mov edx, dword [esp + 0x2034]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x1001e25c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2028], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2028], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2028], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2028], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2028], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xffeffffe
jmp 0x1001e39e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x2c]
push 0
mov eax, dword [eax - 8]
push ecx
push eax
push 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call edi
jmp 0x1001e334
lea edx, [esp + 0x30]
lea eax, [esp + 0x1c]
lea edi, [esi + 0x10]
push edx
push eax
push edi
mov ecx, esi
call sym.EoRezoTools_3.dll_public:_int___thiscall_CSecureNetwork::UnCypher_class_CString___class_CString___int__
test eax, eax
jne 0x1001e328
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2028], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2028], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2028], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2028], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2028], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xffeffffe
jmp 0x1001e39e
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2028], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2028], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2028], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2028], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x2028], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x2020]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x201c
ret 0xc