Function at 0x4391c0
Capabilities:
Check http status code
Delete file
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x672494]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push eax
call fcn.00439480
mov ebx, eax
test ebx, ebx
jns 0x439243
mov ecx, esi
call fcn.0043aa10
lea edi, [esi + 0x1b0]
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esi + 0x150], 0
je 0x439226
add esi, 0x140
cmp dword [esi + 0x14], 8
jb 0x439216
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x439226
call fcn.0043aff0
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov edi, eax
test edi, edi
js 0x4392cb
cmp edi, 1
jne 0x439250
push 0
push dword [esi + 4]
call ebx
test eax, eax
jne 0x439278
call fcn.0043aff0
mov edi, eax
test edi, edi
js 0x4392cb
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push 0x20000013
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4392b3
call fcn.0043aff0
mov edi, eax
test edi, edi
js 0x4392cb
mov eax, dword [esp + 0x14]
cmp eax, 0x197
jne 0x4392ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov edi, eax
test edi, edi
jns 0x439250
mov ecx, esi
call fcn.0043aa10
mov ecx, esi
call fcn.0043ab50
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x12d
je 0x43943b
cmp eax, 0x12e
je 0x43943b
cmp eax, 0x191
jne 0x439315
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
jmp 0x4392c5
cmp eax, 0xc8
je 0x43935f
cmp eax, 0xce
je 0x43935f
mov ecx, esi
mov dword [esi + 0x1cc], 1
mov dword [esi + 0x1c8], eax
call fcn.0043aa10
mov ecx, esi
call fcn.0043ab50
mov ecx, 0x2f79
call fcn.0043ac00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x1c8], eax
mov ecx, esi
lea eax, [esi + 0x1d0]
mov dword [esi + 0x1cc], 1
push eax
call fcn.0043a5c0
push ecx
lea eax, [esi + 0xf8]
push eax
push ecx
push 0x80000016
mov ecx, esi
call fcn.00439e00
push ecx
lea eax, [esi + 0x110]
push eax
push ecx
push 0x16
mov ecx, esi
call fcn.00439e00
mov ecx, esi
call fcn.00438fd0
cmp dword [esi + 0xc4], 0
jne 0x439425
push str.HEAD
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x439425
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x180]
push dword [esi + 0x17c]
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4393fe
call fcn.0043aff0
mov edi, eax
test edi, edi
js 0x4392cb
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x439425
mov eax, dword [esi]
push ecx
push dword [esi + 0x17c]
mov ecx, esi
call dword [eax + 0x34]
mov edi, eax
test edi, edi
js 0x4392cb
cmp dword [esp + 0x10], 0
jne 0x4393d5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 8
push ecx
lea eax, [esi + 0xc8]
push eax
push ecx
push 0x21
mov ecx, esi
call fcn.00439e00
mov edi, eax
test edi, edi
js 0x4392cb
mov ecx, 0x2f7c
call fcn.0043ac00
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d0a85
mov esp, ebp
pop ebp
ret 8