Function at 0x41f391
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov dword [ebp - 0x10], 0x26cfc4f5
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0xf0fd0d8d
jg 0x41f40d
cmp eax, 0xc5b885ac
jg 0x41f464
cmp eax, 0xaf093425
jle 0x41f52a
cmp eax, 0xb8f4343d
jg 0x41f639
cmp eax, 0xaf093426
je 0x41f7f3
cmp eax, 0xb2915a26
je 0x41f829
cmp eax, 0xb325a231
jne 0x41f3b9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0xbb321aef
jmp 0x41f3b9
cmp eax, 0x371c40e3
jle 0x41f4ae
cmp eax, 0x5bfd41cd
jle 0x41f582
cmp eax, 0x7571c98c
jg 0x41f666
cmp eax, 0x5bfd41ce
je 0x41f84c
cmp eax, 0x68cdac49
je 0x41f891
cmp eax, 0x71c3109b
jne 0x41f3b9
push dword [ebp - 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x10], 0x8b0a18bf
jmp 0x41f3b9
cmp eax, 0xd047fbe6
jle 0x41f5c6
cmp eax, 0xd5824928
jg 0x41f6a1
cmp eax, 0xd047fbe7
je 0x41f8af
cmp eax, 0xd0ca3eab
je 0x41f8ce
cmp eax, 0xd18709b5
jne 0x41f3b9
push eax
push eax
mov eax, esp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0x78dccbf4
jmp 0x41f3b9
cmp eax, 0x25e14777
jg 0x41f5fe
cmp eax, 0xfd882731
jg 0x41f6dc
cmp eax, 0xf0fd0d8e
je 0x41f8e3
cmp eax, 0xf2e36baa
je 0x41f8fe
cmp eax, 0xf62cb4e1
jne 0x41f3b9
mov eax, 3
push eax
push 0x46791e
push eax
push dword [ebp - 0x28]
call fcn.004232e0
add esp, 0x10
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x38]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x2c], eax
mov eax, 0x2ece5c7f
cmp dword [ebp - 0x2c], edi
je 0x41fb72
mov eax, 0x371c40e4
jmp 0x41fb72
cmp eax, 0x90bc63b0
jle 0x41f731
cmp eax, 0x90bc63b1
je 0x41f924
cmp eax, 0xa0ec9b44
je 0x41f93d
cmp eax, 0xaefbe83b
jne 0x41f3b9
mov ebx, dword [ebp + 8]
push ebx
call fcn.0044fd60
add esp, 4
push eax
push ebx
push 0x100
push dword [ebp - 0x18]
push 0
call fcn.0044f6ef
add esp, 0x14
mov dword [ebp - 0x10], 0x25e14778
jmp 0x41f3b9
cmp eax, 0x52c8d076
jle 0x41f772
cmp eax, 0x52c8d077
je 0x41f955
cmp eax, 0x54ad69e3
je 0x41f961
cmp eax, 0x58c2a91f
jne 0x41f3b9
push 0
call fcn.0041d559
add esp, 4
mov dword [ebp - 0x10], 0x54ad69e3
xor esi, esi
jmp 0x41f3b9
cmp eax, 0xcc0729a8
jle 0x41f79a
cmp eax, 0xcc0729a9
je 0x41f9b9
cmp eax, 0xcd3d190e
je 0x41f9e3
cmp eax, 0xcfe746fe
jne 0x41f3b9
mov dword [ebp - 0x10], 0x90bc63b1
jmp 0x41f3b9
cmp eax, 0x28dccfc3
jle 0x41f7c5
cmp eax, 0x28dccfc4
je 0x41f9fc
cmp eax, 0x2dfa41f9
je 0x41fa3c
cmp eax, 0x2ece5c7f
jne 0x41f3b9
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x10], 0x71c3109b
jmp 0x41f3b9
cmp eax, 0xb8f4343e
je 0x41fa74
cmp eax, 0xbb321aef
je 0x41fa80
cmp eax, 0xc2fb37a8
jne 0x41f3b9
mov dword [ebp - 0x10], 0xcd3d190e
jmp 0x41f3b9
cmp eax, 0x7571c98d
je 0x41fa9e
cmp eax, 0x75f568d0
je 0x41faca
cmp eax, 0x78dccbf4
jne 0x41f3b9
mov eax, dword [ebp - 0x14]
shl eax, 0xa
add eax, 0xfffdb796
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x9027e669
jmp 0x41f3b9
cmp eax, 0xd5824929
je 0x41fb0b
cmp eax, 0xd7b4234c
je 0x41fb48
cmp eax, 0xdc5149cf
jne 0x41f3b9
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0xd7b4234c
jmp 0x41f3b9
cmp eax, 0x37e80d7
je 0x41fb5a
cmp eax, 0xd7a6351
jne 0x41fc21
imul eax, dword [ebp - 0x14], 0xab
shr eax, 0xd
lea ecx, [eax - 0xfd]
imul ecx, ecx
imul edx, ecx, 0x1c33
imul eax, eax, 0xcd000
dec edx
add eax, 0xf50a113b
mov dword [ebp - 0x14], eax
mov eax, 0x371c40e4
cmp edx, ecx
je 0x41fb72
mov eax, 0xdc5149cf
jmp 0x41fb72
cmp eax, 0x8b0a18bf
je 0x41fb7a
cmp eax, 0x9027e669
jne 0x41f3b9
mov eax, dword [ebp - 0x28]
mov word [eax + 6], 0
mov eax, dword [ebp - 0x28]
movzx ecx, word [0x46791c]
mov word [eax + 4], cx
mov ecx, dword [0x467918]
mov dword [eax], ecx
mov dword [ebp - 0x10], 0xf62cb4e1
jmp 0x41f3b9
cmp eax, 0x371c40e4
je 0x41fbba
cmp eax, 0x522edfbd
jne 0x41f3b9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x10], 0xf0fd0d8e
jmp 0x41f3b9
cmp eax, 0xc5b885ad
je 0x41fbda
cmp eax, 0xcaf9a3c4
jne 0x41f3b9
push eax
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0xd0ca3eab
jmp 0x41f3b9
cmp eax, 0x25e14778
je 0x41fbe6
cmp eax, 0x26cfc4f5
jne 0x41f3b9
push eax
sub esp, 0x1fc
mov eax, esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0xb325a231
jmp 0x41f3b9
mov eax, dword [ebp - 0x14]
mov ecx, 0xffffff49
add eax, ecx
mov ecx, eax
imul ecx, eax
shl eax, 4
imul edx, ecx, 0xb5f
add eax, 0xffffffad
dec edx
mov dword [ebp - 0x14], eax
mov eax, 0x54ad69e3
cmp ecx, edx
je 0x41fb72
mov eax, 0xd047fbe7
jmp 0x41fb72
imul eax, dword [ebp - 0x14], 0x26c2000
shr eax, 7
and eax, 0xffffff80
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x522edfbd
mov dword [ebp - 0x1c], 0
jmp 0x41f3b9
imul esi, esi, 0x54
add esi, 0xffffd168
push esi
call fcn.00413f3c
add esp, 4
push 0x2540
push dword [ebp - 0x60]
push esi
push 0x139a
push 0x2675
call fcn.0041821e
add esp, 0x14
mov eax, 0xaefbe83b
cmp esi, 0x5f
jge 0x41fb72
mov eax, 0xbb321aef
jmp 0x41fb72
shr esi, 0xe
add esi, 0xffffff24
shr esi, 0xf
add esi, 0xdb
mov dword [ebp - 0x10], 0x4f72e
jmp 0x41f3b9
push 0
push 0x50
push dword [ebp - 0x18]
push dword [ebp - 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], 0xcfe746fe
jmp 0x41f3b9
mov eax, dword [ebp - 0x24]
add eax, 0x20
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0x54ad69e3
jmp 0x41f3b9
push dword [ebp - 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x10], 0xfd882732
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
jmp 0x41f3b9
imul esi, esi, 0x9b00000
or esi, 0xf5
push esi
push 0x491b
call fcn.0041cde4
add esp, 8
mov dword [ebp - 0x10], 0xaefbe83b
jmp 0x41f3b9
cmp dword [ebp - 0x38], 0
mov eax, 0xb2915a26
je 0x41fb72
mov eax, 0x28dccfc4
jmp 0x41fb72
push dword [ebp - 0x2c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x10], 0x2ece5c7f
mov edi, dword [ebp - 0x58]
jmp 0x41f3b9
mov dword [ebp - 0x10], 0xcaf9a3c4
jmp 0x41f3b9
mov eax, dword [ebp - 0x50]
mov word [eax], 0
push 0x20
push 0x4678f0
push dword [ebp - 0x24]
call fcn.00443560
add esp, 0xc
push 4
push 0x467910
push 0x10
push dword [ebp - 0x24]
call fcn.004232e0
add esp, 0x10
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x34], eax
mov eax, 0x75f568d0
cmp dword [ebp - 0x34], ebx
je 0x41fb72
mov eax, 0xaf093426
jmp 0x41fb72
add esi, esi
add esi, 0x472
and esi, 0xffff8000
or esi, 0xc6
mov eax, 0xd0ca3eab
cmp esi, 0xb9
jge 0x41fb41
jmp 0x41fb72
cmp dword [ebp - 0x54], 0
mov eax, 0x2dfa41f9
je 0x41fb72
mov eax, 0xd7a6351
jmp 0x41fb72
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shl eax, 8
sub eax, ecx
shr eax, 0xa
add eax, 0xffffffee
imul ecx, eax, 0xa7f8
imul eax, eax
imul edx, eax, 0x1ce3
dec edx
add ecx, 0xfffff880
mov dword [ebp - 0x14], ecx
mov ecx, 0xcc0729a9
cmp eax, edx
je 0x41fc19
mov ecx, 0xd18709b5
jmp 0x41fc19
mov eax, dword [ebp - 0x14]
shr eax, 3
lea ecx, [eax + 0x23]
imul eax, eax
shr ecx, 1
imul edx, eax, 0x6dd7
dec edx
add ecx, 0x39
mov dword [ebp - 0x14], ecx
mov ecx, 0x54ad69e3
cmp eax, edx
je 0x41fa65
mov ecx, 0xd7b4234c
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], 0
jmp 0x41f3b9
mov dword [ebp - 0x10], 0xc5b885ad
jmp 0x41f3b9
push 0x200
push 0
push dword [ebp - 0x18]
call fcn.00444060
add esp, 0xc
mov dword [ebp - 0x10], 0xaefbe83b
jmp 0x41f3b9
shl esi, 0xc
and esi, 0x1ffff000
or esi, 0x1e
imul esi, esi, 0x2c
mov eax, 0xd5824929
cmp esi, 0x155
jl 0x41fabf
mov eax, 0x58c2a91f
add esi, 0xfffffefc
jmp 0x41fb72
mov eax, dword [ebp - 0x14]
mov ecx, 0x9f
add eax, ecx
mov ecx, eax
imul ecx, eax
shr eax, 4
and eax, 0xfffff00
imul edx, ecx, 0x831
dec edx
imul eax, eax, 0x73
mov dword [ebp - 0x14], eax
mov eax, 0xcaf9a3c4
cmp edx, ecx
je 0x41fafc
mov eax, 0xfd882732
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], 0
jmp 0x41f3b9
imul ebx, esi, 0x10040
add ebx, 0xff0bc300
mov esi, ebx
shr esi, 9
push esi
push 0x1d0a
push 0x38a5
push 0x60de
call fcn.00417218
add esp, 0x10
mov eax, 0xd0ca3eab
cmp ebx, 0x16200
jb 0x41fb72
mov eax, 0x54ad69e3
jmp 0x41fb72
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x10], 0xa0ec9b44
jmp 0x41f3b9
shr esi, 0xf
imul esi, esi, 0x4194d000
mov eax, 0x54ad69e3
cmp esi, 0xf
jge 0x41fb72
mov eax, 0x271f489d
mov dword [ebp - 0x10], eax
jmp 0x41f3b9
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 0x17
imul eax, eax
shr ecx, 0xe
and ecx, 0x3f000
imul edx, eax, 0x6569
or ecx, 0xc
dec edx
imul ecx, ecx, 0x26
mov dword [ebp - 0x14], ecx
mov ecx, 0xaefbe83b
cmp edx, eax
je 0x41fbac
mov ecx, 0x522edfbd
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
jmp 0x41f3b9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0xc2fb37a8
jmp 0x41f3b9
mov dword [ebp - 0x10], 0x52c8d077
jmp 0x41f3b9
mov eax, dword [ebp - 0x14]
add eax, 0x75
imul ecx, eax, 0x23
imul eax, eax
imul edx, eax, 0x42d7
add ecx, 0xffffff12
dec edx
shr ecx, 7
add ecx, 0xe1
mov dword [ebp - 0x14], ecx
mov ecx, 0x68cdac49
cmp edx, eax
je 0x41fc19
mov ecx, 0xb8f4343e
mov dword [ebp - 0x10], ecx
jmp 0x41f3b9
cmp eax, 0xfd882732
jne 0x41f3b9
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x18]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret