Function at 0x412ee9
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4985f3
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10b8
call fcn.0046ed70
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1094], edi
mov dword [ebp - 0x1090], edi
mov dword [ebp - 0x1098], 0
mov ecx, 7
cmp dword [esi + 0x10], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1090], edi
mov eax, esi
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0xf
movups xmmword [ebp - 0x108c], xmm0
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x1078], 0
jbe 0x412c99
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x108c]
call fcn.0040e0a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x108c]
cmp dword [ebp - 0x1078], 0xf
mov eax, 9
mov edx, dword [ebp - 0x107c]
cmova ecx, dword [ebp - 0x108c]
push 7
push str.http:__
mov dword [ebp - 0x1070], eax
mov dword [ebp - 0x1098], eax
call fcn.00446f40
add esp, 8
test al, al
jne 0x412d77
mov ecx, 8
mov dword [ebp - 0x1050], 0
cmp dword [esi + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1060], xmm0
cmovb ecx, dword [esi + 0x10]
mov eax, esi
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x104c], 0
jbe 0x412d23
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x1060]
call fcn.0040e0a0
cmp dword [ebp - 0x104c], 0xf
lea ecx, [ebp - 0x1060]
mov edx, dword [ebp - 0x1050]
mov eax, 0x1b
cmova ecx, dword [ebp - 0x1060]
push 8
push str.https:__
mov dword [ebp - 0x1070], eax
call fcn.00446f40
mov ecx, dword [ebp - 0x1060]
add esp, 8
test al, al
jne 0x412d7d
mov byte [ebp - 0x1065], 1
jmp 0x412d84
mov ecx, dword [ebp - 0x1060]
mov byte [ebp - 0x1065], 0
mov eax, dword [ebp - 0x1070]
test al, 2
je 0x412de1
mov edx, dword [ebp - 0x104c]
and eax, 0xfffffffd
mov dword [ebp - 0x1070], eax
cmp edx, 0xf
jbe 0x412de1
inc edx
mov dword [ebp - 0x106c], ecx
cmp edx, 0x1000
jb 0x412dd1
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x106c], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4136c0
mov ecx, dword [ebp - 0x106c]
push edx
push ecx
call fcn.0046dfdf
mov eax, dword [ebp - 0x1070]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x412e28
mov eax, dword [ebp - 0x1078]
cmp eax, 0xf
jbe 0x412e28
mov edx, dword [ebp - 0x108c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x412e1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136c0
push ecx
push edx
call fcn.0046dfdf
add esp, 8
cmp byte [ebp - 0x1065], 0
push 0
je 0x412e58
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [edi], xmm0
push 0x4a83de
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040e0a0
jmp 0x4134a7
push 0
push 0
push 0
push str.PohSoftware_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x1070], eax
xorps xmm0, xmm0
test eax, eax
jne 0x412e91
push eax
movups xmmword [edi], xmm0
push 0x4a83de
mov ecx, edi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
call fcn.0040e0a0
jmp 0x4134a7
mov ecx, 8
mov dword [ebp - 0x107c], 0
cmp dword [esi + 0x10], ecx
mov eax, esi
movups xmmword [ebp - 0x108c], xmm0
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x1078], 0
jbe 0x412ec2
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x108c]
call fcn.0040e0a0
cmp dword [ebp - 0x1078], 0xf
lea ecx, [ebp - 0x108c]
mov edx, dword [ebp - 0x107c]
cmova ecx, dword [ebp - 0x108c]
push 8
push str.https:__
call fcn.00446f40
mov byte [ebp - 0x1065], al
add esp, 8
mov eax, dword [ebp - 0x1078]
cmp eax, 0xf
jbe 0x412f44
mov ecx, dword [ebp - 0x108c]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x412f3a
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x106c], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4136c0
mov ecx, dword [ebp - 0x106c]
push edx
push ecx
call fcn.0046dfdf
add esp, 8
push ecx
push 0x4a91f4
mov ecx, esi
call fcn.0042ae90
mov ecx, dword [esi + 0x10]
add eax, 2
mov dword [ebp - 0x1038], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1034], 0
movups xmmword [ebp - 0x1048], xmm0
cmp ecx, eax
jb 0x4136c5
sub ecx, eax
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x412f92
mov ecx, dword [esi]
add eax, ecx
lea ecx, [ebp - 0x1048]
push edx
push eax
call fcn.0040e0a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1030]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0
push 0x4a91f8
movups xmmword [ebp - 0x1030], xmm0
mov dword [ebp - 0x101c], 0
call fcn.0040e0a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1048]
cmp dword [ebp - 0x1034], 0xf
mov eax, dword [ebp - 0x1038]
cmova ecx, dword [ebp - 0x1048]
mov dword [ebp - 0x106c], ecx
test eax, eax
je 0x41301a
push eax
push 0x2f
push ecx
call fcn.00471520
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x41301a
sub ecx, dword [ebp - 0x106c]
jmp 0x41301d
or ecx, 0xffffffff
mov dword [ebp - 0x1074], ecx
cmp ecx, 0xffffffff
je 0x413172
mov eax, dword [ebp - 0x1038]
xorps xmm0, xmm0
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x1078], 0
movups xmmword [ebp - 0x108c], xmm0
cmp eax, ecx
jb 0x4136ca
sub eax, ecx
mov edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [ebp - 0x1034], 0xf
lea eax, [ebp - 0x1048]
cmova eax, dword [ebp - 0x1048]
add eax, ecx
lea ecx, [ebp - 0x108c]
push edx
push eax
call fcn.0040e0a0
lea eax, [ebp - 0x108c]
push eax
lea ecx, [ebp - 0x1030]
call fcn.0042b130
mov ecx, dword [ebp - 0x1078]
cmp ecx, 0xf
jbe 0x4130d4
mov edx, dword [ebp - 0x108c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4130ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136c0
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov ecx, dword [ebp - 0x1074]
lea eax, [ebp - 0x1048]
cmp dword [ebp - 0x1038], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x108c], xmm0
cmovb ecx, dword [ebp - 0x1038]
cmp dword [ebp - 0x1034], 0xf
push ecx
cmova eax, dword [ebp - 0x1048]
lea ecx, [ebp - 0x108c]
push eax
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x1078], 0
call fcn.0040e0a0
lea eax, [ebp - 0x108c]
push eax
lea ecx, [ebp - 0x1048]
call fcn.0042b130
mov ecx, dword [ebp - 0x1078]
cmp ecx, 0xf
jbe 0x413172
mov edx, dword [ebp - 0x108c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413168
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136c0
push ecx
push edx
call fcn.0046dfdf
add esp, 8
cmp dword [ebp - 0x1034], 0xf
lea eax, [ebp - 0x1048]
mov ecx, dword [ebp - 0x1038]
cmova eax, dword [ebp - 0x1048]
add eax, ecx
cmp dword [ebp - 0x1034], 0xf
lea ecx, [ebp - 0x1048]
cmova ecx, dword [ebp - 0x1048]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x10b0]
call fcn.00435400
mov edx, eax
cmp dword [edx + 0x14], 7
jbe 0x4131ba
mov edx, dword [edx]
cmp byte [ebp - 0x1065], 0
mov eax, 0x1bb
mov ecx, 0x50
push 0
cmovne ecx, eax
movzx eax, cx
push eax
push edx
push dword [ebp - 0x1070]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, dword [ebp - 0x109c]
mov dword [ebp - 0x1074], eax
cmp ecx, 7
jbe 0x41322d
mov edx, dword [ebp - 0x10b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41321d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136cf
push ecx
push edx
call fcn.0046dfdf
mov eax, dword [ebp - 0x1074]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x10a0], 0
mov dword [ebp - 0x109c], 7
mov word [ebp - 0x10b0], cx
test eax, eax
jne 0x41325f
push dword [ebp - 0x1070]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4133f6
cmp dword [esi + 0x10], 8
xorps xmm0, xmm0
mov dword [ebp - 0x107c], ecx
mov dword [ebp - 0x1078], ecx
mov ecx, 8
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0xf
movups xmmword [ebp - 0x108c], xmm0
jbe 0x41328a
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x108c]
call fcn.0040e0a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108c]
cmp dword [ebp - 0x1078], 0xf
mov edx, dword [ebp - 0x107c]
cmova ecx, dword [ebp - 0x108c]
push 8
push str.https:__
call fcn.00446f40
movzx eax, al
lea ecx, [ebp - 0x1030]
shl eax, 0x17
cmp dword [ebp - 0x101c], 0xf
mov dword [ebp - 0x106c], eax
cmova ecx, dword [ebp - 0x1030]
mov eax, dword [ebp - 0x1020]
add eax, ecx
cmp dword [ebp - 0x101c], 0xf
lea ecx, [ebp - 0x1030]
cmova ecx, dword [ebp - 0x1030]
add esp, 4
push eax
push ecx
lea ecx, [ebp - 0x10c8]
call fcn.00435400
cmp dword [eax + 0x14], 7
jbe 0x413315
mov eax, dword [eax]
push dword [ebp - 0x106c]
push 0
push 0
push 0
push eax
push 0x4a91fc
push dword [ebp - 0x1074]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 0x10b4]
mov esi, eax
mov dword [ebp - 0x106c], esi
cmp ecx, 7
jbe 0x41337b
mov edx, dword [ebp - 0x10c8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413371
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136d4
push ecx
push edx
call fcn.0046dfdf
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x10c8], ax
mov eax, dword [ebp - 0x1078]
mov dword [ebp - 0x10b8], 0
mov dword [ebp - 0x10b4], 7
cmp eax, 0xf
jbe 0x4133d8
mov edx, dword [ebp - 0x108c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4133ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136d4
push ecx
push edx
call fcn.0046dfdf
add esp, 8
test esi, esi
jne 0x4134c7
push dword [ebp - 0x1074]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x1070]
call esi
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [edi], xmm0
push 0
mov dword [edi + 0x10], 0
push 0x4a83de
mov dword [edi + 0x14], 0
call fcn.0040e0a0
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0xf
jbe 0x413452
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413448
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136c0
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov ecx, dword [ebp - 0x1034]
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
cmp ecx, 0xf
jbe 0x4134a7
mov edx, dword [ebp - 0x1048]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41349d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136c0
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x4a9204
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4134f5
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x1074]
jmp 0x4133ec
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x4134e1
xorps xmm0, xmm0
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0x1050], esi
movups xmmword [ebp - 0x1060], xmm0
mov dword [ebp - 0x104c], edi
mov byte [ebp - 0x1060], 0
mov byte [ebp - 4], 4
nop word [eax + eax]
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.0046fd30
add esp, 0xc
lea eax, [ebp - 0x1064]
push eax
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x106c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4135e8
mov ecx, dword [ebp - 0x1064]
mov eax, edi
sub eax, esi
mov dword [ebp - 0x1090], ecx
push ecx
cmp ecx, eax
ja 0x4135b5
lea eax, [ecx + esi]
cmp edi, 0xf
mov dword [ebp - 0x1050], eax
lea eax, [ebp - 0x1060]
cmova eax, dword [ebp - 0x1060]
add esi, eax
lea eax, [ebp - 0x1018]
push eax
push esi
call fcn.0046f740
mov eax, dword [ebp - 0x1090]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x4135ce
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1094]
push ecx
lea ecx, [ebp - 0x1060]
call fcn.004378e0
cmp dword [ebp - 0x1064], 0
jbe 0x4135e8
mov esi, dword [ebp - 0x1050]
mov edi, dword [ebp - 0x104c]
jmp 0x413530
push dword [ebp - 0x106c]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x1074]
call esi
push dword [ebp - 0x1070]
call esi
mov edi, dword [ebp - 0x1094]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x101c]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x1060]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1050]
movq qword [edi + 0x10], xmm0
cmp ecx, 0xf
jbe 0x41366d
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413663
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136c0
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov ecx, dword [ebp - 0x1034]
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
cmp ecx, 0xf
jbe 0x4134a7
mov edx, dword [ebp - 0x1048]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41349d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41349d
call fcn.0047bff9
call fcn.00431740
call fcn.00431740
call fcn.0047bff9
call fcn.0047bff9
int3