Function at 0x10002c30
Capabilities:
Check http status code
Connect to http server
Create http request
Delete file
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028508
push 0x1000d908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x20cc
call fcn.1000d8d0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20e4], esi
push 0
push 0
push 0
push 0
push str.EASY_UPDATE
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x10002ca2
push SysReAllocStringLen
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
call edi
cmp eax, 1
jne 0x10002cd2
push VariantCopy
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10003190
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
jne 0x10002d06
push VariantCopy
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call edi
cmp eax, 1
jne 0x10002d30
push VariantCopy
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
push esi
push 0
mov ecx, dword [esi + 0x20]
push ecx
push 0
push 0
mov dx, word [esi + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x10002d75
push reloc.OLEAUT32.dll_SysReAllocStringLen
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call edi
cmp eax, 1
jne 0x10002d9f
push VariantCopy
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x64], 0x1002f5d8
mov dword [ebp - 0x60], 0
mov eax, dword [esi + 0x10]
push esi
push 0x80400000
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push eax
push 0
mov edx, dword [esi + 0x28]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x10002df2
push reloc.OLEAUT32.dll_SysStringLen
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call edi
cmp eax, 1
jne 0x10002e1c
push VariantCopy
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x2c]
push eax
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
call ebx
test eax, eax
je 0x10002ee9
mov edi, dword [sym.imp.WININET.dll_InternetErrorDlg]
mov dword [ebp - 0x5c], 0x20
push 0
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0xac]
push edx
push 0x13
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10002f10
lea ecx, [ebp - 0xac]
push ecx
call fcn.1000d875
add esp, 4
cmp eax, 0x197
je 0x10002e87
cmp eax, 0x191
jne 0x10002f09
lea edx, [ebp - 0x20d0]
push edx
push 0xfff
lea eax, [ebp - 0x20cc]
push eax
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x20d0]
test eax, eax
jne 0x10002e87
call fcn.10025418
mov eax, dword [eax + 4]
push 0
push 7
push 0x2eee
mov edx, dword [esi + 0x2c]
push edx
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call edi
cmp eax, 0x2f00
jne 0x10002f30
push 0
push 0
push 0
push 0
mov edx, dword [esi + 0x2c]
push edx
call ebx
test eax, eax
jne 0x10002e3e
push reloc.OLEAUT32.dll_SysStringLen
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xc8
je 0x10002f30
push VariantCopy
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 4]
push 3
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call edi
mov dword [ebp - 0x5c], 0x20
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 5
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10002f78
lea eax, [ebp - 0x58]
push eax
call fcn.1000d89e
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push 4
push ebx
call edi
xor ebx, ebx
mov dword [ebp - 0x10c8], ebx
mov dword [ebp - 0x10b8], ebx
mov dword [ebp - 0x10b4], ebx
push ebx
push 1
push ebx
mov ecx, dword [esi + 0x40]
push ecx
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
cmp eax, 0xffffffff
jne 0x10002fb4
lea ecx, [esi + 0x30]
mov eax, dword [ecx]
push ebx
push ebx
call dword [eax + 0x28]
jmp 0x10002fc7
mov ebx, dword [esi + 0x40]
mov dword [ebp - 0x10b8], ebx
mov dword [ebp - 0x10b4], 0
mov ecx, dword [ebp - 0x6c]
or ecx, dword [ebp - 0x68]
push 0
je 0x10002ff6
push 0x64
mov edx, dword [ebp - 0x10b4]
push edx
push ebx
call fcn.1000da90
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x6c]
push ecx
push edx
push eax
call fcn.1000d9e0
push eax
lea edx, [esi + 8]
push edx
jmp 0x10002ffa
lea eax, [esi + 8]
push eax
call edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10c8]
push ecx
mov eax, 0x1000
push eax
lea edx, [ebp - 0x10ac]
push edx
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10003048
push reloc.OLEAUT32.dll_VariantCopy
add esi, 4
push esi
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10c8]
test eax, eax
je 0x10003134
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x100030d0
mov dword [ebp - 4], 1
lea ecx, [esi + 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10c8]
push eax
lea eax, [ebp - 0x10ac]
push eax
call dword [edx + 0x38]
mov dword [ebp - 4], 0xffffffff
add ebx, dword [ebp - 0x10c8]
mov dword [ebp - 0x10b8], ebx
adc dword [ebp - 0x10b4], 0
mov ecx, dword [ebp - 0x6c]
or ecx, dword [ebp - 0x68]
je 0x100030d0
push 0
push 0x64
mov edx, dword [ebp - 0x10b4]
push edx
push ebx
call fcn.1000da90
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x6c]
push ecx
push edx
push eax
call fcn.1000d9e0
push eax
lea edx, [esi + 8]
push edx
call edi
mov eax, dword [ebp - 0x10c8]
test eax, eax
je 0x10003134
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x10002ffc
jmp 0x10003134
lea ecx, [esi + 0x30]
mov edx, dword [ecx]
call dword [edx + 0x4c]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
cmp eax, 1
je 0x10003166
cmp ebx, dword [ebp - 0x6c]
jne 0x10003166
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x10b4], eax
jne 0x10003166
push 0x64
lea ecx, [esi + 8]
push ecx
call edi
push 5
jmp 0x10003175
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push VariantCopy
add esi, 4
push esi
call edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret