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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27fc
call fcn.004115d0
mov eax, dword [0x4d82d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x10f]
mov ebx, ecx
push esi
push eax
mov dword [ebp - 0x27d4], ebx
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
mov edi, 0x1358
push edi
lea eax, [ebp - 0x27cc]
push esi
push eax
mov dword [ebp - 0x27d0], esi
call fcn.00401f80
add esp, 0xc
push edi
lea eax, [ebp - 0x146c]
push esi
push eax
mov dword [ebp - 0x1470], esi
call fcn.00401f80
xor eax, eax
mov word [ebp - 0x27fc], ax
lea edi, [ebp - 0x27fa]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x27e4], esi
mov dword [ebp - 0x27ec], esi
stosw word es:[edi], ax
cmp ebx, esi
jne 0x46bfc7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
push str.SSRF.sat
lea edi, [ebp - 0x110]
call fcn.00464bbf
mov dword [esp], 0xa30
mov edi, str.Network.c
push edi
push 8
call fcn.0046a2c9
add esp, 0xc
test eax, eax
jne 0x46c00b
push 8
call fcn.00466725
mov dword [esp], 0xa33
push edi
push 8
call fcn.0046a2c9
add esp, 0xc
push 0xa40
xor ebx, ebx
lea eax, [ebp - 0x27fc]
push edi
inc ebx
push eax
mov dword [0x5ceca8], ebx
call fcn.0041de8c
add esp, 0xc
push 0x61a8
push 0x80000020
push 4
push 7
lea eax, [ebp - 0x110]
mov dword [ebp - 0x27e0], ebx
call fcn.0048c6b2
add esp, 0x10
mov dword [ebp - 0x27d8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x27d8], 0xffffffff
jne 0x46c073
push 8
call fcn.00466725
pop ecx
mov dword [0x5ceca8], esi
jmp 0x46bfb6
mov ebx, 0x135c
push ebx
push dword [ebp - 0x27d4]
lea eax, [ebp - 0x27d0]
push eax
call fcn.00401330
add esp, 0xc
push esi
mov dword [ebp - 0x27e4], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
lea eax, [ebp - 0x27e4]
push eax
push ebx
lea eax, [ebp - 0x1470]
push eax
push dword [ebp - 0x27d8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46c183
cmp dword [ebp - 0x27e4], ebx
jb 0x46c183
cmp dword [ebp - 0x158], 0x41
ja 0x46c189
mov dword [ebp - 0x27d4], esi
cmp dword [ebp - 0x158], esi
jle 0x46c19a
lea eax, [ebp - 0x146c]
mov dword [ebp - 0x27e8], eax
lea eax, [ebp - 0x998]
mov dword [ebp - 0x27dc], eax
mov esi, dword [ebp - 0x27dc]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x27fc]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041cec3
push eax
call fcn.00403bf4
add esp, 0x24
cmp eax, 0x36ee80
jge 0x46c158
push dword [ebp - 0x27dc]
mov edx, dword [ebp - 0x27e8]
lea eax, [edx + 0x56a]
push 1
push eax
lea ecx, [ebp - 0x27d0]
call fcn.00465940
add esp, 0xc
inc dword [ebp - 0x27d4]
mov eax, dword [ebp - 0x27d4]
add dword [ebp - 0x27dc], 0x10
add dword [ebp - 0x27e8], 0x15
cmp eax, dword [ebp - 0x158]
jl 0x46c102
xor esi, esi
mov edi, str.Network.c
jmp 0x46c19a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
lea eax, [ebp - 0x1470]
push esi
push eax
call fcn.00401f80
add esp, 0xc
push esi
push esi
push esi
push dword [ebp - 0x27d8]
mov dword [ebp - 0x27d0], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x46c1ba
inc dword [0x5ceca4]
push esi
lea eax, [ebp - 0x27ec]
push eax
push ebx
lea eax, [ebp - 0x27d0]
push eax
push dword [ebp - 0x27d8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46c1e2
cmp dword [ebp - 0x27ec], ebx
jae 0x46c1ee
inc dword [0x5ceca4]
mov dword [ebp - 0x27e0], esi
mov esi, dword [ebp - 0x27d8]
call fcn.0048ad7b
push 8
call fcn.00466725
xor esi, esi
mov dword [esp], str.SSRF.sat
push esi
push esi
call fcn.004541af
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x4a8ed8
push eax
call fcn.00401954
push 0xa9c
push edi
mov edx, 0x4a82dc
lea ecx, [ebp - 0x110]
call fcn.0048ae1a
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x46c250
xor eax, eax
mov dword [0x5ceca8], esi
jmp 0x46bfb8
push edi
push 1
lea eax, [ebp - 0x27d0]
push ebx
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x46c26e
mov dword [ebp - 0x27e0], esi
mov ecx, edi
call fcn.0048d8ca
mov eax, dword [ebp - 0x27e0]
jmp 0x46c245