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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1580
call fcn.00534819
push ebx
push esi
push edi
lea edi, [ebp - 0x1580]
mov ecx, 0x560
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x818f7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.00533469
add esp, 0xc
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x1494], 0
push 0x1358
push 0
lea eax, [ebp - 0x1490]
push eax
call fcn.00533469
add esp, 0xc
mov dword [ebp - 0x14a0], 0
mov dword [ebp - 0x14ac], 0
cmp dword [ebp + 8], 0
jne 0x5fadc5
xor eax, eax
jmp 0x5fb2cf
push 0x135c
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00533469
add esp, 0xc
push str.SSRF.sat
lea eax, [ebp - 0x118]
push eax
call fcn.00535f3e
add esp, 8
mov eax, dword [0x818798]
add eax, 0x19
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push 8
call fcn.00532631
add esp, 0xc
test eax, eax
jne 0x5fae2a
push 8
call fcn.00534030
add esp, 4
mov eax, dword [0x818798]
add eax, 0x1c
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push 8
call fcn.00532631
add esp, 0xc
push 0
push 0x61a8
push 0
push 0x20
push 3
push 0
push 7
push 1
lea eax, [ebp - 0x118]
push eax
call fcn.00532dd4
add esp, 0x24
mov dword [ebp - 0xc], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00535fca
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5faea9
push 8
call fcn.00534030
add esp, 4
cmp dword [ebp - 0x130], 2
je 0x5fae98
cmp dword [ebp - 0x130], 3
je 0x5fae98
cmp dword [ebp - 0x130], 0xf
je 0x5fae98
cmp dword [ebp - 0x130], 0x35
jne 0x5faea2
mov eax, 1
jmp 0x5fb2cf
xor eax, eax
jmp 0x5fb2cf
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x14ac], 0
mov esi, esp
push 0
lea eax, [ebp - 0x124]
push eax
push 0x135c
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00535fca
test eax, eax
je 0x5faef2
cmp dword [ebp - 0x124], 0x135c
jae 0x5faf2d
mov eax, dword [0x93577c]
mov ecx, dword [0x93577c]
add ecx, 1
mov dword [0x93577c], ecx
cmp eax, 0xa
jae 0x5faf17
mov dword [ebp - 0x1580], 1
jmp 0x5faf21
mov dword [ebp - 0x1580], 0
mov dword [ebp - 0x14ac], 1
jmp 0x5faf4f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1318], 0
jl 0x5faf45
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1318], 0x41
jle 0x5faf4f
mov dword [ebp - 0x14ac], 1
cmp dword [ebp - 0x14ac], 0
je 0x5fb10e
mov eax, dword [0x818798]
add eax, 0x56
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push str.LoadSubnetScanResults
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00533ee6
mov dword [ebp - 0xc], 0
push 0x135c
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00533469
add esp, 0xc
push 0
push 0x61a8
push 0
push SQLGetDiagRec
push 4
push 0
push 7
push 7
lea eax, [ebp - 0x118]
push eax
call fcn.00532dd4
add esp, 0x24
mov dword [ebp - 0xc], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00535fca
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5fb06c
mov dword [ebp - 0x14b8], 0
mov esi, esp
push 0
lea eax, [ebp - 0x14b8]
push eax
push 0x135c
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00535fca
test eax, eax
je 0x5fb018
cmp dword [ebp - 0x14b8], 0x135c
jae 0x5fb047
mov eax, dword [0x935780]
mov ecx, dword [0x935780]
add ecx, 1
mov dword [0x935780], ecx
cmp eax, 0xa
jae 0x5fb03d
mov dword [ebp - 0x1580], 1
jmp 0x5fb047
mov dword [ebp - 0x1580], 0
mov eax, dword [0x818798]
add eax, 0x72
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push str.LoadSubnetScanResults
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00533ee6
mov dword [ebp - 0xc], 0
jmp 0x5fb073
mov dword [ebp - 0xc], 0
push str.SSRF.sat
push 0
push 0
call fcn.005323f7
add esp, 8
push eax
push 0x79f12c
lea eax, [ebp - 0x118]
push eax
call fcn.00533cfc
add esp, 0x10
mov eax, dword [0x818798]
add eax, 0x7d
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push 0x79de3c
lea ecx, [ebp - 0x118]
push ecx
call fcn.00533fe0
add esp, 0x10
mov dword [ebp - 0x14a0], eax
cmp dword [ebp - 0x14a0], 0
je 0x5fb0fd
mov eax, dword [ebp - 0x14a0]
push eax
push 1
push 0x135c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00533400
add esp, 0x10
mov eax, dword [ebp - 0x14a0]
push eax
call fcn.00535d27
add esp, 4
mov dword [ebp - 0x14a0], 0
push 8
call fcn.00534030
add esp, 4
xor eax, eax
jmp 0x5fb2cf
mov eax, dword [0x818798]
add eax, 0x8b
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push str.LoadSubnetScanResults
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00533ee6
mov dword [ebp - 0xc], 0
push 8
call fcn.00534030
add esp, 4
push 0x10
push 0
mov eax, dword [ebp + 8]
add eax, 0x134c
push eax
call fcn.00533469
add esp, 0xc
push 0x10
push 0
mov eax, dword [ebp + 8]
add eax, 0x132c
push eax
call fcn.00533469
add esp, 0xc
push str.SSRF.sat
push 0
push 0
call fcn.005323f7
add esp, 8
push eax
push 0x79f12c
lea eax, [ebp - 0x118]
push eax
call fcn.00533cfc
add esp, 0x10
mov eax, dword [0x818798]
add eax, 0x9d
push eax
push str.e:userskerrydocuments_visual_studio_2010projectspaula__butchered__network.c
push 0x79dfa8
lea ecx, [ebp - 0x118]
push ecx
call fcn.00533fe0
add esp, 0x10
mov dword [ebp - 0x14a0], eax
cmp dword [ebp - 0x14a0], 0
jne 0x5fb1d4
lea eax, [ebp - 0x118]
push eax
call fcn.00535769
add esp, 4
jmp 0x5fb2ca
mov eax, dword [ebp - 0x14a0]
push eax
push 1
push 0x135c
lea ecx, [ebp - 0x1494]
push ecx
call fcn.005320cd
add esp, 0x10
cmp eax, 1
jae 0x5fb22f
mov eax, dword [0x935784]
add eax, 1
mov dword [0x935784], eax
push 0x10
push 0
mov eax, dword [ebp + 8]
add eax, 0x134c
push eax
call fcn.00533469
add esp, 0xc
push 0x10
push 0
mov eax, dword [ebp + 8]
add eax, 0x132c
push eax
call fcn.00533469
add esp, 0xc
jmp 0x5fb28f
mov dword [0x935784], 0
mov eax, dword [ebp + 8]
add eax, 0x134c
mov ecx, dword [ebp - 0x148]
mov dword [eax], ecx
mov edx, dword [ebp - 0x144]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x140]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
add eax, 0x132c
mov ecx, dword [ebp - 0x168]
mov dword [eax], ecx
mov edx, dword [ebp - 0x164]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x160]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x15c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14a0]
push eax
call fcn.00535d27
add esp, 4
mov dword [ebp - 0x14a0], 0
cmp dword [0x935784], 0xa
jl 0x5fb2ca
lea eax, [ebp - 0x118]
push eax
call fcn.00533072
add esp, 4
mov dword [0x935784], 0
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5fb300]
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, 0x1580
cmp ebp, esp
call fcn.00535fca
mov esp, ebp
pop ebp
ret