Function at 0x41f600
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46b486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.00416ed0
lea ecx, [esp + 0x24]
mov dword [esp + 0x188], 0
call fcn.00416ed0
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 1
call fcn.00416ed0
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], 2
call fcn.00416ed0
lea ecx, [esp + 0x94]
mov byte [esp + 0x188], 3
call fcn.00416ed0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x188], 4
call fcn.00416ed0
mov edi, dword [esp + 0x190]
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x94]
push eax
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
push edi
mov byte [esp + 0x1a8], 5
call fcn.0041ef14
add esp, 0x20
test al, al
jne 0x41f6f2
mov esi, dword [esp + 0x1a4]
push str.Failed_to_parse_URL
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x10]
mov eax, dword [esi]
push edi
push 0x48326c
mov ecx, esi
call dword [eax + 0x28]
jmp 0x41f7cd
lea ecx, [esp + 0x24]
call fcn.004226f0
test eax, eax
je 0x41f70c
lea ecx, [esp + 0x24]
call fcn.00422700
mov edi, eax
jmp 0x41f70e
xor edi, edi
lea ecx, [esp + 0x40]
call fcn.004226f0
test eax, eax
je 0x41f728
lea ecx, [esp + 0x40]
call fcn.00422700
mov ebp, eax
jmp 0x41f72a
xor ebp, ebp
mov esi, dword [esp + 0x194]
test edi, edi
je 0x41f751
test ebp, ebp
je 0x41f751
push edi
lea ecx, [esi + 0x158]
call fcn.00417e70
push ebp
lea ecx, [esi + 0x174]
call fcn.00417e70
mov ebp, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x1c]
push ebp
push esi
push ecx
lea ecx, [esp + 0x68]
call fcn.00422700
push eax
mov ecx, ebx
call fcn.0041f450
mov ebx, eax
test ebx, ebx
je 0x41f7cd
mov edi, dword [esp + 0x198]
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], 0
call fcn.0041ca20
mov byte [esp + 0x19], al
mov al, byte [esp + 0x1a4]
add esp, 8
mov byte [esp + 0x10], 0
test al, al
push ebp
je 0x41f7b5
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00440000
jmp 0x41f7c0
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.0043ff70
mov edi, eax
mov al, byte [esp + 0x1c]
add esp, 0xc
test al, al
jne 0x41f843
lea ecx, [esp + 0xb0]
mov byte [esp + 0x188], 4
call fcn.004171c0
lea ecx, [esp + 0x94]
mov byte [esp + 0x188], 3
call fcn.004171c0
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], 2
call fcn.004171c0
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 1
call fcn.004171c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0
call fcn.004171c0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x188], 0xffffffff
call fcn.004171c0
xor al, al
jmp 0x41fada
mov dl, byte [esi + 0x33]
mov al, byte [esi + 0x32]
push 0
push 0
push 0
push edi
lea ecx, [esp + 0x114]
mov byte [esp + 0x23], dl
mov byte [esi + 0x33], 0
mov byte [esp + 0x22], al
mov byte [esi + 0x32], 0
call fcn.00440160
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1a0]
push ecx
mov ecx, dword [esp + 0x194]
push ebp
lea eax, [esp + 0x10c]
push edx
push eax
push esi
push ecx
mov ecx, ebx
mov byte [esp + 0x1a0], 6
call fcn.00429fc0
mov dl, byte [esp + 0x13]
mov bl, al
mov al, byte [esp + 0x12]
mov byte [esi + 0x33], dl
test bl, bl
mov byte [esi + 0x32], al
jne 0x41f8e7
mov al, byte [esp + 0x11]
test al, al
jne 0x41f8e7
push 0
push edi
call fcn.0041c5e0
add esp, 8
mov esi, eax
mov dword [esp + 0x18], edx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, dword [esp + 0x18]
mov esi, dword [esp + 0x198]
jne 0x41f8f5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x41f8f5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x198]
lea ecx, [esp + 0xe8]
call fcn.00416ed0
mov edx, dword [esp + 0x1a0]
lea ecx, [esp + 0xe8]
push ecx
push str.content_encoding
lea ecx, [edx + 0x38]
mov byte [esp + 0x190], 7
call fcn.00421e80
push str.gzip
lea ecx, [esp + 0xec]
call fcn.00418450
test al, al
je 0x41fa41
push esi
lea ecx, [esp + 0xd0]
call fcn.00416de0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x188], 8
call fcn.00417d10
push 0x48256c
lea ecx, [esp + 0xd0]
call fcn.00416b30
test al, al
jne 0x41fa2d
push str..tgz
lea ecx, [esp + 0xd0]
call fcn.00416b30
test al, al
jne 0x41fa2d
test bl, bl
je 0x41fa2d
lea ecx, [esp + 0x124]
call fcn.0043f9f0
push ebp
push esi
lea ecx, [esp + 0x12c]
mov byte [esp + 0x190], 9
call fcn.0043f990
test al, al
je 0x41fa19
push 0xa
push 0
lea ecx, [esp + 0x12c]
call fcn.0043fb80
test eax, eax
je 0x41fa19
cmp byte [eax], 0x1f
jne 0x41fa19
cmp byte [eax + 1], 0x8b
jne 0x41fa19
lea ecx, [esp + 0x124]
call fcn.0043f920
lea ecx, [esp + 0x14]
call fcn.004467d0
push ebp
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x190], 0xa
call fcn.00446f40
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x188], 9
call fcn.00446800
lea ecx, [esp + 0x124]
mov byte [esp + 0x188], 8
call fcn.0043f860
lea ecx, [esp + 0xcc]
mov byte [esp + 0x188], 7
call fcn.004171c0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x188], 6
call fcn.004171c0
lea ecx, [esp + 0x104]
mov byte [esp + 0x188], 5
call fcn.00440190
lea ecx, [esp + 0xb0]
mov byte [esp + 0x188], 4
call fcn.004171c0
lea ecx, [esp + 0x94]
mov byte [esp + 0x188], 3
call fcn.004171c0
lea ecx, [esp + 0x78]
mov byte [esp + 0x188], 2
call fcn.004171c0
lea ecx, [esp + 0x40]
mov byte [esp + 0x188], 1
call fcn.004171c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 0
call fcn.004171c0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x188], 0xffffffff
call fcn.004171c0
mov al, bl
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x17c
ret 0x1c