Function at 0x466ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc20
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 8], eax
mov al, byte [0x5f65c4]
mov byte [ebp - 0x408], al
push 0x1ff
push 0
lea ecx, [ebp - 0x407]
push ecx
call fcn.005323e0
add esp, 0xc
mov dword [ebp - 0x80c], 0
mov dword [ebp - 4], 0
mov dl, byte [0x5f65c5]
mov byte [ebp - 0x208], dl
push 0x1ff
push 0
lea eax, [ebp - 0x207]
push eax
call fcn.005323e0
add esp, 0xc
mov cl, byte [0x5f65c6]
mov byte [ebp - 0x808], cl
push 0x3ff
push 0
lea edx, [ebp - 0x807]
push edx
call fcn.005323e0
add esp, 0xc
push str.WD_Put
push 4
call fcn.00436500
add esp, 8
cmp dword [0x5656ec], 0
jle 0x466ee1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0xd852c0
push 0x565c48
lea edx, [ebp - 0x408]
push edx
call fcn.00532706
add esp, 0x14
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00532580
add esp, 8
push 0xd852c0
call fcn.00532e80
add esp, 4
lea edx, [ebp + eax - 0x208]
mov dword [ebp - 4], edx
push 0x2f
mov eax, dword [ebp - 4]
push eax
call fcn.005350b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x466c25
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
lea edx, [ebp - 0x208]
push edx
call fcn.00466180
add esp, 4
test eax, eax
jne 0x466c09
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [0x5f6484]
push ecx
call fcn.00518a50
add esp, 8
mov edx, dword [ebp - 4]
mov byte [edx], 0x2f
push 0x2f
mov eax, dword [ebp - 4]
add eax, 1
push eax
call fcn.005350b0
add esp, 8
mov dword [ebp - 4], eax
jmp 0x466bd4
cmp dword [ebp + 0x14], 0
je 0x466eab
mov cl, byte [0x5f65c7]
mov byte [ebp - 0xc18], cl
push 0x3ff
push 0
lea edx, [ebp - 0xc17]
push edx
call fcn.005323e0
add esp, 0xc
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x814], 0
mov eax, dword [ebp + 8]
push eax
push str._s_zp
lea ecx, [ebp - 0xc18]
push ecx
call fcn.00532706
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.0041dea0
add esp, 4
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x810], 0
je 0x466e0e
mov dword [ebp - 0xc20], 0
mov dword [ebp - 0xc1c], 0
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax]
shl ecx, 2
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0xc1c]
push edx
call fcn.005324a9
add esp, 4
mov dword [ebp - 0xc20], eax
cmp dword [ebp - 0xc20], 0
je 0x466dff
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x810]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0xc1c]
push ecx
mov edx, dword [ebp - 0xc20]
push edx
call fcn.004939f0
add esp, 0x10
push 0x565c58
lea eax, [ebp - 0xc18]
push eax
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x466de6
mov ecx, dword [ebp - 0xc1c]
add ecx, 0x10
mov edx, dword [ebp - 0x810]
cmp dword [edx], ecx
jbe 0x466db3
mov eax, dword [ebp - 0x814]
push eax
push 1
push 8
push 0x565c5c
call fcn.005337fa
add esp, 0x10
mov ecx, dword [ebp - 0x814]
push ecx
push 1
push 4
lea edx, [ebp - 0xc1c]
push edx
call fcn.005337fa
add esp, 0x10
mov eax, dword [ebp - 0x814]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x810]
push ecx
call fcn.005337fa
add esp, 0x10
mov edx, dword [ebp - 0x814]
push edx
push 1
mov eax, dword [ebp - 0xc1c]
push eax
mov ecx, dword [ebp - 0xc20]
push ecx
call fcn.005337fa
add esp, 0x10
jmp 0x466dd7
mov edx, dword [ebp - 0x814]
push edx
push 1
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x810]
mov eax, dword [edx + 4]
push eax
call fcn.005337fa
add esp, 0x10
mov ecx, dword [ebp - 0x814]
push ecx
call fcn.00431d50
add esp, 4
mov edx, dword [ebp - 0xc20]
push edx
call fcn.00532828
add esp, 4
mov dword [ebp - 0xc20], 0
mov eax, dword [ebp - 0x810]
push eax
call fcn.0041e310
add esp, 4
cmp dword [ebp - 0x814], 0
je 0x466e74
push 0x565c68
lea ecx, [ebp - 0x408]
push ecx
call fcn.00532590
add esp, 8
lea edx, [ebp - 0xc18]
push edx
lea eax, [ebp - 0x808]
push eax
call fcn.00532580
add esp, 8
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x808]
push edx
mov eax, dword [0x5f6484]
push eax
call fcn.00518620
add esp, 0xc
mov dword [ebp - 0x80c], eax
lea ecx, [ebp - 0xc18]
push ecx
call fcn.00429360
add esp, 4
jmp 0x466ea9
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x808]
push eax
call fcn.00532580
add esp, 8
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x808]
push edx
mov eax, dword [0x5f6484]
push eax
call fcn.00518620
add esp, 0xc
mov dword [ebp - 0x80c], eax
jmp 0x466ee1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x808]
push edx
call fcn.00532580
add esp, 8
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [0x5f6484]
push edx
call fcn.00518620
add esp, 0xc
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret