Function at 0x4a15b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6ded
mov eax, dword fs:[0]
push eax
sub esp, 0xb88
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb88], ecx
xor eax, eax
je 0x4a15f1
mov dword [ebp - 0xb8c], str._gotohttp_x64.zip
jmp 0x4a15fb
mov dword [ebp - 0xb8c], str._gotohttp.zip
mov ecx, dword [ebp - 0xb8c]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x13c], 0
push 0x103
push 0
lea edx, [ebp - 0x13b]
push edx
call fcn.00597130
add esp, 0xc
push str.gotohttp.tmp
push 0x104
lea eax, [ebp - 0x244]
push eax
call fcn.00403300
add esp, 0xc
mov ecx, dword [ebp - 0xb88]
movzx edx, byte [ecx + 0x177]
test edx, edx
je 0x4a1653
or eax, 0xffffffff
jmp 0x4a1acc
mov eax, dword [ebp - 0xb88]
add eax, 0x177
push eax
mov ecx, dword [ebp - 0xb88]
add ecx, 0x78
push ecx
mov edx, dword [ebp - 0xb88]
push edx
lea ecx, [ebp - 0x28]
call fcn.004a1af0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jbe 0x4a1697
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4a16af
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xff
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00416050
push eax
lea ecx, [ebp - 0x248]
call fcn.00494fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004ab500
test eax, eax
je 0x4a1a9e
mov dword [ebp - 0x25c], 0
push 0x5bf8e8
lea edx, [ebp - 0x244]
push edx
call fcn.00599840
add esp, 8
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x4a173e
mov dword [ebp - 0xb7c], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004a8ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a1b60
mov eax, dword [ebp - 0xb7c]
jmp 0x4a1acc
lea ecx, [ebp - 0x248]
call fcn.004ab500
mov dword [ebp - 0xb90], eax
push 0x5bf8ec
mov eax, dword [ebp - 0xb90]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb90]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.004aae40
add esp, 4
mov dword [ebp - 0x254], eax
mov dword [ebp - 0xa60], 0
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x248]
call fcn.004ab500
mov dword [ebp - 0xb94], eax
push 1
push 0x800
lea ecx, [ebp - 0xa5c]
push ecx
mov edx, dword [ebp - 0xb94]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb94]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jle 0x4a1858
mov eax, dword [ebp - 0x250]
push eax
push 1
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0xa5c]
push edx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
je 0x4a17ff
mov dword [ebp - 0x25c], 3
jmp 0x4a1858
mov eax, dword [ebp - 0xa60]
add eax, dword [ebp - 0x24c]
mov dword [ebp - 0xa60], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xa64], eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x7d0
cmp dword [ebp - 0xa64], ecx
jbe 0x4a1853
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0xa60]
push eax
lea ecx, [ebp - 0x28]
call fcn.004a1b80
mov ecx, dword [ebp - 0xa64]
mov dword [ebp - 0x258], ecx
jmp 0x4a178a
mov edx, dword [ebp - 0x250]
push edx
call fcn.0059951c
add esp, 4
cmp dword [ebp - 0x25c], 0
jne 0x4a1a3c
lea eax, [ebp - 0x244]
push eax
call fcn.0053ead0
mov dword [ebp - 0xa68], eax
cmp dword [ebp - 0xa68], 0
jne 0x4a189e
mov dword [ebp - 0x25c], 4
jmp 0x4a1a3c
mov ecx, dword [ebp - 0xa68]
push ecx
call fcn.0053f410
test eax, eax
je 0x4a18bd
mov dword [ebp - 0x25c], 5
jmp 0x4a1a30
mov dword [ebp - 0x25c], 6
mov byte [ebp - 0xb74], 0
push 0
push 0
push 0
push 0
push 0x104
lea edx, [ebp - 0xb74]
push edx
push 0
mov eax, dword [ebp - 0xa68]
push eax
call fcn.0053f310
test eax, eax
jne 0x4a1a1c
push 0x5bf8fc
lea ecx, [ebp - 0xb74]
push ecx
call fcn.004014b0
add esp, 8
test eax, eax
je 0x4a1a1c
mov edx, dword [ebp - 0xa68]
push edx
call fcn.0053fc90
test eax, eax
jne 0x4a1a1a
push str..tmp
lea eax, [ebp - 0xb74]
push eax
call fcn.00597ab0
add esp, 8
lea ecx, [ebp - 0xb74]
push ecx
push 0x104
lea edx, [ebp - 0x13c]
push edx
call fcn.00403300
add esp, 0xc
push 0x5bf90c
lea eax, [ebp - 0x13c]
push eax
call fcn.00599840
add esp, 8
mov dword [ebp - 0xb78], eax
cmp dword [ebp - 0xb78], 0
jne 0x4a1989
mov dword [ebp - 0x25c], 7
jmp 0x4a1a0e
push 0x800
lea ecx, [ebp - 0xa5c]
push ecx
mov edx, dword [ebp - 0xa68]
push edx
call fcn.0053fcb0
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jle 0x4a19d1
mov eax, dword [ebp - 0xb78]
push eax
push 1
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0xa5c]
push edx
call fcn.005996fa
add esp, 0x10
jmp 0x4a1989
mov eax, dword [ebp - 0xb78]
push eax
call fcn.0059951c
add esp, 4
cmp dword [ebp - 0x24c], 0
jge 0x4a1a04
mov dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00599475
add esp, 4
jmp 0x4a1a0e
mov dword [ebp - 0x25c], 0
mov edx, dword [ebp - 0xa68]
push edx
call fcn.00540180
jmp 0x4a1a30
mov eax, dword [ebp - 0xa68]
push eax
call fcn.0053f4a0
test eax, eax
je 0x4a18c7
mov ecx, dword [ebp - 0xa68]
push ecx
call fcn.0053eaf0
lea edx, [ebp - 0x244]
push edx
call fcn.00599475
add esp, 4
cmp dword [ebp - 0x25c], 0
jne 0x4a1a6c
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0xb88]
call fcn.004a1c60
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0xb80], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004a8ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a1b60
mov eax, dword [ebp - 0xb80]
jmp 0x4a1acc
mov dword [ebp - 0xb84], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004a8ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a1b60
mov eax, dword [ebp - 0xb84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 8