Function at 0x46d993
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 0x46da3b
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.00466283
mov dword [esp], 0xa30
mov edi, str.Network.c
push edi
push 8
call fcn.0046b9b6
add esp, 0xc
test eax, eax
jne 0x46da7f
push 8
call fcn.00467de9
mov dword [esp], 0xa33
push edi
push 8
call fcn.0046b9b6
add esp, 0xc
push 0xa40
xor ebx, ebx
lea eax, [ebp - 0x27fc]
push edi
inc ebx
push eax
mov dword [0x5dc75c], ebx
call fcn.0041ced9
add esp, 0xc
push 0x61a8
push 0x80000020
push 4
push 7
lea eax, [ebp - 0x110]
mov dword [ebp - 0x27e0], ebx
call fcn.0048ec75
add esp, 0x10
mov dword [ebp - 0x27d8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x27d8], 0xffffffff
jne 0x46dae7
push 8
call fcn.00467de9
pop ecx
mov dword [0x5dc75c], esi
jmp 0x46da2a
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 0x46dbf7
cmp dword [ebp - 0x27e4], ebx
jb 0x46dbf7
cmp dword [ebp - 0x158], 0x41
ja 0x46dbfd
mov dword [ebp - 0x27d4], esi
cmp dword [ebp - 0x158], esi
jle 0x46dc0e
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.0041bf10
push eax
call fcn.004041ba
add esp, 0x24
cmp eax, 0x36ee80
jge 0x46dbcc
push dword [ebp - 0x27dc]
mov edx, dword [ebp - 0x27e8]
lea eax, [edx + 0x56a]
push 1
push eax
lea ecx, [ebp - 0x27d0]
call fcn.00467004
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 0x46db76
xor esi, esi
mov edi, str.Network.c
jmp 0x46dc0e
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 0x46dc2e
inc dword [0x5dc758]
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 0x46dc56
cmp dword [ebp - 0x27ec], ebx
jae 0x46dc62
inc dword [0x5dc758]
mov dword [ebp - 0x27e0], esi
mov esi, dword [ebp - 0x27d8]
call fcn.0048d33e
push 8
call fcn.00467de9
xor esi, esi
mov dword [esp], str.SSRF.sat
push esi
push esi
call fcn.0045531b
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x4af44c
push eax
call fcn.00401954
push 0xa9c
push edi
mov edx, 0x4ae7a4
lea ecx, [ebp - 0x110]
call fcn.0048d3dd
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x46dcc4
xor eax, eax
mov dword [0x5dc75c], esi
jmp 0x46da2c
push edi
push 1
lea eax, [ebp - 0x27d0]
push ebx
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x46dce2
mov dword [ebp - 0x27e0], esi
mov ecx, edi
call fcn.0048fcf9
mov eax, dword [ebp - 0x27e0]
jmp 0x46dcb9