Function at 0x436c08
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4478cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x124], eax
cmp dword [ebp + 8], 0
jne 0x436c60
xor eax, eax
jmp 0x4370d8
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
jne 0x436c71
xor eax, eax
jmp 0x4370d8
push 0x467254
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x436c99
xor eax, eax
jmp 0x4370d8
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp - 0x134]
push ecx
push 0x100
push 1
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x436cdc
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x118], 0x100
je 0x436c99
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x436d1e
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x4370d8
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x138]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
push 1
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x10]
je 0x436da2
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x4370d8
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
je 0x4370c2
mov edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
test eax, eax
je 0x4370c2
cmp dword [ebp - 0x128], 0
jne 0x436e04
push 0xc
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x124], ecx
jmp 0x436e27
push 0xc
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edx, dword [ebp - 0x124]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0
jne 0x436e59
mov edx, dword [ebp - 0x128]
push edx
mov ecx, dword [ebp - 0x140]
call sym.RemoteCtrl.exe_private:_void___thiscall_CResIni::FreeIniEntry_struct_INI_ENTRY__
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
jmp 0x4370d8
push 0xc
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
push 0xa
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x436ef4
mov ecx, dword [ebp - 0x11c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jle 0x436ef4
mov ecx, dword [ebp - 0x120]
add ecx, dword [ebp - 0x130]
movsx edx, byte [ecx - 1]
cmp edx, 0xd
jne 0x436ef4
mov eax, dword [ebp - 0x120]
add eax, dword [ebp - 0x130]
mov byte [eax - 1], 0
mov ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x3b
jne 0x436f10
mov eax, dword [ebp - 0x124]
mov byte [eax], 3
jmp 0x436f9e
mov ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x5b
jne 0x436f71
push 0x467258
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x436f71
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x124]
mov byte [edx], 1
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov ecx, dword [ebp - 0x12c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x120], edx
jmp 0x436f9e
push 0x46725c
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x436f95
mov ecx, dword [ebp - 0x124]
mov byte [ecx], 2
jmp 0x436f9e
mov edx, dword [ebp - 0x124]
mov byte [edx], 3
mov eax, dword [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x124]
cmp dword [edx + 4], 0
jne 0x436ff8
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x140]
call sym.RemoteCtrl.exe_private:_void___thiscall_CResIni::FreeIniEntry_struct_INI_ENTRY__
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
jmp 0x4370d8
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
push 0x467260
push 0x467264
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::Replace
push 0x467268
push 0x46726c
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::Replace
push 0x467270
push 0x467274
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x13c]
call sym.RemoteCtrl.exe_public:_char_const____thiscall_CMyString::operator_char_const__void_const
push eax
mov eax, dword [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x120]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
push 0
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 4]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 4]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00443754
jmp 0x436dbe
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4