Function at 0x4635d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b73e7
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x629960]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x160], eax
mov byte [ebp - 0x15c], al
mov dword [ebp - 4], 1
cmp dword [ebp + 0x1c], 5
jb 0x463933
push dword [ebp - 0x15c]
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00463d10
mov ebx, eax
lea esi, [edi + 0x290]
cmp esi, ebx
je 0x46366b
cmp dword [esi + 0x14], 0x10
jb 0x463652
push dword [esi]
call fcn.0048c32c
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00437970
cmp dword [ebp - 0x168], 0x10
jb 0x463682
push dword [ebp - 0x17c]
call fcn.0048c32c
add esp, 4
call fcn.004dfdb0
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
mov dword [edi + 0x2cc], eax
cmovae ecx, dword [ebp + 0xc]
push ecx
push 0x2712
push eax
call fcn.004e0100
add esp, 0xc
push dword [edi + 0x2c4]
push 0xd
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 0x463af0
push 0x4e2b
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push edi
push 0x2711
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 0x80000
push 0x62
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 5
push 0x44
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 1
push 0x34
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 0
push 0x2b
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 0x463ba0
push 0x4e58
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push edi
push 0x2749
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 0
push 0x40
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
push 0
push 0x51
push dword [edi + 0x2cc]
call fcn.004e0100
add esp, 0xc
cmp byte [ebp - 0x160], 0
je 0x4637f6
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x168], 0xf
mov dword [ebp - 0x16c], 0
mov byte [ebp - 0x17c], 0
call fcn.004374f0
cmp dword [ebp - 0x168], 0x10
lea ecx, [ebp - 0x154]
lea eax, [ebp - 0x17c]
cmovae eax, dword [ebp - 0x17c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x463800
cmp dword [ebp - 0x168], 0x10
jb 0x4637f6
push dword [ebp - 0x17c]
call fcn.0048c32c
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x46387a
mov eax, dword [esi]
jmp 0x46387c
mov eax, dword [ebp - 0x138]
xor ebx, ebx
or ebx, dword [ebp - 0x134]
cmp dword [ebp - 0x168], 0x10
mov dword [ebp - 0x15c], eax
jb 0x463831
push dword [ebp - 0x17c]
call fcn.0048c32c
mov eax, dword [ebp - 0x15c]
add esp, 4
test eax, eax
jl 0x4637f6
jg 0x46383b
test ebx, ebx
je 0x4637f6
push eax
push ebx
push 0x75a4
push dword [edi + 0x2cc]
call fcn.004e0100
mov eax, dword [ebp - 0x15c]
add esp, 0x10
mov dword [edi + 0x288], ebx
mov dword [edi + 0x28c], eax
cmp dword [esi + 0x14], 0x10
jb 0x463871
mov eax, dword [esi]
push 0x610034
jmp 0x463881
mov eax, esi
push 0x610034
jmp 0x463881
mov eax, esi
push 0x610030
push eax
lea ebx, [edi + 0x2d0]
push ebx
call fcn.004d89ef
add esp, 0xc
cmp dword [ebx], 0
jne 0x463989
push 0x60e184
lea ecx, [ebp - 0x17c]
call fcn.00438360
lea edx, [ebp - 0x17c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x164]
call fcn.004650e0
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x4638cb
mov esi, dword [esi]
push esi
push str.Curl_Cannot_open___s_
push dword [eax]
call fcn.00465310
mov byte [ebp - 4], 2
add esp, 0xc
mov esi, dword [ebp - 0x160]
test esi, esi
je 0x46390e
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x46390e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x46390e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x168], 8
jb 0x463925
push dword [ebp - 0x17c]
call fcn.0048c32c
add esp, 4
push dword [edi + 0x2cc]
call fcn.004dfd70
add esp, 4
xor bl, bl
cmp dword [ebp + 0x20], 0x10
jb 0x463946
push dword [ebp + 0xc]
call fcn.0048c32c
add esp, 4
cmp dword [ebp + 0x38], 0x10
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
jb 0x463969
push dword [ebp + 0x24]
call fcn.0048c32c
add esp, 4
mov al, bl
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.004a16e5
mov esp, ebp
pop ebp
ret 0x34
lea ecx, [edi + 0x2d4]
push 0x400000
call fcn.00436ce0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [edi + 0x2cc]
mov dword [edi + 0x2c8], eax
call fcn.004dff70
mov ecx, dword [edi + 0x2e0]
add esp, 4
mov dword [ebp - 0x160], eax
test ecx, ecx
je 0x4639d6
push dword [ebx]
push ecx
push 1
push dword [edi + 0x2d4]
call fcn.004a2a2c
add esp, 0x10
push dword [ebx]
call fcn.004a329d
add esp, 4
cmp dword [ebp - 0x160], 0
jne 0x463ad7
cmp dword [edi + 0x30], 0x10
lea ebx, [edi + 0x1c]
jb 0x4639fa
mov eax, dword [ebx]
jmp 0x4639fc
mov eax, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x160], esp
push eax
call fcn.004372e0
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x463a1b
mov eax, dword [esi]
jmp 0x463a1d
mov eax, esi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004372e0
mov edx, 0x64
mov byte [ebp - 4], 1
mov ecx, 0x1388
call fcn.00444b80
add esp, 0x30
test al, al
je 0x463a57
push dword [edi + 0x2cc]
mov bl, 1
call fcn.004dfd70
add esp, 4
jmp 0x463935
push 0x60e184
lea ecx, [ebp - 0x17c]
mov byte [ebp - 0x155], 0
call fcn.00438360
lea edx, [ebp - 0x17c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x164]
call fcn.004650e0
mov byte [ebp - 4], 6
cmp dword [ebx + 0x14], 0x10
jb 0x463a8f
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x463a97
mov esi, dword [esi]
push ebx
push esi
push str.Curl_Error_rename_file__s_____s_
push dword [eax]
call fcn.00465310
add esp, 0x10
lea ecx, [ebp - 0x164]
call fcn.00442a70
lea ecx, [ebp - 0x17c]
call fcn.00437d30
push dword [edi + 0x2cc]
mov bl, byte [ebp - 0x155]
call fcn.004dfd70
add esp, 4
jmp 0x463935
push dword [edi + 0x2cc]
xor bl, bl
call fcn.004dfd70
add esp, 4
jmp 0x463935