Function at 0x5fa5a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2908
call fcn.00534819
push ebx
push esi
push edi
lea edi, [ebp - 0x2908]
mov ecx, 0xa42
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x818f7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10c], 0
push 0x103
push 0
lea eax, [ebp - 0x10b]
push eax
call fcn.00533469
add esp, 0xc
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x147c], 0
push 0x1358
push 0
lea eax, [ebp - 0x1478]
push eax
call fcn.00533469
add esp, 0xc
mov dword [ebp - 0x27e0], 0
push 0x1358
push 0
lea eax, [ebp - 0x27dc]
push eax
call fcn.00533469
add esp, 0xc
mov dword [ebp - 0x27ec], 0
mov dword [ebp - 0x27f8], 0
xor eax, eax
mov word [ebp - 0x2810], ax
xor eax, eax
mov dword [ebp - 0x280e], eax
mov dword [ebp - 0x280a], eax
mov dword [ebp - 0x2806], eax
mov word [ebp - 0x2802], ax
mov dword [ebp - 0x281c], 0
mov dword [ebp - 0x2828], 0
mov dword [ebp - 0x2834], 0
mov dword [ebp - 0x2840], 0
cmp dword [ebp + 8], 0
jne 0x5fa6a0
xor eax, eax
jmp 0x5faad0
push str.SSRF.sat
lea eax, [ebp - 0x10c]
push eax
call fcn.00535f3e
add esp, 8
mov eax, dword [0x818794]
add eax, 0x1a
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push 8
call fcn.00532631
add esp, 0xc
test eax, eax
jne 0x5fa6f2
push 8
call fcn.00534030
add esp, 4
mov eax, dword [0x818794]
add eax, 0x1d
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push 8
call fcn.00532631
add esp, 0xc
mov dword [0x935778], 1
mov eax, dword [0x818794]
add eax, 0x2a
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
lea ecx, [ebp - 0x2810]
push ecx
call fcn.00532d7f
add esp, 0xc
mov dword [ebp - 0x281c], 1
push 0
push 0x61a8
push 0
push SQLGetDiagRec
push 4
push 0
push 7
push 7
lea eax, [ebp - 0x10c]
push eax
call fcn.00532dd4
add esp, 0x24
mov dword [ebp - 0x118], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00535fca
mov dword [ebp - 0x2834], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x5fa787
push 8
call fcn.00534030
add esp, 4
mov dword [0x935778], 0
xor eax, eax
jmp 0x5faad0
push 0x135c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x147c]
push ecx
call fcn.005328b1
add esp, 0xc
mov dword [ebp - 0x27ec], 0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.00535fca
mov esi, esp
push 0
lea eax, [ebp - 0x27ec]
push eax
push 0x135c
lea ecx, [ebp - 0x27e0]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00535fca
test eax, eax
je 0x5fa7f5
cmp dword [ebp - 0x27ec], 0x135c
jae 0x5fa825
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00535fca
mov dword [ebp - 0x2834], eax
push 0x135c
push 0
lea eax, [ebp - 0x27e0]
push eax
call fcn.00533469
add esp, 0xc
jmp 0x5fa935
cmp dword [ebp - 0x14c8], 0
jl 0x5fa837
cmp dword [ebp - 0x14c8], 0x41
jle 0x5fa852
push 0x135c
push 0
lea eax, [ebp - 0x27e0]
push eax
call fcn.00533469
add esp, 0xc
jmp 0x5fa935
mov dword [ebp - 0x2828], 0
jmp 0x5fa86d
mov eax, dword [ebp - 0x2828]
add eax, 1
mov dword [ebp - 0x2828], eax
mov eax, dword [ebp - 0x2828]
cmp eax, dword [ebp - 0x14c8]
jge 0x5fa935
mov eax, dword [ebp - 0x2828]
shl eax, 4
lea ecx, [ebp + eax - 0x1d08]
sub esp, 0x10
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x2810]
mov dword [edx], eax
mov ecx, dword [ebp - 0x280c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2808]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2804]
mov dword [edx + 0xc], ecx
call fcn.005328f7
add esp, 0x20
push eax
call fcn.00533fd1
add esp, 4
cmp eax, 0x36ee80
jge 0x5fa930
mov eax, dword [ebp - 0x2828]
shl eax, 4
lea ecx, [ebp + eax - 0x1d08]
push ecx
push 1
push 1
mov edx, dword [ebp - 0x2828]
imul edx, edx, 0x15
lea eax, [ebp + edx - 0x2272]
push eax
mov ecx, dword [ebp - 0x2828]
imul ecx, ecx, 0x15
lea edx, [ebp + ecx - 0x27dc]
push edx
lea eax, [ebp - 0x147c]
push eax
call fcn.005fb510
add esp, 0x18
jmp 0x5fa85e
mov dword [ebp - 0x147c], 0x135c
mov esi, esp
push 0
push 0
push 0
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, esp
call fcn.00535fca
cmp eax, 0xffffffff
jne 0x5fa96d
mov eax, dword [0x935774]
add eax, 1
mov dword [0x935774], eax
mov esi, esp
push 0
lea eax, [ebp - 0x27f8]
push eax
push 0x135c
lea ecx, [ebp - 0x147c]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00535fca
test eax, eax
je 0x5fa9a8
cmp dword [ebp - 0x27f8], 0x135c
jae 0x5fa9e1
mov eax, dword [0x935774]
mov ecx, dword [0x935774]
add ecx, 1
mov dword [0x935774], ecx
cmp eax, 0xa
jae 0x5fa9cd
mov dword [ebp - 0x2908], 1
jmp 0x5fa9d7
mov dword [ebp - 0x2908], 0
mov dword [ebp - 0x281c], 0
mov eax, dword [0x818794]
add eax, 0x75
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push str.SaveSubnetScanResults
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.00533ee6
mov dword [ebp - 0x118], 0
push 8
call fcn.00534030
add esp, 4
push str.SSRF.sat
push 0
push 0
call fcn.005323f7
add esp, 8
push eax
push 0x79f12c
lea eax, [ebp - 0x10c]
push eax
call fcn.00533cfc
add esp, 0x10
mov eax, dword [0x818794]
add eax, 0x86
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push 0x79de3c
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00533fe0
add esp, 0x10
mov dword [ebp - 0x2840], eax
cmp dword [ebp - 0x2840], 0
jne 0x5faa7b
mov dword [0x935778], 0
xor eax, eax
jmp 0x5faad0
mov eax, dword [ebp - 0x2840]
push eax
push 1
push 0x135c
lea ecx, [ebp - 0x147c]
push ecx
call fcn.00533400
add esp, 0x10
cmp eax, 1
jae 0x5faaa7
mov dword [ebp - 0x281c], 0
mov eax, dword [ebp - 0x2840]
push eax
call fcn.00535d27
add esp, 4
mov dword [ebp - 0x2840], 0
mov dword [0x935778], 0
mov eax, dword [ebp - 0x281c]
push edx
mov ecx, ebp
push eax
lea edx, [0x5fab00]
call fcn.0053491d
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00535561
add esp, 0x2908
cmp ebp, esp
call fcn.00535fca
mov esp, ebp
pop ebp
ret