Function at 0x46b4c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f6346
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x58]
call fcn.00451c20
lea ecx, [esp + 0x20]
mov dword [esp + 0x180], 0
call fcn.00451c20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], 1
call fcn.00451c20
lea ecx, [esp + 0x74]
mov byte [esp + 0x180], 2
call fcn.00451c20
lea ecx, [esp + 0x90]
mov byte [esp + 0x180], 3
call fcn.00451c20
lea ecx, [esp + 0xac]
mov byte [esp + 0x180], 4
call fcn.00451c20
mov ebx, dword [esp + 0x188]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x70]
push eax
push ebx
mov byte [esp + 0x1a0], 5
call fcn.00467cf0
add esp, 0x20
test al, al
jne 0x46b639
mov esi, dword [esp + 0x198]
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Failed_to_parse_URL
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push ebx
push 0x5b2b9c
mov ecx, esi
call eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x180], 4
call fcn.00451e70
lea ecx, [esp + 0x90]
mov byte [esp + 0x180], 3
call fcn.00451e70
lea ecx, [esp + 0x74]
mov byte [esp + 0x180], 2
call fcn.00451e70
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], 1
call fcn.00451e70
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 0
call fcn.00451e70
lea ecx, [esp + 0x58]
mov dword [esp + 0x180], 0xffffffff
call fcn.00451e70
xor al, al
jmp 0x46b97c
lea ecx, [esp + 0x20]
call fcn.004c49f0
test eax, eax
je 0x46b653
lea ecx, [esp + 0x20]
call fcn.004c06c0
mov ebp, eax
jmp 0x46b655
xor ebp, ebp
lea ecx, [esp + 0x3c]
call fcn.004c49f0
test eax, eax
je 0x46b66f
lea ecx, [esp + 0x3c]
call fcn.004c06c0
mov ebx, eax
jmp 0x46b671
xor ebx, ebx
test ebp, ebp
mov esi, dword [esp + 0x18c]
je 0x46b698
test ebx, ebx
je 0x46b698
push ebp
lea ecx, [esi + 0x210]
call fcn.00452a60
push ebx
lea ecx, [esi + 0x22c]
call fcn.00452a60
mov ebp, dword [esp + 0x198]
mov ecx, dword [esp + 0x1c]
push ebp
push esi
push ecx
lea ecx, [esp + 0x64]
call fcn.004c06c0
push eax
mov ecx, edi
call fcn.0046b2e0
mov ebx, eax
test ebx, ebx
je 0x46b5c3
mov edi, dword [esp + 0x190]
push 0
push edi
call fcn.00458240
push ebp
lea edx, [esp + 0x20]
push edx
push edi
mov byte [esp + 0x2a], al
mov byte [esp + 0x28], 0
call fcn.0048a1f0
add esp, 0x14
cmp byte [esp + 0x14], 0
mov edi, eax
je 0x46b5c3
movzx ecx, byte [esi + 0xe]
movzx eax, byte [esi + 0xf]
push 0
push 0
push 0
mov byte [esp + 0x21], cl
push edi
lea ecx, [esp + 0x110]
mov byte [esp + 0x27], al
mov byte [esi + 0xf], 0
mov byte [esi + 0xe], 0
call fcn.0048a3e0
mov edx, dword [esp + 0x19c]
mov eax, dword [esp + 0x194]
push edx
mov edx, dword [esp + 0x18c]
push ebp
push eax
lea ecx, [esp + 0x10c]
push ecx
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x198], 6
call fcn.00489bf0
movzx ecx, byte [esp + 0x15]
mov bl, al
movzx eax, byte [esp + 0x17]
mov byte [esi + 0xe], cl
lea ecx, [esp + 0x100]
mov byte [esi + 0xf], al
call fcn.0048a550
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x46b790
cmp byte [esp + 0x16], bl
jne 0x46b790
mov esi, dword [esp + 0x190]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x46b797
mov esi, dword [esp + 0x190]
lea ecx, [esp + 0xe4]
call fcn.00451c20
mov ecx, dword [esp + 0x194]
lea edx, [esp + 0xe4]
push edx
push str.content_encoding
add ecx, 0x34
mov byte [esp + 0x188], 7
call fcn.0046e5b0
push str.gzip
lea ecx, [esp + 0xe8]
call fcn.00452eb0
test al, al
je 0x46b8e3
push esi
lea ecx, [esp + 0xcc]
call fcn.00451b50
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 8
call fcn.00452970
push 0x542cdc
lea ecx, [esp + 0xcc]
call fcn.00451780
test al, al
jne 0x46b8cf
push str..tgz
lea ecx, [esp + 0xcc]
call fcn.00451780
test al, al
jne 0x46b8cf
test bl, bl
je 0x46b8cf
lea ecx, [esp + 0x120]
call fcn.0048a7f0
push ebp
push esi
lea ecx, [esp + 0x128]
mov byte [esp + 0x188], 9
call fcn.0048a790
test al, al
je 0x46b8bb
push 0xa
push 0
lea ecx, [esp + 0x128]
call fcn.0048a9a0
test eax, eax
je 0x46b8bb
cmp byte [eax], 0x1f
jne 0x46b8bb
cmp byte [eax + 1], 0x8b
jne 0x46b8bb
lea ecx, [esp + 0x120]
call fcn.0048a720
lea ecx, [esp + 0x18]
call fcn.0048aad0
push ebp
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], 0xa
call fcn.0048b1b0
lea ecx, [esp + 0x18]
mov bl, al
mov byte [esp + 0x180], 9
call fcn.0048aae0
lea ecx, [esp + 0x120]
mov byte [esp + 0x180], 8
call fcn.0048a650
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 7
call fcn.00451e70
lea ecx, [esp + 0xe4]
mov byte [esp + 0x180], 6
call fcn.00451e70
lea ecx, [esp + 0x100]
mov byte [esp + 0x180], 5
call fcn.0048a450
lea ecx, [esp + 0xac]
mov byte [esp + 0x180], 4
call fcn.00451e70
lea ecx, [esp + 0x90]
mov byte [esp + 0x180], 3
call fcn.00451e70
lea ecx, [esp + 0x74]
mov byte [esp + 0x180], 2
call fcn.00451e70
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], 1
call fcn.00451e70
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 0
call fcn.00451e70
lea ecx, [esp + 0x58]
mov dword [esp + 0x180], 0xffffffff
call fcn.00451e70
mov al, bl
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret 0x18