Function at 0x4d2130
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x17c], 0
jne 0x4d239d
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00422350
push 0
push 0x698588
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00451450
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4d239b
push 0x698590
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00424f20
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4d21e7
push str.Content_Length:
call fcn.00642390
add esp, 4
add eax, dword [ebp - 0x3c]
push eax
call fcn.006438bd
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], eax
jmp 0x4d21f1
mov eax, dword [ebp + 8]
mov dword [eax + 0x78], 0xffffffff
push str.Content_Type:
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00424f20
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4d2256
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x134
call fcn.00421e60
push 0
push 0x6985c0
mov ecx, dword [ebp + 8]
add ecx, 0x134
call fcn.00451450
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x4d2256
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x134
call fcn.004da020
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
add eax, 4
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00451a10
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x104
call fcn.00473a40
lea ecx, [ebp - 0x34]
call fcn.00421c30
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.004da020
mov eax, dword [ebp + 8]
mov dword [eax + 0x17c], 1
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00425220
cmp eax, 0xc
jae 0x4d22c7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x94], 0x194
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00424f20
add eax, 9
push eax
call fcn.006438bd
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x94], eax
mov ecx, dword [ebp + 8]
add ecx, 0x104
call fcn.00425220
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x170], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0xffffffff
jne 0x4d2335
push str.Transfer_Encoding:_chunked
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00424f20
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4d2335
mov eax, dword [ebp + 8]
mov dword [eax + 0x18c], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18c], 0
je 0x4d2359
mov edx, dword [ebp + 8]
add edx, 0x104
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.00422350
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
lea ecx, [ebp - 0x1c]
call fcn.00479f40
lea ecx, [ebp - 0x1c]
call fcn.00424f20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..cache
lea ecx, [ebp - 0x1c]
call fcn.0044de90
lea ecx, [ebp - 0x1c]
call fcn.00424f20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
call fcn.00421c30
jmp 0x4d23e7
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x104
call fcn.00422350
mov ecx, dword [ebp + 0xc]
call fcn.00425220
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x170]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x170], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18c], 0
je 0x4d23e7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x190
call fcn.00422350
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x17c], 0
jne 0x4d23f8
jmp 0x4d24f0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18c], 0
je 0x4d2410
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004d3f30
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x16c], 0
jne 0x4d246a
mov ecx, dword [ebp + 8]
add ecx, 0x104
call fcn.00425220
cmp eax, 0x100000
jae 0x4d245a
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x78]
cmp ecx, dword [eax + 0x170]
je 0x4d245a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18c], 0
je 0x4d2468
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14c], 0
je 0x4d2468
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004d4240
jmp 0x4d24d2
mov ecx, dword [ebp + 8]
add ecx, 0x104
call fcn.00425220
cmp eax, 0x100000
jae 0x4d24a8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x78]
cmp ecx, dword [eax + 0x170]
je 0x4d24a8
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18c], 0
je 0x4d24d2
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14c], 0
je 0x4d24d2
push str.Content_Encoding:_gzip
mov ecx, dword [ebp + 8]
add ecx, 0x11c
call fcn.00424f20
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4d24d2
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004d3ce0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x78]
cmp ecx, dword [eax + 0x170]
jne 0x4d24f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14c], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 8