Function at 0x404b3c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd0
mov eax, 0x4740c8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.004676dc
mov dword [ebp - 0xc], 2
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.00471778
inc dword [ebp - 0xc]
lea edx, [ebp + 0xc]
mov word [ebp - 0x18], 8
lea eax, [ebp + 0xc]
call fcn.00471778
inc dword [ebp - 0xc]
xor edi, edi
push str.begin_DownFile...
mov eax, dword [0x479918]
push eax
call fcn.00407fd0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
push ebx
call fcn.00404530
add esp, 8
mov cx, word [ebx + 8]
push ecx
mov eax, dword [ebx + 0x10]
push eax
push ebx
call fcn.00404900
add esp, 0xc
test eax, eax
jne 0x404bfd
push 0x473e67
mov edx, dword [0x479918]
push edx
call fcn.00407fd0
add esp, 8
mov eax, edi
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00471810
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00471810
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x404f47
mov ecx, dword [ebx + 0x14]
push ecx
push ebx
call fcn.004047f0
add esp, 8
test eax, eax
jne 0x404c54
push 0x473e69
mov eax, dword [0x479918]
push eax
call fcn.00407fd0
add esp, 8
mov eax, edi
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00471810
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00471810
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x404f47
push 0x400
lea ecx, [ebp - 0x430]
push ecx
push ebx
call fcn.004048e4
add esp, 0xc
mov esi, eax
test esi, esi
jg 0x404cb5
push 0x473e6b
mov eax, dword [0x479918]
push eax
call fcn.00407fd0
add esp, 8
mov eax, edi
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00471810
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00471810
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x404f47
xor ecx, ecx
lea eax, [ebp - 0x430]
mov dword [ebx + 0x60], ecx
push esi
push eax
lea edx, [ebx + 0x58]
push edx
call fcn.00405adc
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x18], 0x14
mov edx, 0x473e6d
lea eax, [ebp - 4]
call fcn.00471740
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
lea eax, [ebx + 0x84]
call fcn.00471868
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00471810
pop ecx
test cl, cl
je 0x404d51
push 0x473e71
mov eax, dword [0x479918]
push eax
call fcn.00407fd0
add esp, 8
mov eax, edi
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00471810
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00471810
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x404f47
mov ecx, esi
lea eax, [ebp - 0x430]
sub ecx, dword [ebp - 0x2c]
lea edx, [ebx + 0xa0]
push ecx
add eax, dword [ebp - 0x2c]
push eax
push edx
mov ecx, dword [ebx + 0xa0]
call dword [ecx + 8]
add esp, 0xc
mov eax, esi
sub eax, dword [ebp - 0x2c]
cdq
add dword [ebx + 0x94], eax
adc dword [ebx + 0x98], edx
jmp 0x404de2
push 0x400
lea ecx, [ebp - 0x430]
push ecx
push ebx
call fcn.004048e4
add esp, 0xc
mov esi, eax
test esi, esi
jg 0x404db8
push 0x473e73
mov eax, dword [0x479918]
push eax
call fcn.00407fd0
add esp, 8
jmp 0x404e02
push esi
lea edx, [ebp - 0x430]
push edx
lea ecx, [ebx + 0xa0]
push ecx
mov eax, dword [ebx + 0xa0]
call dword [eax + 8]
add esp, 0xc
mov eax, esi
cdq
add dword [ebx + 0x94], eax
adc dword [ebx + 0x98], edx
mov eax, dword [ebx + 0x94]
mov edx, dword [ebx + 0x98]
cmp edx, dword [ebx + 0x90]
jne 0x404e00
cmp eax, dword [ebx + 0x8c]
jb 0x404d88
jmp 0x404e02
jl 0x404d88
mov eax, dword [ebx + 0xb0]
cdq
cmp edx, dword [ebx + 0x90]
jne 0x404e1b
cmp eax, dword [ebx + 0x8c]
jae 0x404e64
jmp 0x404e1d
jge 0x404e64
push 0x473e75
mov ecx, dword [0x479918]
push ecx
call fcn.00407fd0
add esp, 8
mov eax, edi
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00471810
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00471810
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x404f47
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
cmp dword [ebp + 0x10], 0
je 0x404e81
mov ecx, dword [ebp + 0x10]
jmp 0x404e86
mov ecx, 0x473e77
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
mov word [ebp - 0x18], 8
cmp esi, 0xffffffff
jne 0x404edc
push 0x473e78
mov eax, dword [0x479918]
push eax
call fcn.00407fd0
add esp, 8
mov eax, edi
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00471810
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00471810
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x404f47
push 0
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebx + 0xb0]
push eax
add ebx, 0xa0
push ebx
call fcn.00405164
pop ecx
push eax
push esi
call sub.KERNEL32.DLL_WriteFile
push esi
call sub.KERNEL32.DLL_CloseHandle
push str.end_DownFile....
mov eax, dword [0x479918]
push eax
call fcn.00407fd0
add esp, 8
mov eax, 1
push eax
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00471810
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00471810
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret