Function at 0x4630b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6298
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x628960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x20], al
mov dword [ebp - 4], 1
cmp dword [ebp + 0x1c], 5
jb 0x463375
push dword [ebp - 0x20]
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004637a0
mov ebx, eax
lea esi, [edi + 0x290]
cmp esi, ebx
je 0x463139
cmp dword [esi + 0x14], 0x10
jb 0x463120
push dword [esi]
call fcn.0048b2ba
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.004379f0
cmp dword [ebp - 0x24], 0x10
jb 0x46314a
push dword [ebp - 0x38]
call fcn.0048b2ba
add esp, 4
call fcn.004ded40
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.004df090
add esp, 0xc
push dword [edi + 0x2c4]
push 0xd
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 0x463580
push 0x4e2b
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push edi
push 0x2711
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 0x80000
push 0x62
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 5
push 0x44
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 1
push 0x34
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 0
push 0x2b
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 0x463630
push 0x4e58
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push edi
push 0x2749
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 0
push 0x40
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
push 0
push 0x51
push dword [edi + 0x2cc]
call fcn.004df090
add esp, 0xc
cmp byte [ebp - 0x18], 0
je 0x4632c4
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.00437570
call fcn.00463510
mov ebx, eax
mov eax, edx
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x4632c4
jg 0x463288
test ebx, ebx
je 0x4632c4
push eax
push ebx
push 0x75a4
push dword [edi + 0x2cc]
call fcn.004df090
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov dword [edi + 0x288], ebx
mov dword [edi + 0x28c], eax
cmp dword [esi + 0x14], 0x10
jb 0x4632bb
mov eax, dword [esi]
push 0x60f0f8
jmp 0x4632d5
mov eax, esi
push 0x60f0f8
jmp 0x4632d5
cmp dword [esi + 0x14], 0x10
jb 0x4632ce
mov eax, dword [esi]
jmp 0x4632d0
mov eax, esi
push 0x60f114
push eax
lea ebx, [edi + 0x2d0]
push ebx
call fcn.004d793d
add esp, 0xc
cmp dword [ebx], 0
jne 0x4633c1
push 0x60d24c
lea ecx, [ebp - 0x38]
call fcn.004384d0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00464ac0
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x463316
mov esi, dword [esi]
push esi
push str.Curl_Cannot_open___s_
push dword [eax]
call fcn.00464ce0
mov byte [ebp - 4], 2
add esp, 0xc
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x463356
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x463356
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x463356
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x24], 8
jb 0x463367
push dword [ebp - 0x38]
call fcn.0048b2ba
add esp, 4
push dword [edi + 0x2cc]
call fcn.004ded00
add esp, 4
xor bl, bl
cmp dword [ebp + 0x20], 0x10
jb 0x463388
push dword [ebp + 0xc]
call fcn.0048b2ba
add esp, 4
cmp dword [ebp + 0x38], 0x10
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
jb 0x4633ab
push dword [ebp + 0x24]
call fcn.0048b2ba
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 esp, ebp
pop ebp
ret 0x34
lea ecx, [edi + 0x2d4]
push 0x400000
call fcn.00436d60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [edi + 0x2cc]
mov dword [edi + 0x2c8], eax
call fcn.004def00
mov ecx, dword [edi + 0x2e0]
add esp, 4
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46340b
push dword [ebx]
push ecx
push 1
push dword [edi + 0x2d4]
call fcn.004a1a2e
add esp, 0x10
push dword [ebx]
call fcn.004a229f
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x4634f1
cmp dword [edi + 0x30], 0x10
lea ebx, [edi + 0x1c]
jb 0x46342c
mov eax, dword [ebx]
jmp 0x46342e
mov eax, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00437360
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x46344a
mov eax, dword [esi]
jmp 0x46344c
mov eax, esi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00437360
mov edx, 0x64
mov byte [ebp - 4], 1
mov ecx, 0x1388
call fcn.00444c90
add esp, 0x30
test al, al
je 0x463486
push dword [edi + 0x2cc]
mov bl, 1
call fcn.004ded00
add esp, 4
jmp 0x463377
push 0x60d24c
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x11], 0
call fcn.004384d0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00464ac0
mov byte [ebp - 4], 6
cmp dword [ebx + 0x14], 0x10
jb 0x4634b2
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x4634ba
mov esi, dword [esi]
push ebx
push esi
push str.Curl_Error_rename_file__s_____s_
push dword [eax]
call fcn.00464ce0
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00442e20
lea ecx, [ebp - 0x38]
call fcn.00437ea0
push dword [edi + 0x2cc]
mov bl, byte [ebp - 0x11]
call fcn.004ded00
add esp, 4
jmp 0x463377
push dword [edi + 0x2cc]
xor bl, bl
call fcn.004ded00
add esp, 4
jmp 0x463377