Function at 0x406240
Capabilities:
Initialize winhttp library

Disassembly:
push 0xffffffffffffffff
push 0x4659f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
lea eax, [ebp + 0x14]
xor edi, edi
push eax
mov ebx, str.Package.zip
lea esi, [esp + 0x2c]
mov dword [esp + 0x18], edi
call fcn.004026f0
add esp, 4
push 0xffffffffffffffff
lea ecx, [ebp + 0x58]
push edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x28], ecx
call fcn.00401110
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x4062c0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044ec2b
add esp, 4
push 0x20
call fcn.0044f07d
add esp, 4
cmp eax, edi
je 0x4062ed
mov dword [eax], vtable.CHTTPClientWTPCtrl.0
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 4], edi
mov ebx, eax
jmp 0x4062ef
xor ebx, ebx
push 0x1000
call fcn.0044f136
add esp, 4
push edi
push edi
push edi
push edi
push 0x46cabc
mov dword [ebx + 0x14], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp eax, edi
mov dword [ebx + 8], eax
je 0x40631c
mov dword [ebx + 4], 1
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
push 0x17
push str.software_ClientInstall_
lea esi, [esp + 0x4c]
mov dword [esp + 0x74], 1
call fcn.00401070
push edi
lea edx, [ebp + 0x90]
push edx
or eax, 0xffffffff
call fcn.00402630
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x469acc
mov word [esi + 4], di
call fcn.00401070
sub esp, 0x1c
mov byte [esp + 0xa4], 2
mov esi, esp
mov dword [esp + 0x50], esp
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x469acc
mov word [esi + 4], di
call fcn.00401070
push 0x50
sub esp, 0x1c
mov byte [esp + 0xc4], 3
mov esi, esp
mov dword [esp + 0x74], esp
push 0x15
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push str.download.kuluking.com
mov word [esi + 4], di
call fcn.00401070
mov ecx, ebx
mov byte [esp + 0xc4], 1
call fcn.0040ea80
cmp eax, edi
jne 0x40640a
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x4063fd
mov eax, dword [esp + 0x48]
push eax
call fcn.0044ec2b
add esp, 4
mov dword [esp + 0x5c], 7
jmp 0x4064a7
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x1c], ebp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
mov dword [ebx + 0x18], 0x406510
or ebp, 0xffffffff
push ebp
mov esi, 7
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], edi
push edi
mov word [ecx + 4], di
call fcn.00401110
sub esp, 0x1c
mov byte [esp + 0xa4], 4
mov ecx, esp
mov dword [esp + 0x50], esp
push ebp
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], edi
push edi
lea eax, [esp + 0x84]
mov word [ecx + 4], di
call fcn.00401110
push ebx
mov byte [esp + 0xa8], 1
call fcn.0040ed80
cmp eax, edi
mov dword [esp + 0x6c], ebp
jne 0x406487
cmp dword [esp + 0x5c], 8
jb 0x4064a3
mov ecx, dword [esp + 0x48]
push ecx
jmp 0x40649b
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x14], 1
jb 0x4064a3
mov edx, dword [esp + 0x48]
push edx
call fcn.0044ec2b
add esp, 4
mov dword [esp + 0x5c], esi
mov eax, dword [ebx + 8]
cmp eax, edi
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
mov dword [ebx + 4], edi
je 0x4064c4
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebx + 8], edi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x4064d7
push eax
call fcn.0044f1f9
add esp, 4
mov dword [ebx + 0x14], edi
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0044eeec
add esp, 0x5c
ret 4