Function at 0x4098f0
Capabilities:
Initialize winhttp library

Disassembly:
push 0xffffffffffffffff
push 0x465883
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov ebx, 7
mov dword [esp + 0x24], esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
mov word [esp + 0x68], di
mov dword [esp + 0x2a8], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
mov byte [esp + 0x2a8], 1
call fcn.0040d4d0
push 0x20
call fcn.0044f07d
add esp, 4
cmp eax, edi
je 0x409993
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 ebp, eax
jmp 0x409995
xor ebp, ebp
push 0x1000
call fcn.0044f136
add esp, 4
push edi
push edi
push edi
push edi
push 0x46cabc
mov dword [ebp + 0x14], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x4099c2
mov dword [ebp + 4], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call fcn.004152e0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b0], 2
call fcn.00401110
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x44], 8
jb 0x409a03
mov eax, dword [esp + 0x30]
push eax
call fcn.0044ec2b
add esp, 4
push 0x1fc
lea ecx, [esp + 0xa2]
push edi
push ecx
mov word [esp + 0xa8], di
call fcn.00452a60
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.00415540
push 0x1fe
lea edx, [esp + 0xa0]
push edi
push edx
mov byte [esp + 0x2b4], 3
call fcn.00452a60
mov ecx, 8
add esp, 0xc
cmp dword [esi + 0xe4], ecx
jb 0x409a60
mov eax, dword [esi + 0xd0]
jmp 0x409a66
lea eax, [esi + 0xd0]
cmp dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x4c]
jae 0x409a74
lea ecx, [esp + 0x4c]
push eax
push ecx
push str._s_s_xyzs_client_channel_
lea edx, [esp + 0xa8]
call fcn.0040a870
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0xb8]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x34], esp
mov word [esi + 4], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409aa4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00401070
lea ecx, [esp + 0x48]
call fcn.0040b750
add esp, 0x1c
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2b0], 4
call fcn.00401110
mov byte [esp + 0x2a8], 3
cmp dword [esp + 0x44], 8
jb 0x409afd
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044ec2b
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push edi
lea eax, [esp + 0x88]
mov word [ecx + 4], di
call fcn.00401110
lea esi, [esp + 0x48]
call fcn.0040bd00
add esp, 0x1c
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2b0], 5
call fcn.00401110
mov esi, 8
mov byte [esp + 0x2a8], 3
cmp dword [esp + 0x44], esi
jb 0x409b5f
mov edx, dword [esp + 0x30]
push edx
call fcn.0044ec2b
add esp, 4
push 0x1fe
lea eax, [esp + 0xa0]
push edi
push eax
call fcn.00452a60
add esp, 0xc
cmp dword [esp + 0x98], esi
mov esi, dword [esp + 0x84]
jae 0x409b8c
lea esi, [esp + 0x84]
mov edx, dword [esp + 0x68]
mov eax, 8
cmp dword [esp + 0x7c], eax
jae 0x409b9f
lea edx, [esp + 0x68]
cmp dword [esp + 0x60], eax
mov ecx, dword [esp + 0x4c]
jae 0x409bad
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xe4], 8
jb 0x409bc2
mov eax, dword [eax + 0xd0]
jmp 0x409bc7
add eax, 0xd0
push esi
push edx
push ecx
push eax
push str.client_install.php_type_smac_sf_4sign_smac_addr_s
lea edx, [esp + 0xb0]
call fcn.0040a870
mov eax, dword [ebp + 8]
add esp, 0x14
cmp eax, edi
je 0x409c00
push 0x7d0
push 0x7d0
push 0x7d0
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
lea ecx, [ecx]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0x469acc
mov word [esi + 4], di
call fcn.00401070
sub esp, 0x1c
mov byte [esp + 0x2e0], 6
mov esi, esp
mov dword [esp + 0x5c], esp
push edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0x469acc
mov word [esi + 4], di
call fcn.00401070
push 0x50
sub esp, 0x1c
mov byte [esp + 0x300], bl
mov esi, esp
mov dword [esp + 0x80], esp
push 0x16
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push str.interface.taladapp.com
mov word [esi + 4], di
call fcn.00401070
mov ecx, ebp
mov byte [esp + 0x300], 3
call fcn.0040ea80
cmp eax, 1
jne 0x409cec
push edi
sub esp, 0x1c
mov edx, 0x469acc
mov eax, esp
mov dword [esp + 0x48], esp
call fcn.00401da0
sub esp, 0x1c
mov byte [esp + 0x2e4], 8
lea edx, [esp + 0xd8]
mov eax, esp
mov dword [esp + 0x54], esp
call fcn.00401da0
mov esi, ebp
mov byte [esp + 0x2e4], 3
call fcn.0040eb80
cmp eax, 1
jne 0x409cdf
mov ecx, ebp
call fcn.0040ec40
cmp eax, 1
jne 0x409cd8
mov dword [esp + 0x20], eax
mov esi, ebp
call fcn.0040ec80
mov esi, ebp
call fcn.0040eca0
cmp dword [esp + 0x20], edi
jne 0x409cfd
cmp dword [esp + 0x1c], 3
jg 0x409cfd
add dword [esp + 0x1c], 1
jmp 0x409c00
lea esi, [esp + 0x80]
mov byte [esp + 0x2a8], 1
call fcn.00401010
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 4], edi
je 0x409d25
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp + 8], edi
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x409d38
push eax
call fcn.0044f1f9
add esp, 4
mov dword [ebp + 0x14], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x409d61
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
jb 0x409d81
mov edx, dword [esp + 0x68]
push edx
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.0044eeec
add esp, 0x298
ret