Function at 0x42b4af
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2d4
mov eax, 0x4676c9
call fcn.0043587d
mov esi, ecx
lea ecx, [ebp - 0x2e0]
call fcn.0040b355
push ecx
mov ecx, esp
mov dword [ebp - 0x2ac], esp
xor ebx, ebx
push str.configdnshelper_router.cfg
mov dword [ebp - 4], ebx
call fcn.004076dd
push ecx
mov eax, esp
mov dword [ebp - 0x298], esp
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 1
call fcn.0040df4c
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], bl
call fcn.0040df75
mov edi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
push ebx
push ebx
push 3
push ebx
push 3
push closesocket
push dword [ebp - 0x294]
mov byte [ebp - 4], 2
call edi
mov dword [ebp - 0x284], eax
cmp eax, 0xffffffff
jne 0x42b55d
push ebx
push ebx
push 1
push ebx
push 3
push 0xc0000000
push dword [ebp - 0x294]
call edi
mov dword [ebp - 0x284], eax
cmp eax, 0xffffffff
je 0x42ba77
xor eax, eax
mov dword [ebp - 0x2a4], ebx
lea edi, [ebp - 0x2a0]
stosd dword es:[edi], eax
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x284]
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov eax, dword [ebp - 0x2a4]
inc eax
push eax
mov dword [ebp - 0x2c8], ebx
call fcn.004376a2
mov edi, eax
mov eax, dword [ebp - 0x2a4]
inc eax
push eax
push ebx
push edi
call fcn.004374f0
add esp, 0x10
push ebx
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x2a4]
push edi
push dword [ebp - 0x284]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [ebp - 0x284]
test eax, eax
je 0x42ba6f
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x280]
mov dword [ebp - fcn.00412957], vtable.CTiXmlConfig.0
call fcn.00409c03
push dword [ebp - 0x294]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.00409651
push str.manufacturers
lea ecx, [ebp - 0x280]
call fcn.00409682
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x54], 1
call fcn.00409be2
inc dword [ebp - 0x74]
lea eax, [esi + 0x74]
push eax
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push ebx
push dword [ebp - 0x2a4]
lea ecx, [ebp - 0x280]
push edi
mov byte [esi + 0x70], 1
call fcn.0040b5ec
lea ecx, [ebp - 0x280]
call fcn.004096d7
cmp eax, ebx
je 0x42b665
mov ecx, eax
call fcn.004011ce
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, ebx
jne 0x42b6c3
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, ebx
jne 0x42b6c3
push 0x98
call fcn.00435026
pop ecx
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42b6b4
push 0x46d494
push str.UTF_16
push 0x46d488
mov ecx, eax
call fcn.00402a95
jmp 0x42b6b6
xor eax, eax
mov ecx, dword [ebp - 0x70]
push eax
mov byte [ebp - 4], 3
call fcn.00401548
lea ecx, [ebp - 0x280]
call fcn.004096d7
push 1
push str.LastModified
push eax
lea ecx, [ebp - 0x280]
call fcn.0040e441
mov edi, eax
cmp edi, ebx
je 0x42b71d
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x28c]
push eax
mov ecx, esi
call fcn.0040cf17
push dword [eax]
lea ecx, [ebp - 0x280]
push edi
mov byte [ebp - 4], 5
call fcn.0040d2a4
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00405c12
lea ecx, [ebp - 0x280]
call fcn.004096d7
push 1
push str.LastUpdateTime
push eax
lea ecx, [ebp - 0x280]
call fcn.0040e441
mov edi, eax
cmp edi, ebx
je 0x42b777
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x28c]
push eax
mov ecx, esi
call fcn.0040cf17
push dword [eax]
lea ecx, [ebp - 0x280]
push edi
mov byte [ebp - 4], 6
call fcn.0040d2a4
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00405c12
lea ecx, [ebp - 0x280]
call fcn.004096d7
push 1
push str.RefreshTime
push eax
lea ecx, [ebp - 0x280]
call fcn.0040e441
cmp eax, ebx
je 0x42b7aa
push str.86400
push eax
lea ecx, [ebp - 0x280]
call fcn.0040d2a4
mov dword [ebp - 0x284], ebx
cmp dword [esi + 0x28], ebx
jle 0x42ba07
mov dword [ebp - 0x29c], ebx
cmp dword [ebp - 0x284], ebx
jl 0x42ba60
mov eax, dword [ebp - 0x284]
cmp eax, dword [esi + 0x28]
jge 0x42ba60
mov eax, dword [esi + 0x24]
add eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x2c4]
push eax
call fcn.0042b006
push str.manufacturer
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 7
call fcn.00409737
mov edi, eax
push edi
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x298], edi
call fcn.004096d7
mov ecx, eax
call fcn.00401548
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x280]
push str.name
push edi
call fcn.0040c27f
push dword [ebp - 0x2c0]
lea ecx, [ebp - 0x280]
push 0x47033c
push edi
call fcn.0040c27f
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x280]
push 0x470334
push edi
call fcn.0040c27f
mov dword [ebp - 0x288], ebx
cmp dword [ebp - 0x2b4], ebx
jle 0x42b9dc
mov dword [ebp - 0x290], ebx
push str.keyword
lea ecx, [ebp - 0x280]
call fcn.00409737
mov ecx, dword [ebp - 0x298]
push eax
mov dword [ebp - 0x2a8], eax
call fcn.00401548
mov eax, dword [ebp - 0x288]
cmp eax, ebx
jl 0x42ba60
cmp eax, dword [ebp - 0x2b4]
jge 0x42ba60
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x290]
push dword [eax + ecx]
lea ecx, [ebp - 0x280]
push str.text
push dword [ebp - 0x2a8]
call fcn.0040c27f
xor edi, edi
mov ecx, dword [ebp - 0x2b4]
cmp dword [ebp - 0x288], ecx
jge 0x42ba60
mov eax, dword [ebp - 0x2b8]
mov edx, dword [ebp - 0x290]
cmp edi, dword [eax + edx + 8]
jge 0x42b9c3
push str.login
lea ecx, [ebp - 0x280]
call fcn.00409737
mov ecx, dword [ebp - 0x2a8]
push eax
mov dword [ebp - 0x28c], eax
call fcn.00401548
mov eax, dword [ebp - 0x288]
cmp eax, dword [ebp - 0x2b4]
jge 0x42ba60
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x290]
lea eax, [ecx + eax + 4]
cmp edi, ebx
jl 0x42ba60
cmp edi, dword [eax + 4]
jge 0x42ba60
mov eax, dword [eax]
push dword [eax + edi*8]
lea ecx, [ebp - 0x280]
push 0x47033c
push dword [ebp - 0x28c]
call fcn.0040c27f
mov eax, dword [ebp - 0x288]
cmp eax, dword [ebp - 0x2b4]
jge 0x42ba60
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x290]
lea eax, [ecx + eax + 4]
cmp edi, dword [eax + 4]
jge 0x42ba60
mov eax, dword [eax]
push dword [eax + edi*8 + 4]
lea ecx, [ebp - 0x280]
push 0x470334
push dword [ebp - 0x28c]
call fcn.0040c27f
inc edi
jmp 0x42b8de
inc dword [ebp - 0x288]
add dword [ebp - 0x290], 0x10
cmp dword [ebp - 0x288], ecx
jl 0x42b87b
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 3
call fcn.00429dcb
inc dword [ebp - 0x284]
mov eax, dword [ebp - 0x284]
add dword [ebp - 0x29c], 0x18
cmp eax, dword [esi + 0x28]
jl 0x42b7bf
push dword [ebp - 0x2ac]
mov byte [esi + 0x70], bl
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
dec dword [ebp - 0x74]
lea ecx, [ebp - 0x280]
call fcn.0040e168
lea ecx, [ebp - 0x280]
mov ebx, eax
mov byte [ebp - 4], 2
call fcn.004096b9
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.00405c12
lea ecx, [ebp - 0x2e0]
call fcn.0040a472
mov ecx, dword [ebp - 0x2d0]
add ecx, 0xfffffff0
call fcn.00405c12
mov eax, ebx
jmp 0x42baa0
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.DLL_RaiseException]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x42ba35
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.00405c12
lea ecx, [ebp - 0x2e0]
call fcn.0040a472
mov ecx, dword [ebp - 0x2d0]
add ecx, 0xfffffff0
call fcn.00405c12
xor eax, eax
call fcn.00435900
ret