Function at 0x46dedb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor ebx, ebx
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], 0
call fcn.005306b0
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x158]
push 0x4c
mov dword [ebp - 0x15c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1ac]
push ebx
push eax
mov dword [ebp - 0x1b0], ebx
call fcn.005306b0
xor eax, eax
mov word [ebp - 0x134], bx
lea edi, [ebp - 0x132]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x18
cmp dword [0x6f0b44], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x11c], ebx
stosw word es:[edi], ax
je 0x46df85
call fcn.004fa8e4
mov esi, eax
jmp 0x46df7d
call fcn.004fa8e4
sub eax, esi
cmp eax, 0x2710
jae 0x46df85
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x6f0b44], ebx
jne 0x46df68
push str.GatMem.sat
xor edi, edi
push ebx
inc edi
push ebx
mov dword [0x6f0b44], edi
call fcn.00493154
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x553c34
push eax
call fcn.00531b2f
mov eax, dword [0x6ed48c]
add esp, 0x10
xor ecx, ecx
cmp eax, ebx
mov dword [ebp - 0x124], edi
jle 0x46dfe3
mov edx, dword [ecx*4 + 0x6ed9c0]
add edx, dword [ecx*4 + 0x6ed998]
mov dword [ebp + ecx*8 - 0x1ac], ecx
mov dword [ebp + ecx*8 - 0x1b0], edx
inc ecx
cmp ecx, eax
jl 0x46dfc2
push edi
push eax
lea esi, [ebp - 0x1b0]
call fcn.00468f07
mov eax, dword [0x6ed48c]
pop ecx
pop ecx
xor ecx, ecx
cmp eax, ebx
jle 0x46e010
mov edx, dword [ebp + ecx*8 - 0x1ac]
mov dword [ebp + ecx*4 - 0x15c], edx
inc ecx
cmp ecx, eax
jl 0x46dffd
cmp dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x114], ebx
jle 0x46e03c
cmp dword [ebp - 0x114], 5
jge 0x46e03c
inc dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
cmp dword [ebp + eax*8 - 0x1b0], ebx
jg 0x46e01e
push 0x1242
push str..Network.c
mov edx, 0x54f4b4
lea ecx, [ebp - 0x110]
call fcn.00434df1
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x46e089
lea eax, [ebp - 0x110]
push eax
push str.:8:SaveMostLikelyGateways___FAILED:_fopen___s____wb____FAILED:_the_data_cannot_be_saved_because_the_file_cannot_be_opened_
call fcn.0042b70b
pop ecx
pop ecx
and dword [0x6f0b44], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
push ebx
push edi
lea eax, [ebp - 0x114]
push 4
push eax
call fcn.00531aad
add esp, 0x10
cmp eax, edi
jae 0x46e0bb
push dword [ebp - 0x114]
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_iNumEntriesToSave__FAILED:_iNumEntries___d
call fcn.0042b70b
pop ecx
pop ecx
mov ecx, ebx
call fcn.00435239
jmp 0x46e071
push ebx
mov esi, str.Thank_you_Jesus_for_your_help.__I_adore_you_desperately.__I_love_you_so_much__violently.__I_depsperately_want_you_more_than_anything_
push esi
call fcn.00530f70
pop ecx
push eax
push edi
push esi
call fcn.00531aad
push esi
mov dword [ebp - 0x118], eax
call fcn.00530f70
mov ecx, dword [ebp - 0x118]
add esp, 0x14
cmp ecx, eax
jae 0x46e0f5
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite___FAILED:_could_not_write_the_validation_string.
call fcn.0042b70b
jmp 0x46e0b1
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebx
push edi
lea eax, [ebp - 0x134]
push 0x10
push eax
call fcn.00531aad
add esp, 0x10
cmp eax, edi
jae 0x46e120
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_stCurTime__FAILED.
jmp 0x46e0ee
push ebx
push edi
push 0x10
push 0x6ed8ac
call fcn.00531aad
add esp, 0x10
cmp eax, edi
jae 0x46e13c
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_g_stLastGatewayScanTime__FAILED.
jmp 0x46e0ee
push ebx
push edi
push 0x10
push 0x6ed8bc
call fcn.00531aad
add esp, 0x10
cmp eax, edi
jae 0x46e173
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_g_stLastTimePossibleGatewayFound__FAILED.
call fcn.0042b70b
pop ecx
xor esi, esi
mov ecx, ebx
call fcn.00435239
and dword [0x6f0b44], 0
mov eax, esi
jmp 0x46e07a
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x114], 0
jle 0x46e24b
mov eax, dword [ebp - 0x118]
mov esi, dword [ebp + eax*4 - 0x15c]
mov eax, esi
imul eax, eax, 0x14
lea ecx, [eax + 0x6ed8d0]
mov dword [ebp - 0x120], ecx
call fcn.004707d3
test eax, eax
mov dword [ebp - 0x11c], eax
jne 0x46e1ca
push esi
push dword [ebp - 0x120]
push str.:8:SaveMostLikelyGateways___encountered_a_problem:_The_ip_address__s_at_index__ld_parsed_to_0.0.0.0_
call fcn.0042b70b
add esp, 0xc
jmp 0x46e233
add dword [ebp - 0x11c], 0x309
push ebx
push edi
shl esi, 2
lea eax, [esi + 0x6ed998]
push 4
push eax
call fcn.00531aad
push ebx
push edi
mov dword [ebp - 0x120], eax
lea eax, [esi + 0x6ed9c0]
push 4
push eax
call fcn.00531aad
mov esi, dword [ebp - 0x120]
push ebx
push edi
add esi, eax
lea eax, [ebp - 0x11c]
push 4
push eax
call fcn.00531aad
add esi, eax
add esp, 0x30
cmp esi, 3
jge 0x46e233
push esi
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite___FAILED:_could_only_write__d_of_3_elements_
call fcn.0042b70b
and dword [ebp - 0x124], 0
pop ecx
pop ecx
inc dword [ebp - 0x118]
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x114]
jl 0x46e187
mov esi, dword [ebp - 0x124]
jmp 0x46e15e