Function at 0x408437
Capabilities:
Send data
Send http request

Disassembly:
mov eax, 0x44682d
call fcn.00427ffc
sub esp, 0x170
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
lea eax, [ebp - 0x17c]
push eax
call fcn.0040b0e6
test al, al
je 0x4086ac
sub esp, 0x1c
lea eax, [ebp - 0x17c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00401e92
mov ecx, dword [ebp + 0x18]
call fcn.004049ba
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4086a4
mov eax, dword [ebp - 0x6c]
cmp eax, dword [esi + 0x28]
jne 0x4086a4
mov eax, dword [ebp - 0x74]
cmp eax, dword [esi + 0x20]
jne 0x4086a4
mov eax, dword [ebp - 0x78]
cmp eax, dword [esi + 0x1c]
jne 0x4086a4
mov eax, dword [ebp - 0x68]
cmp eax, dword [esi + 0x30]
jne 0x4086a4
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00401e92
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], ebx
call fcn.00401db6
add esp, 0xc
push str.update.dat
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004015a8
test eax, eax
jne 0x408500
push 0x449798
lea ecx, [ebp - 0x38]
call fcn.00401d99
mov eax, dword [ebp - 0x50]
push 0x10
pop edi
cmp dword [ebp - 0x3c], edi
jae 0x40850e
lea eax, [ebp - 0x50]
push ebx
push 0x84400100
push ebx
push ebx
push str.HTTP_1.0
push eax
push 0x449764
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x408539
mov byte [ebp - 0xd], bl
jmp 0x408672
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x408531
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
push 5
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x40856b
mov byte [ebp - 0xd], bl
jmp 0x408669
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x78]
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
cmp eax, 0xffffffff
je 0x40868d
cmp eax, dword [ebp - 0x18]
jne 0x40868d
push dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
push dword [ebp + 0x24]
lea eax, [ebp - 0x38]
push dword [ebp - 0x18]
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00406b8c
add esp, 0x20
cmp al, bl
mov byte [ebp - 0xd], al
je 0x40865b
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax]
mov byte [ebp - 0xd], bl
jbe 0x4085e2
push dword [ebp + 0x10]
call fcn.00439b4d
push edi
call fcn.00439b52
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
pop ecx
pop ecx
mov dword [eax], edi
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4085ee
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x17c]
push ecx
push edi
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0040bf33
test al, al
je 0x40865b
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
push dword [esi + 0x2c]
mov ecx, edi
call fcn.00402935
cmp eax, ebx
je 0x40865b
push dword [ebp + 0x10]
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.0040ce6f
push dword [esi + 0x30]
mov ecx, dword [edi + 0x10]
push dword [esi + 0x2c]
lea eax, [ebp - 0x38]
push ebx
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x28]
push eax
call fcn.004053dc
mov ecx, dword [ebp + 0x18]
push esi
call fcn.00404c6b
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp + 0xc]
call fcn.0040c863
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.004014e9
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004014e9
mov al, byte [ebp - 0xd]
jmp 0x4086ae
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp + 0xc]
call fcn.0040c863
mov byte [ebp - 0xd], 1
jmp 0x408672
mov ecx, dword [ebp + 0xc]
call fcn.0040c863
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret