Function at 0x42bd50
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5dc4
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4e5070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd8]
push 0x3c
push 0
push eax
call fcn.00498020
lea eax, [ebx + 0x68]
mov dword [ebp - 0xd8], 0x3c
add esp, 0xc
mov dword [ebp - 0xb8], 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xa8], 1
jb 0x42bdd1
mov eax, dword [eax]
lea ecx, [ebp - 0xd8]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x42bdf1
mov eax, 1
jmp 0x42c0b6
lea ecx, [ebp - 0x80]
call fcn.00488940
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], 0x4cb6c4
mov byte [ebp - 4], 1
cmp dword [ebx + 0x1c], 8
jb 0x42be21
mov ecx, dword [ebx + 8]
jmp 0x42be24
lea ecx, [ebx + 8]
cmp dword [ebx + 0x34], 8
jb 0x42be2f
mov edx, dword [ebx + 0x20]
jmp 0x42be32
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x94], 8
lea eax, [ebx + 0x80]
jb 0x42be43
mov eax, dword [eax]
push 0
push ecx
push edx
push dword [ebx + 4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
jne 0x42be5d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x42be65
mov esi, eax
mov dword [ebp - 0x98], esi
push dword [ebx + 0x10c]
push dword [ebx + 0x108]
push dword [ebx + 0x114]
push dword [ebx + 0x110]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x42be8d
call fcn.00489220
mov esi, dword [ebp - 0xc4]
mov edi, dword [ebp - 0xc8]
call fcn.00406680
push eax
push esi
push edi
lea ecx, [ebp - 0x88]
call fcn.0040d370
mov byte [ebp - 4], 2
lea eax, [ebp - 0x9c]
push dword [ebp - 0xc0]
mov esi, dword [ebp - 0x88]
lea ecx, [ebp - 0x80]
push esi
push eax
call fcn.00488cb0
mov edi, eax
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42bf03
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42bf01
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x42bf03
call edx
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
jne 0x42c09f
push ecx
lea ecx, [ebp - 0x84]
call fcn.0042c900
mov byte [ebp - 4], 3
cmp dword [ebx], 2
jne 0x42bf36
push str.POST
lea ecx, [ebp - 0x84]
call fcn.0042c8b0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0x4d6204
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
call fcn.00406680
push eax
push esi
push edi
lea ecx, [ebp - 0x88]
call fcn.0040d370
mov esi, dword [ebp - 0x88]
xor eax, eax
cmp dword [ebp - 0xcc], 2
push ecx
mov ecx, 0x800000
cmove eax, ecx
lea ecx, [ebp - 0x94]
push eax
sub esp, 0xc
lea eax, [ebp - 0x80]
push dword [ebp - 0x84]
push esi
push eax
call fcn.00488250
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42bfda
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42bfd8
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x42bfda
call edx
cmp dword [ebx + 0x64], 8
lea esi, [ebx + 0x50]
jb 0x42bfe5
mov esi, dword [esi]
cmp dword [ebx + 0x4c], 8
lea edx, [ebx + 0x38]
jb 0x42bff0
mov edx, dword [edx]
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
jb 0x42bffb
mov eax, dword [eax]
cmp dword [ebx + 0x34], 8
lea ecx, [ebx + 0x20]
jb 0x42c006
mov ecx, dword [ecx]
push esi
push edx
push eax
push ecx
push dword [ebx + 4]
lea ecx, [ebp - 0x94]
call fcn.00487fc0
mov edi, eax
test edi, edi
jne 0x42c02c
push ebx
lea ecx, [ebp - 0x94]
call fcn.004882c0
mov edi, eax
mov eax, dword [ebp - 0x90]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
je 0x42c047
push eax
call esi
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], vtable.CHttpHandle.0
test eax, eax
je 0x42c062
push eax
call esi
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x42c09f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x42c09b
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x42c09f
mov ecx, edx
call ebx
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x42c0ac
push eax
call esi
lea ecx, [ebp - 0x80]
call fcn.00488a50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493122
mov esp, ebp
pop ebp
ret 4