Function at 0x1000a4e0
Capabilities:
Check http status code
Create http request
Get http content length
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10042f2d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10dc
call fcn.1003fb60
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x10d8], eax
push ebx
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x10f0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 0x24
push str.http:__update.ie.2345.com_update.php
lea esi, [esp + 0xac]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
call fcn.100025e0
push 1
push 0x100480b4
mov ecx, esi
mov dword [esp + 0x1100], ebx
call fcn.100024e0
push 0xc
push 0x100480b8
mov ecx, esi
call fcn.100024e0
push 1
push 0x10047a04
mov ecx, esi
call fcn.100024e0
cmp byte [ebp + 0xc], bl
push 1
mov ecx, esi
je 0x1000a5a0
push 0x100480d4
jmp 0x1000a5a5
push 0x100480d8
call fcn.100024e0
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x50], vtable.RC::RCInternetSession.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0x40], edi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 2
push edi
mov dword [esp + 0x28], 0xbb8
call esi
push 4
lea edx, [esp + 0x1c]
push edx
push 3
push edi
mov dword [esp + 0x28], 5
call esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.RC::RCHttpFile.0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x10f8], 2
push ebx
push 0x10047a94
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.100025e0
mov byte [esp + 0x10f8], 3
push ebx
push 0x10047a94
lea esi, [esp + 0x90]
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
call fcn.100025e0
mov byte [esp + 0x10f8], 4
push ebx
mov esi, 0xf
push 0x100480dc
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.10003c40
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x74]
push edx
push edi
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x1108], 5
call fcn.10001270
test al, al
sete byte [esp + 0x1f]
cmp dword [esp + 0x84], 0x10
jb 0x1000a6e0
mov eax, dword [esp + 0x70]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x1000a70c
mov ecx, dword [esp + 0x8c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov byte [esp + 0x10f8], 2
cmp dword [esp + 0x5c], 8
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
jb 0x1000a743
mov edx, dword [esp + 0x48]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x1f], bl
je 0x1000a7db
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], esi
push ebx
mov dword [eax + 0x14], ebx
push 0x10047a94
mov esi, eax
mov word [eax + 4], bx
call fcn.100025e0
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x24], vtable.RC::RCHttpFile.0
mov byte [esp + 0x34], bl
je 0x1000a78b
push eax
call esi
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x1000a79e
push ecx
call esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov dword [esp + 0x24], vtable.RC::RCInternetHandle.0
je 0x1000a7b1
push eax
call esi
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x1000a7b8
push edi
call esi
cmp dword [esp + 0xbc], 8
jb 0x1000a7d2
mov eax, dword [esp + 0xa8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
jmp 0x1000a9f9
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [esp + 0x18], 4
je 0x1000a808
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
push 0x20000013
push eax
call esi
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x38], 0xc8
je 0x1000a836
mov eax, dword [esp + 0x14]
push ebx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push 0x10047a94
mov esi, eax
mov word [eax + 4], bx
call fcn.100025e0
jmp 0x1000a9c9
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], 4
je 0x1000a9b9
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x20000005
push eax
call esi
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x1000a9b9
cmp esi, 0x10000
ja 0x1000a9b9
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
push 0x1000
lea eax, [esp + 0xe1]
push ebx
mov byte [esp + 0x1100], 6
push eax
xor edi, edi
mov byte [esp + 0xe8], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push esi
lea esi, [esp + 0x4c]
call fcn.1000a4b0
cmp dword [esp + 0x58], ebx
ja 0x1000a959
jb 0x1000a8e0
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x20]
jae 0x1000a959
lea ebx, [ebx]
lea edx, [esp + 0xdc]
push edx
lea esi, [esp + 0x48]
lea eax, [esp + 0x28]
call fcn.10001de0
cmp eax, 0xffffffff
je 0x1000a97d
cmp eax, ebx
jbe 0x1000a935
mov byte [esp + eax + 0xdc], bl
lea eax, [esp + 0xdc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000a913
sub eax, edx
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xc8]
call fcn.10003b50
jmp 0x1000a942
jne 0x1000a959
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 5
ja 0x1000a959
cmp dword [esp + 0x58], ebx
jb 0x1000a8e0
ja 0x1000a959
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x20]
jb 0x1000a8e0
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x54], edx
jne 0x1000a97d
cmp dword [esp + 0x58], ebx
jne 0x1000a97d
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc0]
mov ecx, esi
call fcn.10023340
jmp 0x1000a98d
mov esi, dword [esp + 0x14]
mov edx, 0x10047a94
mov eax, esi
call fcn.10001ec0
lea ecx, [esp + 0xc0]
call fcn.10003510
lea ecx, [esp + 0x24]
call fcn.100010a0
lea ecx, [esp + 0x3c]
call fcn.10004870
lea ecx, [esp + 0xa4]
call fcn.10001f30
jmp 0x1000a9f7
mov esi, dword [esp + 0x14]
mov edx, 0x10047a94
mov eax, esi
call fcn.10001ec0
lea ecx, [esp + 0x24]
call fcn.100010a0
cmp edi, ebx
je 0x1000a9dd
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0xbc], 8
jb 0x1000a9f7
mov eax, dword [esp + 0xa8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10d8]
xor ecx, esp
call fcn.1003ec9d
mov esp, ebp
pop ebp
ret 8