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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27fc
call fcn.004122f0
mov eax, dword [0x5092e4]
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 0x47c441
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.0047480c
mov dword [esp], 0xa30
mov edi, str.Network.c
push edi
push 8
call fcn.0047a356
add esp, 0xc
test eax, eax
jne 0x47c485
push 8
call fcn.00476372
mov dword [esp], 0xa33
push edi
push 8
call fcn.0047a356
add esp, 0xc
push 0xa40
xor ebx, ebx
lea eax, [ebp - 0x27fc]
push edi
inc ebx
push eax
mov dword [0x603b18], ebx
call fcn.004205e9
add esp, 0xc
push 0x61a8
push 0x80000020
push 4
push 7
lea eax, [ebp - 0x110]
mov dword [ebp - 0x27e0], ebx
call fcn.004a1899
add esp, 0x10
mov dword [ebp - 0x27d8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x27d8], 0xffffffff
jne 0x47c4ed
push 8
call fcn.00476372
pop ecx
mov dword [0x603b18], esi
jmp 0x47c430
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 0x47c5fd
cmp dword [ebp - 0x27e4], ebx
jb 0x47c5fd
cmp dword [ebp - 0x158], 0x41
ja 0x47c603
mov dword [ebp - 0x27d4], esi
cmp dword [ebp - 0x158], esi
jle 0x47c614
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.0041f61b
push eax
call fcn.004042fa
add esp, 0x24
cmp eax, 0x36ee80
jge 0x47c5d2
push dword [ebp - 0x27dc]
mov edx, dword [ebp - 0x27e8]
lea eax, [edx + 0x56a]
push 1
push eax
lea ecx, [ebp - 0x27d0]
call fcn.0047558d
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 0x47c57c
xor esi, esi
mov edi, str.Network.c
jmp 0x47c614
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 0x47c634
inc dword [0x603b14]
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 0x47c65c
cmp dword [ebp - 0x27ec], ebx
jae 0x47c668
inc dword [0x603b14]
mov dword [ebp - 0x27e0], esi
mov esi, dword [ebp - 0x27d8]
call fcn.0049ff62
push 8
call fcn.00476372
xor esi, esi
mov dword [esp], str.SSRF.sat
push esi
push esi
call fcn.004623aa
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x4cda20
push eax
call fcn.00401954
push 0xa9c
push edi
mov edx, 0x4cc8b8
lea ecx, [ebp - 0x110]
call fcn.004a0001
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x47c6ca
xor eax, eax
mov dword [0x603b18], esi
jmp 0x47c432
push edi
push 1
lea eax, [ebp - 0x27d0]
push ebx
push eax
call fcn.0040257f
add esp, 0x10
cmp eax, 1
jae 0x47c6e8
mov dword [ebp - 0x27e0], esi
mov ecx, edi
call fcn.004a2aec
mov eax, dword [ebp - 0x27e0]
jmp 0x47c6bf