Function at 0x42f9f0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x40]
sub esp, 0x40
push 0xffffffffffffffff
push 0x5c2680
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x629af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x4c]
push eax
mov ecx, ebx
call fcn.00409620
push esi
lea ecx, [ebx + 0x1c]
mov dword [ebp - 4], 0
call fcn.00409620
mov byte [ebp - 4], 1
push ebx
mov byte [ebx + 0x38], 0
call fcn.0042f880
mov edi, eax
add esp, 4
mov dword [ebp + 0x30], edi
test edi, edi
jne 0x42faa2
lea ecx, [ecx]
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, 0x632cd8
call fcn.0042af50
push str.GetHttpFileLen___0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040eb00
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0042ad30
push ebx
call fcn.0042f880
mov edi, eax
add esp, 4
mov dword [ebp + 0x30], eax
test edi, edi
je 0x42fa60
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, esi
mov dword [ebp + 0x4c], 0
call fcn.00409700
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0x34], eax
cmp eax, 0xffffffff
jne 0x42fb19
lea edx, [ebp - 0x9c]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov byte [ebp - 4], 3
test eax, eax
je 0x42faef
add eax, 8
jmp 0x42faf1
xor eax, eax
push str.CreateFileA_Error:
push eax
call fcn.00411aa0
add esp, 8
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0042ad30
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42feb4
push 0x100000
call fcn.0047bb82
add esp, 4
xor esi, esi
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x3c], esi
mov edi, edi
cmp dword [ebp + 0x4c], edi
jae 0x42fe8f
push 0x894
mov byte [ebp - 4], 4
call fcn.0047bb48
add esp, 4
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42fb60
push ebx
push eax
call fcn.0042f030
mov ecx, eax
jmp 0x42fb62
xor ecx, ecx
mov dword [ebp + 0x28], ecx
mov byte [ebp - 4], 6
test ecx, ecx
jne 0x42fb82
push 0x61e098
lea eax, [ebp + 0x1c]
push eax
mov dword [ebp + 0x1c], 0x250
call fcn.005829c0
mov edx, dword [ebp + 0x4c]
push edx
call fcn.0042f3b0
mov edi, eax
mov dword [ebp + 8], edi
mov byte [ebp - 4], 7
test edi, edi
jne 0x42fbad
push 0x61e098
lea eax, [ebp + 0x20]
push eax
mov dword [ebp + 0x20], 0x252
call fcn.005829c0
xor ebx, ebx
nop
mov ecx, dword [ebp + 0x30]
cmp dword [ebp + 0x4c], ecx
jae 0x42fc0b
mov eax, dword [ebp + 0x2c]
mov edx, 0x100000
sub edx, esi
push edx
lea ecx, [esi + eax]
push ecx
call fcn.0042f740
test eax, eax
je 0x42fc0b
cmp eax, 0xfffffffe
jne 0x42fc4c
inc ebx
cmp ebx, 0x64
jle 0x42fbb0
lea edx, [ebp - 0x9c]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
push str.Block_100_times_ReStart
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040eb00
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.0042ad30
test esi, esi
jle 0x42fd01
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x34]
push 0
lea edx, [ebp + 0x38]
push edx
push esi
push eax
push ecx
mov dword [ebp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42fcdf
push 0x61e098
lea edx, [ebp + 0x14]
push edx
mov dword [ebp + 0x14], 0x27f
call fcn.005829c0
add esi, eax
mov dword [ebp + 0x3c], esi
cmp esi, 0x100000
jne 0x42fcb8
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x34]
push 0
lea eax, [ebp + 0x38]
push eax
push esi
push ecx
push edx
mov dword [ebp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42fc8e
push 0x61e098
lea eax, [ebp + 0x24]
push eax
mov dword [ebp + 0x24], 0x26f
call fcn.005829c0
cmp dword [ebp + 0x38], 0x100000
je 0x42fcac
push 0x61e098
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], 0x270
call fcn.005829c0
add dword [ebp + 0x4c], 0x100000
xor esi, esi
mov dword [ebp + 0x3c], esi
mov ecx, dword [ebp + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x42fcd2
mov edx, dword [ebp + 0x4c]
add ecx, 0x40
push ecx
lea ecx, [esi + edx]
push ecx
call eax
add esp, 8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42fbb0
cmp dword [ebp + 0x38], esi
je 0x42fcf9
push 0x61e098
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], 0x280
call fcn.005829c0
add dword [ebp + 0x4c], esi
xor esi, esi
mov dword [ebp + 0x3c], esi
mov ecx, dword [ebp + 0x4c]
cmp ecx, dword [ebp + 0x30]
jae 0x42fd54
lea edx, [ebp - 0x9c]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
push str.ReStart_Down_:
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040eb00
test eax, eax
je 0x42fd33
add eax, 8
jmp 0x42fd35
xor eax, eax
mov ecx, dword [ebp + 0x48]
add ecx, 0x40
push ecx
push eax
call fcn.00411de0
add esp, 8
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.0042ad30
mov byte [ebp - 4], 6
test edi, edi
je 0x42fd73
lea ecx, [edi + 0x64]
call fcn.00409660
push edi
call fcn.0042e770
push edi
call fcn.0047bb77
add esp, 4
mov byte [ebp - 4], 4
mov edi, dword [ebp + 0x28]
test edi, edi
je 0x42fd95
lea ecx, [edi + 0x64]
call fcn.00409660
push edi
call fcn.0042e770
push edi
call fcn.0047bb77
add esp, 4
mov edi, dword [ebp + 0x30]
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 0x48]
jmp 0x42fb30
cmp dword [ebp + 0x34], 0xffffffff
je 0x42fe9f
mov edx, dword [ebp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x2c]
push eax
call fcn.0047bb77
add esp, 4
cmp dword [ebp + 0x4c], edi
sete cl
mov byte [ebx + 0x38], cl
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x40
mov esp, ebp
pop ebp
ret 8