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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x254
mov dword [ebp - 0x10], 0x26cfc4f5
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov eax, dword [ebp - 0x10]
cmp eax, 0xf0fd0d8d
jg 0x41defa
cmp eax, 0xbb321aee
jle 0x41dfa4
cmp eax, 0xcfe746fd
jle 0x41e009
cmp eax, 0xd18709b4
jle 0x41e31c
cmp eax, 0xdc5149ce
jg 0x41e3a8
cmp eax, 0xd18709b5
je 0x41e4ac
cmp eax, 0xd7b4234c
jne 0x41de4f
mov eax, dword [ebp - 0x2c]
sub esp, 0x10
mov ecx, 3
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 0x4648f2
call fcn.004215d0
add esp, 0x10
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
sub esp, 0x1c
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0x2dfa41f9
jmp 0x41de4f
cmp eax, 0x2dfa41f8
jle 0x41df5a
cmp eax, 0x5bda8c50
jg 0x41e100
cmp eax, 0x3882f4bb
jle 0x41e352
cmp eax, 0x52c8d076
jle 0x41e421
cmp eax, 0x52c8d077
je 0x41e4a0
cmp eax, 0x54ad69e3
jne 0x41de4f
mov eax, dword [ebp - 0x14]
shr eax, 4
and eax, 0xfffff00
lea eax, [eax + eax*2]
add eax, 0xfffffee1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xd0ca3eab
jmp 0x41de4f
cmp eax, 0x37e80d6
jg 0x41e041
cmp eax, 0xf75eb0a2
jg 0x41e1a2
cmp eax, 0xf0fd0d8e
je 0x41e515
cmp eax, 0xf2e36baa
je 0x41e6b3
cmp eax, 0xf62cb4e1
jne 0x41de4f
push eax
push eax
mov eax, esp
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0xcd3d190e
jmp 0x41de4f
cmp eax, 0xb13a4a3e
jg 0x41e079
cmp eax, 0xa0ec9b43
jg 0x41e224
cmp eax, 0x8b0a18bf
je 0x41e5b6
cmp eax, 0x9027e669
je 0x41e76a
cmp eax, 0x90bc63b1
jne 0x41de4f
mov eax, dword [ebp - 0x28]
sub esp, 0x14
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0xd18709b5
jmp 0x41de4f
cmp eax, 0xcaf9a3c3
jg 0x41e14e
cmp eax, 0xbb321aef
je 0x41e4cd
cmp eax, 0xc2fb37a8
je 0x41e4ee
cmp eax, 0xc5b885ad
jne 0x41de4f
mov dword [ebp - 0x10], 0x52c8d077
jmp 0x41de4f
cmp eax, 0x26cfc4f4
jg 0x41e1e4
cmp eax, 0x37e80d7
je 0x41e53c
cmp eax, 0xd7a6351
je 0x41e6ef
cmp eax, 0x25e14778
jne 0x41de4f
mov dword [ebp - 0x10], 0xc5b885ad
jmp 0x41de4f
cmp eax, 0xb40f5910
jg 0x41e29b
cmp eax, 0xb13a4a3f
je 0x41e5c8
cmp eax, 0xb2915a26
je 0x41e7ac
cmp eax, 0xb325a231
jne 0x41de4f
sub esp, 0xc
mov dword [esp + 4], edi
lea edi, [ebp - 0x260]
mov dword [esp], edi
mov dword [esp + 8], 0x200
call fcn.004414a0
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.0044d210
sub esp, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
xor edi, edi
mov dword [esp], edi
mov dword [esp + 8], 0x100
call fcn.0044cb2f
add esp, 0x14
mov dword [ebp - 0x10], 0xaefbe83b
jmp 0x41de4f
cmp eax, 0x71c3109a
jg 0x41e2c8
cmp eax, 0x5bda8c51
je 0x41e652
cmp eax, 0x5bfd41ce
je 0x41e82f
cmp eax, 0x68cdac49
jne 0x41de4f
imul eax, dword [ebp - 0x14], 0x1f400000
shr eax, 4
add eax, 0xffffff92
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x75f568d0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
jmp 0x41de4f
cmp eax, 0xcaf9a3c4
je 0x41e4d9
cmp eax, 0xcc0729a9
je 0x41e4fa
cmp eax, 0xcd3d190e
jne 0x41de4f
mov eax, dword [ebp - 0x14]
add eax, 0x15
imul ecx, eax, 0x12ab
imul eax, eax
imul edx, eax, 0x4e73
dec edx
shr ecx, 6
mov dword [ebp - 0x14], ecx
mov ecx, 0x28dccfc4
cmp edx, eax
je 0x41e896
mov ecx, 0xc2fb37a8
jmp 0x41e896
cmp eax, 0xf75eb0a3
je 0x41e55b
cmp eax, 0xfd882732
je 0x41e711
cmp eax, 0x4f72e
jne 0x41de4f
mov eax, dword [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x10], 0x5bfd41ce
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
jmp 0x41de4f
cmp eax, 0x26cfc4f5
je 0x41e5aa
cmp eax, 0x271f489d
je 0x41e72c
cmp eax, 0x28dccfc4
jne 0x41de4f
cmp dword [ebp - 0x34], 0
mov eax, 0x3882f4bc
je 0x41e215
mov eax, 0x78dccbf4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0
jmp 0x41de4f
cmp eax, 0xa0ec9b44
je 0x41e60f
cmp eax, 0xaefbe83b
je 0x41e7e1
cmp eax, 0xaf093426
jne 0x41de4f
mov eax, dword [ebp - 0x28]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0x4648c0
call fcn.004409a0
add esp, 0xc
mov eax, dword [ebp - 0x28]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x4648e0
mov dword [esp + 4], 0x10
call fcn.004215d0
add esp, 0x10
mov dword [ebp - 0x10], 0x90bc63b1
jmp 0x41de4f
cmp eax, 0xb40f5911
je 0x41e62e
cmp eax, 0xb446a354
je 0x41e812
cmp eax, 0xb8f4343e
jne 0x41de4f
mov dword [ebp - 0x10], 0x25e14778
jmp 0x41de4f
cmp eax, 0x75f568cf
jle 0x41e452
cmp eax, 0x75f568d0
je 0x41e48e
cmp eax, 0x78dccbf4
jne 0x41de4f
mov eax, dword [ebp - 0x14]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*2]
imul ecx, ecx
imul edx, ecx, 0x31b9
imul eax, eax, 0x3faf2
dec edx
mov dword [ebp - 0x14], eax
mov eax, 0xb325a231
cmp ecx, edx
je 0x41e827
mov eax, 0x9027e669
jmp 0x41e827
cmp eax, 0xcfe746fe
je 0x41e74f
cmp eax, 0xd047fbe7
je 0x41e841
cmp eax, 0xd0ca3eab
jne 0x41de4f
mov eax, dword [ebp - 0x28]
add eax, 0x20
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0xd047fbe7
jmp 0x41de4f
cmp eax, 0x2dfa41f9
je 0x41e855
cmp eax, 0x2ece5c7f
je 0x41e861
cmp eax, 0x371c40e4
jne 0x41de4f
imul eax, dword [ebp - 0x14], 0x1d4
shr eax, 3
mov ecx, eax
imul ecx, eax
imul edx, ecx, 0x78f9
dec edx
add eax, 0xffffff26
mov dword [ebp - 0x14], eax
mov eax, 0x90bc63b1
cmp edx, ecx
je 0x41e827
mov eax, 0xf62cb4e1
jmp 0x41e827
cmp eax, 0xdc5149cf
je 0x41e4b8
cmp eax, 0xee9496e4
jne 0x41de4f
shl esi, 0xc
sub esp, 0x10
mov dword [esp + 0xc], 0x2c4d
mov dword [esp + 8], 0x3cad
mov dword [esp + 4], 0x1cba
mov ebx, 0xd7a6351
add esi, 0xee000
mov dword [esp], esi
je 0x41e3f1
mov ebx, 0xa0ec9b44
call fcn.00415872
mov dword [esp + 8], esi
mov dword [esp], 0x24a0
mov dword [esp + 4], 0x1068
mov dword [esp + 0xc], 0x3829
call fcn.004139a5
add esp, 0x10
mov dword [ebp - 0x10], ebx
jmp 0x41de4f
cmp eax, 0x522edfbd
jne 0x41e89e
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0xb2915a26
jmp 0x41de4f
cmp eax, 0x71c3109b
jne 0x41e8aa
imul eax, dword [ebp - 0x14], 0xfb
lea ecx, [eax + 0x14584]
imul ecx, ecx
imul edx, ecx, 0x2a1d
dec edx
add eax, 0x14615
mov dword [ebp - 0x14], eax
mov eax, 0x90bc63b1
cmp edx, ecx
jne 0x41e648
jmp 0x41e827
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x10], 0x4f72e
jmp 0x41de4f
mov dword [ebp - 0x10], 0xcaf9a3c4
jmp 0x41de4f
mov dword [ebp - 0x10], 0x28dccfc4
jmp 0x41de4f
mov eax, dword [ebp - 0x2c]
mov word [eax + 6], 0
mov dword [ebp - 0x10], 0xd7a6351
jmp 0x41de4f
mov dword [ebp - 0x10], 0xb8f4343e
jmp 0x41de4f
push eax
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0x54ad69e3
jmp 0x41de4f
mov dword [ebp - 0x10], 0xdc5149cf
jmp 0x41de4f
mov eax, dword [ebp - 0x34]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x10], 0x37e80d7
jmp 0x41de4f
mov eax, dword [ebp - 0x14]
mov ecx, 0x7fffff
and eax, ecx
lea eax, [eax*8 + 0xeb]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x8b0a18bf
mov dword [ebp - 0x1c], 0
jmp 0x41de4f
imul eax, dword [ebp - 0x14], 0x3f0000
shr eax, 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x3882f4bc
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
jmp 0x41de4f
lea eax, [esi + esi*8]
lea eax, [eax + eax*2]
add esi, eax
add esi, 0xd0
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x5872
mov dword [esp + 4], 0x571c
mov dword [esp], 0x601b
call fcn.00418b75
add esp, 0x10
mov eax, 0xd0ca3eab
cmp esi, 0xbb
jb 0x41e827
mov eax, 0xb446a354
jmp 0x41e827
mov dword [ebp - 0x10], 0xb325a231
jmp 0x41de4f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x10], 0xfd882732
jmp 0x41de4f
mov ebx, esi
shr ebx, 9
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x3a1f
mov dword [esp + 4], 0x1199
mov dword [esp], 0x1a26
call fcn.0041ad23
add esp, 0x10
mov eax, 0x70f1357f
cmp esi, 0x4800
jb 0x41e605
mov eax, 0xd0ca3eab
mov dword [ebp - 0x10], eax
mov esi, ebx
jmp 0x41de4f
cmp dword [ebp - 0x30], 0
mov eax, 0x75f568d0
je 0x41e61f
mov eax, 0x71c3109b
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
jmp 0x41de4f
imul esi, esi, 0xe4
add esi, 0x168
mov eax, 0xdc5149cf
cmp esi, 0x6a
jae 0x41e827
mov eax, 0x2ece5c7f
jmp 0x41e827
and esi, 0xfffffff8
shl esi, 0x12
add esi, 0xfffd8000
sub esp, 0x14
mov dword [esp], esi
mov dword [esp + 0x10], 0x2190
mov dword [esp + 0xc], 0x468a
mov dword [esp + 8], 0x2e98
mov dword [esp + 4], 0x5854
call fcn.00419bc3
add esp, 8
mov dword [esp + 8], esi
mov dword [esp + 4], 0x8d2
mov dword [esp], 0x2be4
call fcn.0041bc9c
add esp, 0xc
mov dword [ebp - 0x10], 0xaf093426
jmp 0x41de4f
mov eax, dword [ebp - 0x14]
shr eax, 2
and eax, 0x3ffff
mov ecx, eax
imul ecx, eax
add eax, 0xfffffe59
imul edx, ecx, 0x2139
dec edx
mov dword [ebp - 0x14], eax
mov eax, 0xd0ca3eab
cmp ecx, edx
je 0x41e6e0
mov eax, 0x5bfd41ce
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x41de4f
mov eax, dword [ebp - 0x2c]
movzx ecx, word [0x4648f0]
mov word [eax + 4], cx
mov ecx, dword [0x4648ec]
mov dword [eax], ecx
mov dword [ebp - 0x10], 0xd7b4234c
jmp 0x41de4f
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x10], 0x68cdac49
jmp 0x41de4f
shl esi, 0xa
add esi, 0xffff5c00
mov eax, 0x7571c98d
cmp esi, 0x130000
jae 0x41e747
mov eax, 0xcaf9a3c4
shr esi, 0xf
jmp 0x41e827
imul eax, dword [ebp - 0x14], 0x5c00000
add eax, 0x6c400000
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xaf093426
jmp 0x41de4f
mov eax, dword [ebp - 0x34]
sub esp, 0x10
lea ecx, [ebp - 0x260]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x50
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
mov eax, 0xf2e36baa
je 0x41e827
mov eax, 0x371c40e4
jmp 0x41e827
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
imul eax, ecx, 0x765d
imul ecx, ecx
imul edx, ecx, 0x49f9
dec edx
mov dword [ebp - 0x14], eax
mov eax, 0xee9496e4
cmp edx, ecx
je 0x41e7d3
mov eax, 0x8b0a18bf
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
jmp 0x41de4f
mov eax, dword [ebp - 0x14]
add eax, 0x54
mov ecx, eax
imul ecx, eax
imul edx, ecx, 0x29b7
dec edx
shr eax, 1
and eax, 0x7ffff0
add eax, 0x1c0
mov dword [ebp - 0x14], eax
mov eax, 0xb325a231
cmp edx, ecx
je 0x41e827
mov eax, 0xbb321aef
jmp 0x41e827
add esi, 0xffffffab
mov eax, 0xcaf9a3c4
cmp esi, 0xda
jae 0x41e827
mov eax, 0xd047fbe7
mov dword [ebp - 0x10], eax
jmp 0x41de4f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x10], 0xcc0729a9
jmp 0x41de4f
mov eax, dword [ebp - 0x50]
mov word [eax], 0
mov dword [ebp - 0x10], 0xcfe746fe
jmp 0x41de4f
mov dword [ebp - 0x10], 0xa0ec9b44
jmp 0x41de4f
mov eax, dword [ebp - 0x30]
sub esp, 0x1c
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ecx, 0xf0fd0d8e
test eax, eax
je 0x41e896
mov ecx, 0x522edfbd
mov dword [ebp - 0x10], ecx
jmp 0x41de4f
cmp eax, 0x3882f4bc
je 0x41e8f8
jmp 0x41de4f
cmp eax, 0x7571c98d
jne 0x41de4f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, 0xfffe0000
mov dword [ebp - 0x4c], eax
sub esp, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x4d04
mov dword [esp + 4], 0x41c5
mov dword [esp], 0x3ff2
call fcn.0041bfbd
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret