Function at 0x46537e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x5c4e68]
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.005117f0
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.005117f0
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 [0x6c2afc], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x11c], ebx
stosw word es:[edi], ax
je 0x465428
call fcn.004f16be
mov esi, eax
jmp 0x465420
call fcn.004f16be
sub eax, esi
cmp eax, 0x2710
jae 0x465428
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x6c2afc], ebx
jne 0x46540b
push str.GatMem.sat
xor edi, edi
push ebx
inc edi
push ebx
mov dword [0x6c2afc], edi
call fcn.0048a119
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x533dd4
push eax
call fcn.00511173
mov eax, dword [0x6bf444]
add esp, 0x10
xor ecx, ecx
cmp eax, ebx
mov dword [ebp - 0x124], edi
jle 0x465486
mov edx, dword [ecx*4 + 0x6bf978]
add edx, dword [ecx*4 + 0x6bf950]
mov dword [ebp + ecx*8 - 0x1ac], ecx
mov dword [ebp + ecx*8 - 0x1b0], edx
inc ecx
cmp ecx, eax
jl 0x465465
push edi
push eax
lea esi, [ebp - 0x1b0]
call fcn.0046069f
mov eax, dword [0x6bf444]
pop ecx
pop ecx
xor ecx, ecx
cmp eax, ebx
jle 0x4654b3
mov edx, dword [ebp + ecx*8 - 0x1ac]
mov dword [ebp + ecx*4 - 0x15c], edx
inc ecx
cmp ecx, eax
jl 0x4654a0
cmp dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x114], ebx
jle 0x4654df
cmp dword [ebp - 0x114], 5
jge 0x4654df
inc dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
cmp dword [ebp + eax*8 - 0x1b0], ebx
jg 0x4654c1
push 0x1242
push str..Network.c
mov edx, 0x530484
lea ecx, [ebp - 0x110]
call fcn.0042d2c6
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x46552c
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.004265da
pop ecx
pop ecx
and dword [0x6c2afc], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret
push ebx
push edi
lea eax, [ebp - 0x114]
push 4
push eax
call fcn.005110f1
add esp, 0x10
cmp eax, edi
jae 0x46555e
push dword [ebp - 0x114]
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_iNumEntriesToSave__FAILED:_iNumEntries___d
call fcn.004265da
pop ecx
pop ecx
mov ecx, ebx
call fcn.0042d70e
jmp 0x465514
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.005120b0
pop ecx
push eax
push edi
push esi
call fcn.005110f1
push esi
mov dword [ebp - 0x118], eax
call fcn.005120b0
mov ecx, dword [ebp - 0x118]
add esp, 0x14
cmp ecx, eax
jae 0x465598
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite___FAILED:_could_not_write_the_validation_string.
call fcn.004265da
jmp 0x465554
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.005110f1
add esp, 0x10
cmp eax, edi
jae 0x4655c3
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_stCurTime__FAILED.
jmp 0x465591
push ebx
push edi
push 0x10
push 0x6bf864
call fcn.005110f1
add esp, 0x10
cmp eax, edi
jae 0x4655df
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_g_stLastGatewayScanTime__FAILED.
jmp 0x465591
push ebx
push edi
push 0x10
push 0x6bf874
call fcn.005110f1
add esp, 0x10
cmp eax, edi
jae 0x465616
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite_g_stLastTimePossibleGatewayFound__FAILED.
call fcn.004265da
pop ecx
xor esi, esi
mov ecx, ebx
call fcn.0042d70e
and dword [0x6c2afc], 0
mov eax, esi
jmp 0x46551d
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x114], 0
jle 0x4656ee
mov eax, dword [ebp - 0x118]
mov esi, dword [ebp + eax*4 - 0x15c]
mov eax, esi
imul eax, eax, 0x14
lea ecx, [eax + 0x6bf888]
mov dword [ebp - 0x120], ecx
call fcn.00467c70
test eax, eax
mov dword [ebp - 0x11c], eax
jne 0x46566d
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.004265da
add esp, 0xc
jmp 0x4656d6
add dword [ebp - 0x11c], 0x309
push ebx
push edi
shl esi, 2
lea eax, [esi + 0x6bf950]
push 4
push eax
call fcn.005110f1
push ebx
push edi
mov dword [ebp - 0x120], eax
lea eax, [esi + 0x6bf978]
push 4
push eax
call fcn.005110f1
mov esi, dword [ebp - 0x120]
push ebx
push edi
add esi, eax
lea eax, [ebp - 0x11c]
push 4
push eax
call fcn.005110f1
add esi, eax
add esp, 0x30
cmp esi, 3
jge 0x4656d6
push esi
push str.:8:SaveMostLikelyGateways___FAILED:_fwrite___FAILED:_could_only_write__d_of_3_elements_
call fcn.004265da
and dword [ebp - 0x124], 0
pop ecx
pop ecx
inc dword [ebp - 0x118]
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x114]
jl 0x46562a
mov esi, dword [ebp - 0x124]
jmp 0x465601