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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27fc
call fcn.00411aa0
mov eax, dword [0x4e22e4]
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 0x46e02f
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.004666da
mov dword [esp], 0xa4b
mov edi, str.Network.c
push edi
push 8
call fcn.0046bf44
add esp, 0xc
test eax, eax
jne 0x46e073
push 8
call fcn.0046821e
mov dword [esp], 0xa4e
push edi
push 8
call fcn.0046bf44
add esp, 0xc
push 0xa5b
xor ebx, ebx
lea eax, [ebp - 0x27fc]
push edi
inc ebx
push eax
mov dword [0x5dc76c], ebx
call fcn.0041cf84
add esp, 0xc
push 0x61a8
push 0x80000020
push 4
push 7
lea eax, [ebp - 0x110]
mov dword [ebp - 0x27e0], ebx
call fcn.0048ebdd
add esp, 0x10
mov dword [ebp - 0x27d8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x27d8], 0xffffffff
jne 0x46e0db
push 8
call fcn.0046821e
pop ecx
mov dword [0x5dc76c], esi
jmp 0x46e01e
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 0x46e1eb
cmp dword [ebp - 0x27e4], ebx
jb 0x46e1eb
cmp dword [ebp - 0x158], 0x41
ja 0x46e1f1
mov dword [ebp - 0x27d4], esi
cmp dword [ebp - 0x158], esi
jle 0x46e202
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.0041bff1
push eax
call fcn.004041ba
add esp, 0x24
cmp eax, 0x36ee80
jge 0x46e1c0
push dword [ebp - 0x27dc]
mov edx, dword [ebp - 0x27e8]
lea eax, [edx + 0x56a]
push 1
push eax
lea ecx, [ebp - 0x27d0]
call fcn.00467439
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 0x46e16a
xor esi, esi
mov edi, str.Network.c
jmp 0x46e202
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 0x46e222
inc dword [0x5dc768]
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 0x46e24a
cmp dword [ebp - 0x27ec], ebx
jae 0x46e256
inc dword [0x5dc768]
mov dword [ebp - 0x27e0], esi
mov esi, dword [ebp - 0x27d8]
call fcn.0048d2af
push 8
call fcn.0046821e
xor esi, esi
mov dword [esp], str.SSRF.sat
push esi
push esi
call fcn.004557a2
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x4af44c
push eax
call fcn.00401954
push 0xab7
push edi
mov edx, 0x4ae7a4
lea ecx, [ebp - 0x110]
call fcn.0048d34e
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x46e2b8
xor eax, eax
mov dword [0x5dc76c], esi
jmp 0x46e020
push edi
push 1
lea eax, [ebp - 0x27d0]
push ebx
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x46e2d6
mov dword [ebp - 0x27e0], esi
mov ecx, edi
call fcn.0048fc61
mov eax, dword [ebp - 0x27e0]
jmp 0x46e2ad