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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27fc
call fcn.004113d0
mov eax, dword [0x4b22d4]
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 0x461126
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.0045abea
mov dword [esp], 0xa30
mov edi, str.Network.c
push edi
push 8
call fcn.0045f6b5
add esp, 0xc
test eax, eax
jne 0x46116a
push 8
call fcn.0045c4f7
mov dword [esp], 0xa33
push edi
push 8
call fcn.0045f6b5
add esp, 0xc
push 0xa40
xor ebx, ebx
lea eax, [ebp - 0x27fc]
push edi
inc ebx
push eax
mov dword [0x5a89f8], ebx
call fcn.0041bb4c
add esp, 0xc
push 0x61a8
push 0x80000020
push 4
push 7
lea eax, [ebp - 0x110]
mov dword [ebp - 0x27e0], ebx
call fcn.004753ac
add esp, 0x10
mov dword [ebp - 0x27d8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x27d8], 0xffffffff
jne 0x4611d2
push 8
call fcn.0045c4f7
pop ecx
mov dword [0x5a89f8], esi
jmp 0x461115
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 0x4612e2
cmp dword [ebp - 0x27e4], ebx
jb 0x4612e2
cmp dword [ebp - 0x158], 0x41
ja 0x4612e8
mov dword [ebp - 0x27d4], esi
cmp dword [ebp - 0x158], esi
jle 0x4612f9
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.0041acdf
push eax
call fcn.00403aca
add esp, 0x24
cmp eax, 0x36ee80
jge 0x4612b7
push dword [ebp - 0x27dc]
mov edx, dword [ebp - 0x27e8]
lea eax, [edx + 0x56a]
push 1
push eax
lea ecx, [ebp - 0x27d0]
call fcn.0045b96b
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 0x461261
xor esi, esi
mov edi, str.Network.c
jmp 0x4612f9
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 0x461319
inc dword [0x5a89f4]
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 0x461341
cmp dword [ebp - 0x27ec], ebx
jae 0x46134d
inc dword [0x5a89f4]
mov dword [ebp - 0x27e0], esi
mov esi, dword [ebp - 0x27d8]
call fcn.00473b95
push 8
call fcn.0045c4f7
xor esi, esi
mov dword [esp], str.SSRF.sat
push esi
push esi
call fcn.0044bf6e
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x48de20
push eax
call fcn.00401954
push 0xa9c
push edi
mov edx, 0x48d22c
lea ecx, [ebp - 0x110]
call fcn.00473c34
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x4613af
xor eax, eax
mov dword [0x5a89f8], esi
jmp 0x461117
push edi
push 1
lea eax, [ebp - 0x27d0]
push ebx
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x4613cd
mov dword [ebp - 0x27e0], esi
mov ecx, edi
call fcn.00475e84
mov eax, dword [ebp - 0x27e0]
jmp 0x4613a4