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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x10b3818]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x22c], esi
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x1044dc9
test byte [eax + 0x1c], 1
je 0x1044dc9
cmp byte [eax + 0x19], 5
jb 0x1044dc9
push ebx
push dword [ebp + 8]
push 0x1003c18
push 0xc5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104cb61
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x20c], edi
je 0x1045089
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1044e03
sub eax, edx
sar eax, 1
je 0x1045089
cmp esi, 0xffffffff
je 0x1045089
cmp esi, edi
je 0x1045089
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x268]
push edi
push eax
call fcn.0107aa60
or dword [ebp - 0x238], 0xffffffff
or dword [ebp - 0x260], 0xffffffff
add esp, 0xc
lea eax, [ebp - 0x204]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x268]
push eax
push edi
push edi
push ebx
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x254], 0x100
call dword [0x100143c]
test eax, eax
je 0x1045078
push edi
push edi
push edi
push 1
push 0x1003d30
call dword [0x100146c]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x21c], esi
je 0x1045078
mov eax, 0x3a98
push eax
push eax
push eax
push 0x2710
push esi
call dword [0x1001470]
test eax, eax
je 0x1045078
push edi
push 0x4000
push 0x1044d51
push esi
call dword [0x1001474]
cmp eax, 0xffffffff
je 0x1045078
push edi
push dword [ebp - 0x250]
lea eax, [ebp - 0x204]
push eax
push esi
call dword [0x1001478]
cmp eax, edi
mov dword [ebp - 0x214], eax
je 0x1045078
cmp dword [ebp - 0x25c], 2
jne 0x1044f08
mov eax, 0x800000
jmp 0x1044f0a
xor eax, eax
push eax
push edi
push edi
push edi
push dword [ebp - 0x23c]
push 0x1003d24
push dword [ebp - 0x214]
call dword [0x100147c]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x20c], esi
je 0x1045078
push edi
push edi
push edi
push edi
push edi
push edi
push esi
call dword [0x1001468]
test eax, eax
je 0x1045078
push edi
push esi
call dword [0x1001464]
test eax, eax
je 0x1045078
mov dword [ebp - 0x224], edi
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x208], edi
call dword [0x1001458]
test eax, eax
je 0x1045078
mov eax, dword [ebp - 0x208]
cmp eax, edi
je 0x1045069
add dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp + 8]
ja 0x104506d
inc eax
cmp dword [ebp - 0x218], eax
jae 0x1044fe6
push dword [ebp - 0x210]
call fcn.0107a4d2
mov eax, dword [ebp - 0x208]
inc eax
push eax
call fcn.0107a4e3
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
mov dword [ebp - 0x210], ebx
je 0x1045074
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x218], eax
jmp 0x1044fec
mov ebx, dword [ebp - 0x210]
push dword [ebp - 0x218]
push edi
push ebx
call fcn.0107aa60
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x208]
push ebx
push dword [ebp - 0x20c]
call dword [0x1001460]
test eax, eax
je 0x1045078
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x208]
ja 0x1045082
xor esi, esi
cmp eax, edi
jbe 0x104505d
push edi
lea ecx, [ebp - 0x228]
push ecx
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp - 0x22c]
call dword [0x1001150]
test eax, eax
je 0x1045078
add esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x220]
cmp esi, eax
jb 0x104502e
cmp dword [ebp - 0x208], edi
ja 0x1044f60
xor ebx, ebx
jmp 0x104508c
mov ebx, 0x2070
jmp 0x104508c
push 0xe
jmp 0x104508b
call dword [fcn.010011dc]
mov ebx, eax
jmp 0x104508c
mov ebx, 0x570
jmp 0x104508c
push 0x57
pop ebx
push dword [ebp - 0x210]
call fcn.0107a4d2
cmp dword [ebp - 0x20c], edi
mov esi, dword [0x100145c]
pop ecx
je 0x10450ae
push dword [ebp - 0x20c]
call esi
cmp dword [ebp - 0x214], edi
je 0x10450be
push dword [ebp - 0x214]
call esi
cmp dword [ebp - 0x21c], edi
pop edi
je 0x10450cf
push dword [ebp - 0x21c]
call esi
mov eax, dword [0x10b30cc]
cmp eax, 0x10b30cc
je 0x104510b
test byte [eax + 0x1c], 1
je 0x104510b
movzx ecx, byte [eax + 0x19]
mov edx, ebx
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x104510b
push ebx
push 0x1003c18
push 0xc6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0107a6bf
leave
ret 4