Function at 0x4acac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5238db
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x40]
mov edi, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x2c]
mov dword [ebp - 0x570], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x56c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x568], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x560], eax
mov eax, dword [ebp + 0x3c]
push eax
push esi
lea eax, [ebp - 0x554]
mov dword [ebp - 0x564], ecx
push eax
call fcn.004acdd0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x554]
cmp dword [ebp - 0x540], 0x10
push esi
cmovae eax, dword [ebp - 0x554]
push eax
push str._s_d_request_header.txt
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.004ab890
add esp, 0x14
lea eax, [ebp - 0x554]
cmp dword [ebp - 0x540], 0x10
cmovae eax, dword [ebp - 0x554]
push esi
push eax
push str._s_d_request_content.dat
lea eax, [ebp - 0x32c]
push 0x104
push eax
call fcn.004ab890
add esp, 0x14
lea eax, [ebp - 0x554]
cmp dword [ebp - 0x540], 0x10
cmovae eax, dword [ebp - 0x554]
push esi
push eax
push str._s_d_response_header.txt
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.004ab890
add esp, 0x14
lea eax, [ebp - 0x554]
cmp dword [ebp - 0x540], 0x10
cmovae eax, dword [ebp - 0x554]
push esi
push eax
push str._s_d_response_content.dat
lea eax, [ebp - 0x53c]
push 0x104
push eax
call fcn.004ab890
add esp, 0x14
lea eax, [ebp - 0x554]
cmp dword [ebp - 0x540], 0x10
cmovae eax, dword [ebp - 0x554]
push esi
push eax
push str._s_d_details.txt
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004ab890
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x4acc94
cmp dword [edi + 0x14], 0x10
mov esi, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x55c], eax
jb 0x4acc40
mov esi, dword [edi]
push 0x573308
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.0050a816
add esp, 0xc
test eax, eax
jne 0x4acc81
push dword [ebp - 0x558]
push 1
push dword [ebp - 0x55c]
push esi
call fcn.0050be9b
push dword [ebp - 0x558]
call fcn.0050a8d3
add esp, 0x14
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x4acd30
lea eax, [ebp - 0x32c]
jmp 0x4accf5
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x55c], eax
jb 0x4acca7
mov esi, dword [ebx]
push 0x573308
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.0050a816
add esp, 0xc
test eax, eax
jne 0x4acce8
push dword [ebp - 0x558]
push 1
push dword [ebp - 0x55c]
push esi
call fcn.0050be9b
push dword [ebp - 0x558]
call fcn.0050a8d3
add esp, 0x14
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x4acd30
lea eax, [ebp - 0x53c]
push 0x573308
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.0050a816
add esp, 0xc
test eax, eax
jne 0x4acd30
push dword [ebp - 0x558]
push 1
push esi
push dword [ebp - 0x560]
call fcn.0050be9b
push dword [ebp - 0x558]
call fcn.0050a8d3
add esp, 0x14
push dword [ebp - 0x564]
lea eax, [ebp - 0x11c]
push esi
push dword [ebp + 0x30]
push ebx
push edi
push dword [ebp - 0x568]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x56c]
push dword [ebp - 0x570]
push eax
call fcn.004ad350
mov edx, dword [ebp - 0x540]
cmp edx, 0x10
jb 0x4acd99
mov ecx, dword [ebp - 0x554]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4acd8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4acdbc
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 0x3c
call fcn.00501cb1
int3