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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1484
call fcn.00411aa0
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x1480], eax
push ebx
push esi
push edi
push 0x103
xor edi, edi
lea eax, [esp + 0x1385]
mov esi, ecx
push edi
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x138c], 0
call fcn.00401f80
add esp, 0xc
push 0x1358
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
call fcn.00401f80
add esp, 0xc
cmp esi, edi
jne 0x46c0c9
xor eax, eax
jmp 0x46c3bb
mov ebx, 0x135c
push ebx
push edi
push esi
call fcn.00401f80
add esp, 0xc
push str.SSRF.sat
lea edi, [esp + 0x1384]
call fcn.00466283
mov dword [esp], 0xacc
mov edi, str.Network.c
push edi
push 8
call fcn.0046b9b6
add esp, 0xc
test eax, eax
jne 0x46c11e
push 8
call fcn.00467de9
mov dword [esp], 0xacf
push edi
push 8
call fcn.0046b9b6
add esp, 0xc
push 0x61a8
push 0x20
push 3
push 1
lea eax, [esp + 0x1390]
call fcn.0048ec75
add esp, 0x10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp esi, 0xffffffff
jne 0x46c17e
push 8
call fcn.00467de9
mov eax, dword [esp + 0x18]
pop ecx
cmp eax, 2
je 0x46c3b8
cmp eax, 3
je 0x46c3b8
cmp eax, 0xf
je 0x46c3b8
cmp eax, 0x35
je 0x46c3b8
jmp 0x46c0c2
and dword [esp + 0x18], 0
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46c25e
cmp dword [esp + 0x18], ebx
jb 0x46c25e
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1318]
test eax, eax
js 0x46c264
cmp eax, 0x41
jg 0x46c264
call fcn.0048d33e
push 8
call fcn.00467de9
mov esi, dword [esp + 0x14]
pop ecx
push 0x10
lea eax, [esi + 0x134c]
push 0
push eax
mov dword [esp + 0x20], eax
call fcn.00401f80
add esp, 0xc
push 0x10
add esi, 0x132c
push 0
push esi
mov dword [esp + 0x1c], esi
call fcn.00401f80
add esp, 0xc
push str.SSRF.sat
push 0
push 0
call fcn.0045531b
pop ecx
pop ecx
push eax
lea eax, [esp + 0x1388]
push 0x4af44c
push eax
call fcn.00401954
push 0xb50
push edi
mov edx, 0x4ae668
lea ecx, [esp + 0x1398]
call fcn.0048d3dd
xor edi, edi
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp eax, edi
jne 0x46c336
lea edi, [esp + 0x1380]
call fcn.0048e806
jmp 0x46c3b8
inc dword [0x5dc760]
call fcn.0048d33e
push ebx
push 0
push dword [esp + 0x18]
call fcn.00401f80
add esp, 0xc
push 0x61a8
push 0x80000020
push 4
push 7
lea eax, [esp + 0x1390]
call fcn.0048ec75
add esp, 0x10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x46c2cf
and dword [esp + 0x14], 0
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46c2c4
cmp dword [esp + 0x14], ebx
jae 0x46c2ca
inc dword [0x5dc764]
call fcn.0048d33e
push str.SSRF.sat
push 0
push 0
call fcn.0045531b
pop ecx
pop ecx
push eax
lea eax, [esp + 0x1388]
push 0x4af44c
push eax
call fcn.00401954
push 0xb30
push edi
mov edx, 0x4ae7a4
lea ecx, [esp + 0x1398]
call fcn.0048d3dd
mov esi, eax
add esp, 0x18
test esi, esi
je 0x46c329
push esi
push 1
push ebx
push dword [esp + 0x1c]
call fcn.0040257f
add esp, 0x10
mov ecx, esi
call fcn.0048fcf9
push 8
call fcn.00467de9
pop ecx
jmp 0x46c0c2
push eax
push 1
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00402244
add esp, 0x10
cmp eax, 1
jae 0x46c36f
inc dword [0x5dc768]
push 0x10
push edi
push dword [esp + 0x1c]
call fcn.00401f80
add esp, 0xc
push 0x10
push edi
push esi
call fcn.00401f80
add esp, 0xc
jmp 0x46c393
mov dword [0x5dc768], edi
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x136c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x134c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
call fcn.0048fcf9
cmp dword [0x5dc768], 0xa
jl 0x46c3b8
lea eax, [esp + 0x1380]
call fcn.0048e8b7
and dword [0x5dc768], 0
xor eax, eax
inc eax
mov ecx, dword [esp + 0x148c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret