Function at 0x43ea96
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44847c
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 0x43eaee
xor eax, eax
jmp 0x43ef71
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
jne 0x43eaff
xor eax, eax
jmp 0x43ef71
push str.r__n_r_t________________
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 0x43eb27
xor eax, eax
jmp 0x43ef71
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 0x43eb6a
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x118], 0x100
je 0x43eb27
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 0x43ebac
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x43ef71
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 0x43ec30
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 0x43ef71
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 0x43ef5b
mov edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
test eax, eax
je 0x43ef5b
cmp dword [ebp - 0x128], 0
jne 0x43ec92
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 0x43ecb5
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 0x43ece7
mov edx, dword [ebp - 0x128]
push edx
mov ecx, dword [ebp - 0x140]
call sym.RemoteCtrl.exe_private:_void___thiscall_CResIniForSDK::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 0x43ef71
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 0x43ed82
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 0x43ed82
mov ecx, dword [ebp - 0x120]
add ecx, dword [ebp - 0x130]
movsx edx, byte [ecx - 1]
cmp edx, 0xd
jne 0x43ed82
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 0x43ed9e
mov eax, dword [ebp - 0x124]
mov byte [eax], 3
jmp 0x43ee2c
mov ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x5b
jne 0x43edff
push 0x468538
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 0x43edff
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 0x43ee2c
push 0x46853c
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x43ee23
mov ecx, dword [ebp - 0x124]
mov byte [ecx], 2
jmp 0x43ee2c
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 0x43ee86
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x140]
call sym.RemoteCtrl.exe_private:_void___thiscall_CResIniForSDK::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 0x43ef71
lea ecx, [ebp - 0x13c]
call sym.RemoteCtrl.exe_public:_void___thiscall_CMyString::constructor_void_
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x13c]
call sym.RemoteCtrl.exe_public:_class_CMyString_const____thiscall_CMyString::operator_char_const__
push 0x468540
push 0x468544
lea ecx, [ebp - 0x13c]
call sym.RemoteCtrl.exe_public:_int___thiscall_CMyString::Replace_char_const___char_const__
push 0x468548
push 0x46854c
lea ecx, [ebp - 0x13c]
call sym.RemoteCtrl.exe_public:_int___thiscall_CMyString::Replace_char_const___char_const__
push 0x468550
push 0x468554
lea ecx, [ebp - 0x13c]
call sym.RemoteCtrl.exe_public:_int___thiscall_CMyString::Replace_char_const___char_const__
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 sym.RemoteCtrl.exe_public:_void___thiscall_CMyString::destructor_void_
jmp 0x43ec4c
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