Function at 0x100d25d0
Capabilities:
Initialize winhttp library
Make an http request with a cookie
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101064f2
mov eax, dword fs:[0]
push eax
mov eax, 0x1164
call fcn.100da100
mov eax, dword [0x10167080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1108], edi
cmp dword [edi + 0x18], 0
mov eax, dword [ebp + 8]
ja 0x100d2623
mov dword [edi + 0xf8], 3
xor al, al
jmp 0x100d3843
push eax
lea ecx, [ebp - 0x1080]
call fcn.1000c530
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1080]
cmp dword [ebp - 0x106c], 7
push 0x10149754
cmova eax, dword [ebp - 0x1080]
push eax
call fcn.100e8d0c
add esp, 8
test eax, eax
jne 0x100d2668
mov eax, 0x10149754
mov edx, 3
jmp 0x100d269c
cmp dword [ebp - 0x106c], 7
lea eax, [ebp - 0x1080]
push str.POST
cmova eax, dword [ebp - 0x1080]
push eax
call fcn.100e8d0c
add esp, 8
test eax, eax
jne 0x100d381e
mov eax, str.POST
mov edx, 4
push edx
lea ecx, [ebp - 0x1080]
push eax
call fcn.1002b5e0
mov eax, dword [edi]
mov byte [ebp - 0x10ce], 1
test eax, eax
jne 0x100d26e7
cmp dword [edi + 0x128], 7
lea eax, [edi + 0x114]
jbe 0x100d26c7
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi], eax
test eax, eax
jne 0x100d26e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100d3823
push dword [edi + 0x184]
push dword [edi + 0x180]
push dword [edi + 0x17c]
push dword [edi + 0x178]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.100db190
xor eax, eax
push 0xa26
push eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x104e]
push eax
call fcn.100db190
lea eax, [ebp - 0x420]
mov dword [ebp - 0x116c], 0
mov dword [ebp - 0x1160], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1164], 0
add esp, 0x18
mov dword [ebp - 0x1144], eax
cmp dword [edi + 0x1c], 7
lea eax, [edi + 8]
movlpd qword [ebp - 0x1158], xmm0
movlpd qword [ebp - 0x1150], xmm0
mov dword [ebp - 0x1148], 0
movlpd qword [ebp - 0x113c], xmm0
mov dword [ebp - 0x1170], 0x3c
mov dword [ebp - 0x115c], 0x104
mov dword [ebp - 0x1140], 0x514
mov dword [ebp - 0x1168], 1
jbe 0x100d27c4
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x1170]
push ecx
push 0
push dword [edi + 0x18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x100d3832
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d27f0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x20]
call fcn.1002b5e0
push 0
push dword [ebp - 0x1158]
lea eax, [ebp - 0x420]
push eax
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x1110], eax
test eax, eax
je 0x100d3832
xor ecx, ecx
mov edx, 0x800000
cmp dword [ebp - 0x1164], 2
cmove ecx, edx
cmp dword [ebp - 0x106c], 7
push ecx
push 0
push 0
push 0
push dword [ebp - 0x1144]
lea edx, [ebp - 0x1080]
cmova edx, dword [ebp - 0x1080]
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x10d8], esi
test esi, esi
je 0x100d3810
cmp byte [edi + 4], 0
jne 0x100d28a9
cmp dword [ebp - 0x1164], 2
jne 0x100d28a9
push 4
lea eax, [ebp - 0x10cc]
mov dword [ebp - 0x10cc], 0x3100
push eax
push 0x1f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [ebp - 0x10cd], 0
xor ecx, ecx
mov eax, ecx
inc ecx
mov dword [ebp - 0x110c], ecx
cmp eax, 3
jae 0x100d37fd
mov ecx, dword [edi + 0xd8]
test ecx, ecx
je 0x100d28fd
cmp dword [edi + 0xdc], 7
lea eax, [edi + 0xc8]
jbe 0x100d28df
mov eax, dword [eax]
push 0x1000000
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x100d28fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
cmp dword [edi + 0xb8], 0
jbe 0x100d29a2
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x1058], 0
push str.Cookie:
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x1054], 0
movups xmmword [ebp - 0x1068], xmm0
call fcn.1002b9d0
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x100d294f
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x1068]
call fcn.100122c0
cmp dword [ebp - 0x1054], 7
lea eax, [ebp - 0x1068]
push 0x1000000
push dword [ebp - 0x1058]
cmova eax, dword [ebp - 0x1068]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x100d2993
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 0
call fcn.1000c5e0
cmp dword [edi + 0xf0], 0
jbe 0x100d2aaa
xor eax, eax
mov dword [ebp - 0x112c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x1134], 3
call fcn.100db190
lea eax, [edi + 0xe0]
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x100d29ef
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100e8e30
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1130], eax
lea eax, [ebp - 0x1134]
push 0xc
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100d2a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
mov eax, dword [edi + 0x140]
test eax, eax
je 0x100d2aaa
cmp dword [edi + 0x144], 7
lea ecx, [eax + eax]
lea eax, [edi + 0x130]
jbe 0x100d2a50
mov eax, dword [eax]
push ecx
push eax
push 0x1002
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100d2a6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
mov eax, dword [edi + 0x158]
test eax, eax
je 0x100d2aaa
cmp dword [edi + 0x15c], 7
lea ecx, [eax + eax]
lea eax, [edi + 0x148]
jbe 0x100d2a8c
mov eax, dword [eax]
push ecx
push eax
push 0x1003
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100d2aaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
mov byte [ebp - 0x1104], 0
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x100d2cec
lea eax, [ebp - 0x1060]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x1060], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x100d340a
mov eax, dword [ebp - 0x105c]
test eax, eax
je 0x100d2bdc
cmp dword [edi + 0x1c], 7
xorps xmm0, xmm0
mov dword [ebp - 0x1090], eax
lea eax, [edi + 8]
mov dword [ebp - 0x1098], 3
mov dword [ebp - 0x1094], 1
mov dword [ebp - 0x1084], 1
mov dword [ebp - 0x1088], 0
mov dword [ebp - 0x108c], 0
movq qword [ebp - 0x111c], xmm0
mov dword [ebp - 0x1114], 0
jbe 0x100d2b52
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x111c]
push ecx
lea ecx, [ebp - 0x1098]
push ecx
push eax
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x100d2c9c
push 0xc
lea eax, [ebp - 0x111c]
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x100d2bb3
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ecx, dword [ebp - 0x1104]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x1104], ecx
mov eax, dword [ebp - 0x1118]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x100d2bc6
push eax
call esi
mov eax, dword [ebp - 0x1114]
test eax, eax
je 0x100d2ca8
push eax
call esi
jmp 0x100d2ca8
mov esi, dword [ebp - 0x1058]
test esi, esi
je 0x100d2cc8
xor eax, eax
mov dword [ebp - 0x1128], 3
push 0x206
push eax
mov word [ebp - 0x218], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x216]
movlpd qword [ebp - 0x1124], xmm0
push eax
call fcn.100db190
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100e8e30
mov esi, dword [ebp - 0x1054]
lea eax, [ebp - 0x218]
add esp, 0x18
mov dword [ebp - 0x1124], eax
test esi, esi
je 0x100d2c81
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.100db190
push esi
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.100e8e30
lea eax, [ebp - 0x628]
add esp, 0x18
mov dword [ebp - 0x1120], eax
push 0xc
lea eax, [ebp - 0x1128]
push eax
push 0x26
push dword [ebp - 0x10d8]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100d2ca8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
mov eax, dword [ebp - 0x105c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x100d2cbb
push eax
call esi
mov eax, dword [ebp - 0x1058]
test eax, eax
je 0x100d2cc8
push eax
call esi
mov eax, dword [ebp - 0x1054]
test eax, eax
je 0x100d2cd9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [ebp - 0x1104], 0
mov esi, dword [ebp - 0x10d8]
je 0x100d37e9
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x100d2d25
lea ecx, [ebp - 0x10cc]
mov dword [ebp - 0x10cc], 0
push ecx
push dword [edi + 0xc4]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x100d2d25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x100d340a
push 0
lea eax, [ebp - 0x10d4]
mov dword [ebp - 0x10d4], 0
push eax
push 0
push 0
push 0x16
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x100d2d69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100d319c
mov eax, dword [ebp - 0x10d4]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100d99f1
mov ecx, dword [ebp - 0x10d4]
mov esi, eax
add ecx, ecx
mov dword [ebp - 0x10e8], esi
push ecx
push 0
push esi
call fcn.100db190
add esp, 0x10
lea eax, [ebp - 0x10d4]
push 0
push eax
push esi
push 0
push 0x16
push dword [ebp - 0x10d8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x100d318d
mov ecx, dword [ebp - 0x10e8]
lea esi, [edi + 0x38]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d2dd0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x10e8]
mov ecx, esi
call fcn.1002b5e0
mov dword [ebp - 0x10f4], 0
mov dword [ebp - 0x10f0], 0
mov dword [ebp - 0x10ec], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1068]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1058], 0
push 0x10149774
movups xmmword [ebp - 0x1068], xmm0
mov dword [ebp - 0x1054], 0
call fcn.1002b9d0
mov byte [ebp - 4], 3
cmp byte [edi + 0x12c], 0
jne 0x100d2eb4
push 0x19
push str.charset_A_Za_z0_9___
lea ecx, [ebp - 0x1068]
call fcn.1002b5e0
push ecx
lea eax, [ebp - 0x10f4]
push eax
push esi
push ecx
lea ecx, [ebp - 0x1068]
call fcn.100d3e80
add esp, 0x10
test al, al
je 0x100d2eb4
mov ecx, dword [ebp - 0x10f0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10f4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d2eb4
lea ecx, [edi + 0x68]
cmp ecx, esi
je 0x100d2eb4
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
jbe 0x100d2ead
mov esi, dword [esi]
push eax
push esi
call fcn.1002b5e0
push 0x18
push str.Content_Length:__0_9_
lea ecx, [ebp - 0x1068]
call fcn.1002b5e0
push ecx
lea ecx, [ebp - 0x10f4]
push ecx
lea eax, [edi + 0x38]
push eax
push ecx
lea ecx, [ebp - 0x1068]
call fcn.100d3e80
add esp, 0x10
test al, al
je 0x100d2f1d
mov ecx, dword [ebp - 0x10f0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10f4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d2f1d
cmp dword [esi + 0x14], 7
jbe 0x100d2f0e
mov esi, dword [esi]
push esi
call fcn.100e8e0d
add esp, 4
mov dword [edi + 0x8c], eax
push 0x12
push str.Location:__0_9_
lea ecx, [ebp - 0x1068]
call fcn.1002b5e0
push ecx
lea ecx, [ebp - 0x10f4]
push ecx
lea eax, [edi + 0x38]
push eax
push ecx
lea ecx, [ebp - 0x1068]
call fcn.100d3e80
add esp, 0x10
test al, al
je 0x100d2f8b
mov ecx, dword [ebp - 0x10f0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10f4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d2f8b
lea ecx, [edi + 0x160]
cmp ecx, esi
je 0x100d2f8b
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
jbe 0x100d2f84
mov esi, dword [esi]
push eax
push esi
call fcn.1002b5e0
push 0x15
push str.Set_Cookie:_b.__n
lea ecx, [ebp - 0x1068]
call fcn.1002b5e0
push ecx
lea ecx, [ebp - 0x10f4]
push ecx
lea eax, [edi + 0x38]
push eax
push ecx
lea ecx, [ebp - 0x1068]
call fcn.100d3e80
add esp, 0x10
test al, al
je 0x100d316d
mov ecx, dword [ebp - 0x10f0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10f4]
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x10dc], ecx
je 0x100d316d
lea eax, [edi + 0x90]
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10cc], eax
lea eax, [ecx - 1]
mov edi, dword [ebp - 0x10cc]
mov dword [ebp - 0x10e4], eax
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x100d301a
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.100122c0
mov eax, dword [ebp - 0x10e0]
cmp eax, dword [ebp - 0x10e4]
je 0x100d3047
push 2
push 0x101517a0
mov ecx, edi
call fcn.100122c0
mov eax, dword [ebp - 0x10e0]
inc eax
add esi, 0x18
mov dword [ebp - 0x10e0], eax
cmp eax, dword [ebp - 0x10dc]
jb 0x100d3010
mov edi, dword [ebp - 0x1108]
lea ecx, [ebp - 0x1098]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x1088], 0
push 0x101517a8
movups xmmword [ebp - 0x1098], xmm0
mov dword [ebp - 0x1084], 0
call fcn.1002b9d0
lea ecx, [ebp - 0x1098]
mov byte [ebp - 4], 4
push ecx
lea edx, [edi + 0x90]
lea ecx, [ebp - 0x10c8]
call fcn.100d3920
mov esi, eax
lea ecx, [edi + 0x90]
add esp, 4
cmp ecx, esi
je 0x100d30e9
call fcn.1000c5e0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x90], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0xa0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x10c8]
call fcn.1000c5e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1084]
cmp ecx, 7
jbe 0x100d3138
mov edx, dword [ebp - 0x1098]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d312e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3860
push ecx
push edx
call fcn.100d91c2
add esp, 8
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x100d316d
cmp dword [edi + 0xa4], 7
lea eax, [edi + 0x90]
jbe 0x100d3153
mov eax, dword [eax]
cmp word [eax + ecx*2 - 2], 0x3b
je 0x100d316d
push 1
lea ecx, [edi + 0x90]
push 0x101517ac
call fcn.100122c0
lea ecx, [ebp - 0x1068]
call fcn.1000c5e0
lea ecx, [ebp - 0x10f4]
mov byte [ebp - 4], 0
call fcn.100d3870
mov esi, dword [ebp - 0x10e8]
push esi
call fcn.100d9223
mov esi, dword [ebp - 0x10d8]
add esp, 4
push 0
lea eax, [ebp - 0x10d4]
mov dword [ebp - 0x10d4], 0
push eax
push 0
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x100d31cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100d3249
mov eax, dword [ebp - 0x10d4]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100d99f1
mov ecx, dword [ebp - 0x10d4]
mov esi, eax
add ecx, ecx
push ecx
push 0
push esi
call fcn.100db190
add esp, 0x10
lea eax, [ebp - 0x10d4]
push 0
push eax
push esi
push 0
push 0x13
push dword [ebp - 0x10d8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x100d3240
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d3224
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0xfc]
call fcn.1002b5e0
push esi
call fcn.100d9223
add esp, 4
mov eax, dword [edi + 0x80]
xor esi, esi
mov dword [ebp - 0x10e4], esi
mov ecx, 0x2800
mov dword [ebp - 0x10e8], ecx
test eax, eax
je 0x100d3275
push eax
call fcn.100d9223
add esp, 4
mov dword [edi + 0x80], esi
push 0x2800
call fcn.100d99f1
push 0x2800
push 0
push eax
mov dword [edi + 0x80], eax
call fcn.100db190
add esp, 0x10
nop word [eax + eax]
lea eax, [ebp - 0x10d4]
mov dword [ebp - 0x10d4], 0
push eax
push dword [ebp - 0x10d8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x100d341b
mov edx, dword [edi + 0x88]
test edx, edx
je 0x100d331c
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x100d331c
movd xmm1, esi
mov eax, esi
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
sub esp, 8
movd xmm0, ecx
addsd xmm1, qword [eax*8 + 0x10151e70]
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, qword [0x10151aa8]
addsd xmm0, qword [ecx*8 + 0x10151e70]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call edx
add esp, 8
mov eax, dword [ebp - 0x10d4]
inc eax
push eax
call fcn.100d99f1
mov ecx, dword [ebp - 0x10d4]
inc ecx
mov dword [ebp - 0x10cc], eax
push ecx
push 0
push eax
call fcn.100db190
add esp, 0x10
mov dword [ebp - 0x10e0], 0
lea eax, [ebp - 0x10e0]
push eax
push dword [ebp - 0x10d4]
push dword [ebp - 0x10cc]
push dword [ebp - 0x10d8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x100d33fa
mov ecx, dword [ebp - 0x10e0]
mov edx, dword [ebp - 0x10e8]
lea eax, [ecx + esi]
cmp eax, edx
jbe 0x100d33d6
mov esi, dword [edi + 0x80]
add edx, edx
push edx
mov dword [ebp - 0x10e8], edx
call fcn.100d99f1
mov ecx, dword [ebp - 0x10e8]
push ecx
push 0
push eax
mov dword [edi + 0x80], eax
call fcn.100db190
push dword [ebp - 0x10e4]
push esi
push dword [edi + 0x80]
call fcn.100dab50
push esi
call fcn.100d9223
mov ecx, dword [ebp - 0x10e0]
add esp, 0x20
mov esi, dword [ebp - 0x10e4]
mov eax, dword [edi + 0x80]
push ecx
push dword [ebp - 0x10cc]
add eax, esi
push eax
call fcn.100dab50
add esp, 0xc
add esi, dword [ebp - 0x10e0]
mov dword [ebp - 0x10e4], esi
push dword [ebp - 0x10cc]
call fcn.100d9223
add esp, 4
jmp 0x100d3427
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
jmp 0x100d37e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf8], eax
cmp dword [ebp - 0x10d4], 0
ja 0x100d32a0
mov edx, dword [edi + 0x88]
test edx, edx
je 0x100d348b
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x100d348b
movd xmm1, esi
mov eax, esi
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
sub esp, 8
movd xmm0, ecx
addsd xmm1, qword [eax*8 + 0x10151e70]
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, qword [0x10151aa8]
addsd xmm0, qword [ecx*8 + 0x10151e70]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call edx
add esp, 8
lea eax, [edi + 0x68]
mov dword [edi + 0x84], esi
cmp dword [eax + 0x14], 7
jbe 0x100d349c
mov eax, dword [eax]
push 5
push 0x101517b0
push eax
call fcn.100e8ee3
add esp, 0xc
xor edx, edx
test eax, eax
mov ecx, 0xfde9
setne dl
xor esi, esi
test eax, eax
mov dword [ebp - 0x10cc], edx
mov eax, dword [edi + 0x84]
push esi
cmovne ecx, esi
inc eax
push esi
push eax
push dword [edi + 0x80]
mov dword [ebp - 0x10e4], ecx
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x100d3523
mov eax, dword [edi + 0x84]
push 0
push 0
inc eax
mov dword [ebp - 0x10e4], 0
push eax
push dword [edi + 0x80]
mov dword [ebp - 0x10cc], 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jle 0x100d35a3
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100d99f1
lea ecx, [esi + esi]
mov dword [ebp - 0x10dc], eax
push ecx
push 0
push eax
call fcn.100db190
mov ecx, dword [edi + 0x84]
add esp, 0x10
inc ecx
push esi
mov esi, dword [ebp - 0x10dc]
push esi
push ecx
push dword [edi + 0x80]
push dword [ebp - 0x10cc]
push dword [ebp - 0x10e4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x100d359a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d3581
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x50]
call fcn.1002b5e0
push esi
call fcn.100d9223
add esp, 4
cmp dword [ebp - 0x106c], 7
lea eax, [ebp - 0x1080]
mov esi, dword [ebp - 0x1070]
cmova eax, dword [ebp - 0x1080]
mov byte [ebp - 0x10cd], 1
cmp esi, 3
jne 0x100d3804
mov edx, 0x10149754
test esi, esi
je 0x100d35fe
sub eax, edx
mov dword [ebp - 0x10dc], eax
nop
movzx ecx, word [eax + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x100d3804
mov eax, dword [ebp - 0x10dc]
add edx, 2
sub esi, 1
jne 0x100d35e0
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x10a0], 0
push str._html_
lea ecx, [ebp - 0x10b0]
mov dword [ebp - 0x109c], 0
movups xmmword [ebp - 0x10b0], xmm0
call fcn.1002b9d0
mov dword [ebp - 0x1100], 0
mov dword [ebp - 0x10fc], 0
mov dword [ebp - 0x10f8], 0
push ecx
lea ecx, [ebp - 0x1100]
mov byte [ebp - 4], 6
push ecx
lea eax, [edi + 0x50]
push eax
push ecx
lea ecx, [ebp - 0x10b0]
call fcn.100d3e80
mov esi, dword [ebp - 0x1100]
add esp, 0x10
mov dword [ebp - 0x10cc], esi
test al, al
je 0x100d3703
mov ecx, dword [ebp - 0x10fc]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d3703
push 9
push str.__html_
lea ecx, [ebp - 0x10b0]
call fcn.1002b5e0
push ecx
lea eax, [ebp - 0x1100]
push eax
lea eax, [edi + 0x50]
push eax
push ecx
lea ecx, [ebp - 0x10b0]
call fcn.100d3e80
mov esi, dword [ebp - 0x1100]
add esp, 0x10
mov dword [ebp - 0x10cc], esi
test al, al
je 0x100d36f2
mov ecx, dword [ebp - 0x10fc]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100d3703
mov dword [edi + 0xf8], 0xd
mov byte [ebp - 0x10cd], 0
mov byte [ebp - 4], 5
test esi, esi
je 0x100d379f
cmp esi, dword [ebp - 0x10fc]
je 0x100d3734
mov edi, dword [ebp - 0x10fc]
nop dword [eax]
mov ecx, esi
call fcn.1000c5e0
add esi, 0x18
cmp esi, edi
jne 0x100d3720
mov edi, dword [ebp - 0x1108]
mov ecx, dword [ebp - 0x10f8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10cc]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x100d3777
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3860
push ecx
push esi
call fcn.100d91c2
add esp, 8
mov dword [ebp - 0x1100], 0
mov dword [ebp - 0x10fc], 0
mov dword [ebp - 0x10f8], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x109c]
cmp ecx, 7
jbe 0x100d37e3
mov edx, dword [ebp - 0x10b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d37d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d3860
push ecx
push edx
call fcn.100d91c2
add esp, 8
mov esi, dword [ebp - 0x10d8]
cmp byte [ebp - 0x10cd], 0
jne 0x100d3804
mov ecx, dword [ebp - 0x110c]
jmp 0x100d28b2
mov byte [ebp - 0x10ce], 0
push dword [ebp - 0x10d8]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x1110]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x100d3832
mov eax, 0x57
mov ecx, 0xf8
mov byte [ebp - 0x10ce], 0
mov dword [edi + ecx], eax
lea ecx, [ebp - 0x1080]
call fcn.1000c5e0
mov al, byte [ebp - 0x10ce]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret 8
call fcn.100de11f
int3