Function at 0x4191a0
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 0x4aa2a8
mov eax, dword fs:[0]
push eax
mov eax, 0x1188
call fcn.00492e50
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x18]
xor esi, esi
cmp eax, esi
ja 0x4191e9
mov dword [ebx + 0x11c], 3
jmp 0x41a186
xor eax, eax
push esi
mov word [ebp - 0x106c], ax
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x106c]
mov dword [ebp - 0x1058], 7
mov dword [ebp - 0x105c], esi
call fcn.00402e00
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x106c]
mov edi, 8
cmp dword [ebp - 0x1058], edi
jae 0x41922e
lea eax, [ebp - 0x106c]
push 0x4bba2c
push eax
call fcn.004909a6
add esp, 8
test eax, eax
jne 0x419249
push 3
mov eax, 0x4bba2c
jmp 0x41927a
mov eax, dword [ebp - 0x106c]
cmp dword [ebp - 0x1058], edi
jae 0x41925d
lea eax, [ebp - 0x106c]
push 0x4bba34
push eax
call fcn.004909a6
add esp, 8
test eax, eax
jne 0x41a165
push 4
mov eax, 0x4bba34
lea ecx, [ebp - 0x106c]
call fcn.004030c0
mov byte [ebp - 0x10c2], 1
cmp dword [ebx], esi
jne 0x4192d5
cmp dword [ebx + 0x150], edi
lea eax, [ebx + 0x13c]
jb 0x4192a0
mov eax, dword [eax]
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebx], eax
cmp eax, esi
jne 0x4192d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp dword [ebp - 0x1058], edi
jb 0x41a186
mov ecx, dword [ebp - 0x106c]
push ecx
jmp 0x41a17e
mov edx, dword [ebx + 0x1bc]
mov eax, dword [ebx + 0x1b8]
mov ecx, dword [ebx + 0x1b4]
push edx
mov edx, dword [ebx + 0x1b0]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 0x206
lea edx, [ebp - 0x41e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x420], cx
call fcn.00493520
add esp, 0xc
push 0xa26
lea ecx, [ebp - 0x104e]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x1050], ax
call fcn.00493520
add esp, 0xc
push 0x3c
lea edx, [ebp - 0x1194]
push esi
push edx
call fcn.00493520
lea eax, [ebp - 0x420]
mov dword [ebp - 0x1184], eax
lea ecx, [ebp - 0x1050]
lea eax, [ebx + 8]
add esp, 0xc
mov dword [ebp - 0x1168], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x1194], 0x3c
mov dword [ebp - 0x1180], 0x104
mov dword [ebp - 0x1164], 0x514
mov dword [ebp - 0x118c], 1
cmp dword [eax + 0x14], edi
jb 0x419395
mov eax, dword [eax]
lea edx, [ebp - 0x1194]
push edx
push esi
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x41a146
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4193b6
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebx + 0x24]
lea eax, [ebp - 0x420]
call fcn.004030c0
mov eax, dword [ebp - 0x117c]
mov edx, dword [ebx]
push esi
push eax
lea ecx, [ebp - 0x420]
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x1148], edi
cmp edi, esi
je 0x41a141
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 4
lea eax, [ebp - 0x1158]
push eax
push 0x44
push edi
mov dword [ebp - 0x1158], 1
call esi
cmp dword [ebp - 0x1058], 8
mov eax, dword [ebp - 0x106c]
jae 0x41942f
lea eax, [ebp - 0x106c]
mov ecx, dword [ebp - 0x1168]
push 0x40
push 0
push 0
push 0
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x10cc], eax
test eax, eax
je 0x41a13a
cmp byte [ebx + 4], 0
jne 0x41947b
cmp dword [ebp - 0x1188], 2
jne 0x41947b
push 4
lea edx, [ebp - 0x10dc]
push edx
push 0x1f
push eax
mov dword [ebp - 0x10dc], 0x3100
call esi
mov byte [ebp - 0x10c1], 0
mov dword [ebp - 0x10f0], 0
lea esp, [esp]
mov eax, dword [ebp - 0x10f0]
mov ecx, eax
inc eax
mov dword [ebp - 0x10f0], eax
cmp ecx, 1
jae 0x41a117
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x4194e9
cmp dword [ebx + 0xf8], 8
lea eax, [ebx + 0xe4]
jb 0x4194c3
mov eax, dword [eax]
mov esi, dword [ebp - 0x10cc]
push 0x1000000
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4194ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
jmp 0x4194ef
mov esi, dword [ebp - 0x10cc]
cmp dword [ebx + 0xd0], 0
jbe 0x41956f
mov eax, str.Cookie:
lea esi, [ebp - 0x1088]
call fcn.004031d0
push 0
lea edx, [ebx + 0xc0]
push edx
or eax, 0xffffffff
mov edi, esi
mov byte [ebp - 4], 1
call fcn.0041d300
cmp dword [ebp - 0x1074], 8
mov eax, dword [ebp - 0x1088]
jae 0x419530
mov eax, esi
mov ecx, dword [ebp - 0x1078]
mov edx, dword [ebp - 0x10cc]
push 0x1000000
push ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x41955a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
lea esi, [ebp - 0x1088]
mov byte [ebp - 4], 0
call fcn.0041ec50
mov esi, dword [ebp - 0x10cc]
cmp dword [ebx + 0x110], 0
jbe 0x419678
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 0x1154], eax
push ecx
mov dword [ebp - 0x1150], eax
mov dword [ebp - 0x114c], eax
mov dword [ebp - 0x1154], 3
mov word [ebp - 0x218], ax
call fcn.00493520
lea eax, [ebx + 0x100]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4195c4
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.004920db
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add esp, 0xc
push 0xc
lea ecx, [ebp - 0x1154]
push ecx
push 0x26
lea eax, [ebp - 0x218]
push esi
mov dword [ebp - 0x1150], eax
call edi
test eax, eax
jne 0x419609
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov ecx, dword [ebx + 0x16c]
test ecx, ecx
je 0x419678
cmp dword [ebx + 0x170], 8
lea eax, [ebx + 0x15c]
jb 0x419624
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push eax
push 0x1002
push esi
call edi
test eax, eax
jne 0x419641
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov ecx, dword [ebx + 0x188]
test ecx, ecx
je 0x419678
cmp dword [ebx + 0x18c], 8
lea eax, [ebx + 0x178]
jb 0x41965c
mov eax, dword [eax]
add ecx, ecx
push ecx
push eax
push 0x1003
push esi
call edi
test eax, eax
jne 0x419678
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push 0
push 0
push 0
push 0
push 0
push 0
push esi
mov byte [ebp - 0x10d5], 0
call edi
test eax, eax
jne 0x4198e8
lea edx, [ebp - 0x1100]
push edx
xor esi, esi
mov dword [ebp - 0x1100], eax
mov dword [ebp - 0x10fc], eax
mov dword [ebp - 0x10f8], eax
mov dword [ebp - 0x10f4], eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x41a0f5
mov ecx, dword [ebp - 0x10fc]
cmp ecx, esi
je 0x4197cc
xor eax, eax
mov dword [ebp - 0x1140], eax
mov dword [ebp - 0x113c], eax
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], eax
mov dword [ebp - 0x1130], eax
mov dword [ebp - 0x112c], eax
mov eax, 1
mov dword [ebp - 0x113c], eax
mov dword [ebp - 0x112c], eax
xor eax, eax
cmp dword [ebx + 0x1c], 8
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1124], eax
mov dword [ebp - 0x1120], eax
lea eax, [ebx + 8]
mov dword [ebp - 0x1140], 3
mov dword [ebp - 0x1138], ecx
mov dword [ebp - 0x1130], esi
mov dword [ebp - 0x1134], esi
jb 0x41974b
mov eax, dword [eax]
lea ecx, [ebp - 0x1128]
push ecx
lea edx, [ebp - 0x1140]
push edx
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x41989c
mov esi, dword [ebp - 0x10cc]
push 0xc
lea ecx, [ebp - 0x1128]
push ecx
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x4197a1
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
je 0x4197a1
mov byte [ebp - 0x10d5], 1
mov eax, dword [ebp - 0x1124]
test eax, eax
je 0x4197b2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x1120]
test eax, eax
je 0x4198a8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4198a8
mov esi, dword [ebp - 0x10f8]
test esi, esi
je 0x4198ca
xor eax, eax
xor edx, edx
mov dword [ebp - 0x111c], eax
push 0x206
mov dword [ebp - 0x1118], eax
mov dword [ebp - 0x1114], eax
push edx
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x111c], 3
mov word [ebp - 0x218], dx
call fcn.00493520
add esp, 0xc
push esi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.004920db
mov esi, dword [ebp - 0x10f4]
add esp, 0xc
lea edx, [ebp - 0x218]
mov dword [ebp - 0x1118], edx
test esi, esi
je 0x419880
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call fcn.00493520
add esp, 0xc
push esi
lea edx, [ebp - 0x628]
push 0x104
push edx
call fcn.004920db
lea eax, [ebp - 0x628]
add esp, 0xc
mov dword [ebp - 0x1114], eax
mov edx, dword [ebp - 0x10cc]
push 0xc
lea ecx, [ebp - 0x111c]
push ecx
push 0x26
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4198a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp - 0x10fc]
test eax, eax
je 0x4198b9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10f8]
test eax, eax
je 0x4198ca
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10f4]
test eax, eax
je 0x4198db
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [ebp - 0x10d5], 0
je 0x41a101
mov eax, dword [ebx + 0xdc]
xor edi, edi
cmp eax, edi
je 0x419926
mov edx, dword [ebx + 0xe0]
lea ecx, [ebp - 0x10dc]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x10cc]
push eax
mov dword [ebp - 0x10dc], edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x419926
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov esi, dword [ebp - 0x10cc]
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x41a0f5
push edi
lea ecx, [ebp - 0x10c8]
push ecx
push edi
push edi
push 0x16
push esi
mov dword [ebp - 0x10c8], edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, edi
jne 0x419968
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x419c91
mov eax, dword [ebp - 0x10c8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048f5d8
mov esi, eax
add esp, 4
mov dword [ebp - 0x10dc], esi
test esi, esi
je 0x419c91
mov eax, dword [ebp - 0x10c8]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.00493520
mov eax, dword [ebp - 0x10cc]
add esp, 0xc
push 0
lea edx, [ebp - 0x10c8]
push edx
push esi
push 0
push 0x16
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x419c88
lea edi, [ebx + 0x40]
push edi
mov eax, esi
call fcn.004097b0
xor eax, eax
mov dword [ebp - 0x10ec], eax
mov dword [ebp - 0x10e8], eax
mov dword [ebp - 0x10e4], eax
mov eax, 0x4ba358
lea esi, [ebp - 0x1088]
mov byte [ebp - 4], 2
call fcn.004031d0
mov byte [ebp - 4], 3
cmp byte [ebx + 0x158], 0
jne 0x419a64
mov ecx, esi
push ecx
mov eax, str.charset_A_Za_z0_9___
call fcn.004097b0
mov edx, esi
push edx
lea edx, [ebp - 0x10ec]
mov ecx, edi
call fcn.00418730
add esp, 4
test al, al
je 0x419a64
mov ecx, dword [ebp - 0x10e8]
mov esi, dword [ebp - 0x10ec]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x419a64
push 0
lea edi, [ebx + 0x78]
push esi
or eax, 0xffffffff
call fcn.00402e00
lea ecx, [ebp - 0x1088]
push ecx
mov eax, str.Content_Length:__0_9_
call fcn.004097b0
lea edx, [ebp - 0x1088]
push edx
lea edx, [ebp - 0x10ec]
lea ecx, [ebx + 0x40]
call fcn.00418730
add esp, 4
test al, al
je 0x419acb
mov ecx, dword [ebp - 0x10e8]
mov esi, dword [ebp - 0x10ec]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x419acb
cmp dword [esi + 0x14], 8
jb 0x419abc
mov esi, dword [esi]
push esi
call fcn.00490d26
add esp, 4
mov dword [ebx + 0xa0], eax
lea ecx, [ebp - 0x1088]
push ecx
mov eax, str.Location:__0_9_
call fcn.004097b0
lea edx, [ebp - 0x1088]
push edx
lea edx, [ebp - 0x10ec]
lea ecx, [ebx + 0x40]
call fcn.00418730
add esp, 4
test al, al
je 0x419b2c
mov ecx, dword [ebp - 0x10e8]
mov esi, dword [ebp - 0x10ec]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x419b2c
push 0
push esi
lea edi, [ebx + 0x194]
or eax, 0xffffffff
call fcn.00402e00
lea ecx, [ebp - 0x1088]
push ecx
mov eax, str.Set_Cookie:_b.__n
call fcn.004097b0
lea edx, [ebp - 0x1088]
push edx
lea edx, [ebp - 0x10ec]
lea ecx, [ebx + 0x40]
call fcn.00418730
add esp, 4
test al, al
je 0x419c68
mov ecx, dword [ebp - 0x10e8]
sub ecx, dword [ebp - 0x10ec]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x419c68
mov dword [ebp - 0x10d4], 0
test esi, esi
je 0x419be1
mov eax, dword [ebp - 0x10ec]
lea edi, [ebx + 0xa4]
mov dword [ebp - 0x10d0], eax
mov ecx, dword [ebp - 0x10d0]
push 0
push ecx
or eax, 0xffffffff
call fcn.0041d300
lea eax, [esi - 1]
cmp dword [ebp - 0x10d4], eax
je 0x419bc9
push edi
mov eax, 0x4bbb10
call fcn.0041c480
mov eax, dword [ebp - 0x10d4]
add dword [ebp - 0x10d0], 0x1c
inc eax
mov dword [ebp - 0x10d4], eax
cmp eax, esi
jb 0x419ba2
mov eax, 0x4bba28
lea esi, [ebp - 0x10a4]
call fcn.004031d0
lea edx, [ebp - 0x10a4]
push edx
lea esi, [ebx + 0xa4]
push esi
lea edx, [ebp - 0x10c0]
mov byte [ebp - 4], 4
call fcn.00418af0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00402070
lea esi, [ebp - 0x10c0]
call fcn.0041ec50
lea esi, [ebp - 0x10a4]
mov byte [ebp - 4], 3
call fcn.0041ec50
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x419c68
cmp dword [ebx + 0xb8], 8
lea ecx, [ebx + 0xa4]
jb 0x419c53
mov edx, dword [ecx]
jmp 0x419c55
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x3b
je 0x419c68
push ecx
mov eax, 0x4bbb18
call fcn.0041c480
lea esi, [ebp - 0x1088]
call fcn.0041ec50
lea esi, [ebp - 0x10ec]
mov byte [ebp - 4], 0
call fcn.0041c500
mov esi, dword [ebp - 0x10dc]
push esi
call fcn.0048f7ae
add esp, 4
mov ecx, dword [ebp - 0x10cc]
push 0
lea eax, [ebp - 0x10c8]
push eax
push 0
push 0
push 0x13
push ecx
mov dword [ebp - 0x10c8], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x419cc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x419d36
mov eax, dword [ebp - 0x10c8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048f5d8
mov esi, eax
add esp, 4
test esi, esi
je 0x419d36
mov eax, dword [ebp - 0x10c8]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.00493520
mov eax, dword [ebp - 0x10cc]
add esp, 0xc
push 0
lea edx, [ebp - 0x10c8]
push edx
push esi
push 0
push 0x13
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x419d2d
lea ecx, [ebx + 0x120]
push ecx
mov eax, esi
call fcn.004097b0
push esi
call fcn.0048f7ae
add esp, 4
mov eax, dword [ebx + 0x94]
xor edi, edi
mov dword [ebp - 0x10d4], 0x2800
test eax, eax
je 0x419d5b
push eax
call fcn.0048f7ae
add esp, 4
mov dword [ebx + 0x94], edi
push 0x2800
call fcn.0048f5d8
add esp, 4
mov dword [ebx + 0x94], eax
test eax, eax
je 0x41a110
push 0x2800
push 0
push eax
call fcn.00493520
add esp, 0xc
jmp 0x419d90
mov eax, dword [ebp - 0x10cc]
lea edx, [ebp - 0x10c8]
push edx
push eax
mov dword [ebp - 0x10c8], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x419eb8
push edi
mov edx, ebx
call fcn.0041a250
mov ecx, dword [ebp - 0x10c8]
inc ecx
push ecx
call fcn.0048f5d8
mov esi, eax
add esp, 4
mov dword [ebp - 0x1144], esi
test esi, esi
je 0x419ec4
mov edx, dword [ebp - 0x10c8]
inc edx
push edx
push 0
push esi
call fcn.00493520
mov ecx, dword [ebp - 0x10c8]
mov edx, dword [ebp - 0x10cc]
add esp, 0xc
lea eax, [ebp - 0x10d0]
push eax
push ecx
push esi
push edx
mov dword [ebp - 0x10d0], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x419ead
mov eax, dword [ebp - 0x10d0]
add eax, edi
cmp eax, dword [ebp - 0x10d4]
jbe 0x419e8e
mov eax, dword [ebp - 0x10d4]
mov esi, dword [ebx + 0x94]
add eax, eax
push eax
mov dword [ebp - 0x10dc], eax
call fcn.0048f5d8
add esp, 4
mov dword [ebx + 0x94], eax
test eax, eax
je 0x419ed3
mov ecx, dword [ebp - 0x10dc]
push ecx
push 0
push eax
mov dword [ebp - 0x10d4], ecx
call fcn.00493520
mov ecx, dword [ebx + 0x94]
add esp, 0xc
push edi
push esi
push ecx
call fcn.00492e80
add esp, 0xc
push esi
call fcn.0048f7ae
mov esi, dword [ebp - 0x1144]
add esp, 4
mov edx, dword [ebp - 0x10d0]
mov eax, dword [ebx + 0x94]
push edx
add eax, edi
push esi
push eax
call fcn.00492e80
add esp, 0xc
add edi, dword [ebp - 0x10d0]
push esi
call fcn.0048f7ae
add esp, 4
jmp 0x419ec4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp dword [ebp - 0x10c8], 0
ja 0x419d90
jmp 0x419ee0
mov dword [ebx + 0x94], esi
mov byte [ebp - 0x10c2], 0
push edi
mov edx, ebx
call fcn.0041a250
lea eax, [ebx + 0x78]
mov dword [ebx + 0x98], edi
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x10d0], 1
jb 0x419f05
mov eax, dword [eax]
push 5
push 0x4bbb1c
push eax
call fcn.00491dd6
add esp, 0xc
test eax, eax
jne 0x419f24
mov esi, 0xfde9
mov dword [ebp - 0x10d0], eax
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0x94]
mov eax, dword [ebp - 0x10d0]
push 0
push 0
inc ecx
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jg 0x419f7b
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0x94]
xor esi, esi
push esi
push esi
inc ecx
push ecx
push edx
push 1
push esi
mov dword [ebp - 0x10d0], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x419ffc
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048f5d8
add esp, 4
mov dword [ebp - 0x10d4], eax
test eax, eax
je 0x419ffc
mov ecx, dword [ebp - 0x10d4]
lea eax, [edi + edi]
push eax
push 0
push ecx
call fcn.00493520
mov edx, dword [ebp - 0x10d4]
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x94]
add esp, 0xc
push edi
push edx
mov edx, dword [ebp - 0x10d0]
inc eax
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x419fed
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 0x10d4]
call fcn.004097b0
mov ecx, dword [ebp - 0x10d4]
push ecx
call fcn.0048f7ae
add esp, 4
mov ecx, dword [ebp - 0x105c]
mov edi, 3
lea eax, [ebp - 0x106c]
mov byte [ebp - 0x10c1], 1
call fcn.0041e780
test eax, eax
jne 0x41a127
mov eax, str._html_
lea esi, [ebp - 0x1088]
call fcn.004031d0
xor eax, eax
mov dword [ebp - 0x1110], eax
mov dword [ebp - 0x110c], eax
mov dword [ebp - 0x1108], eax
mov edx, esi
push edx
lea edx, [ebp - 0x1110]
lea ecx, [ebx + 0x5c]
mov byte [ebp - 4], 7
call fcn.00418730
add esp, 4
test al, al
je 0x41a0d9
mov ecx, dword [ebp - 0x110c]
sub ecx, dword [ebp - 0x1110]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41a0d9
mov ecx, esi
push ecx
mov eax, str.__html_
call fcn.004097b0
mov edx, esi
push edx
lea edx, [ebp - 0x1110]
lea ecx, [ebx + 0x5c]
call fcn.00418730
add esp, 4
test al, al
je 0x41a0c8
mov ecx, dword [ebp - 0x110c]
sub ecx, dword [ebp - 0x1110]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x41a0d9
mov dword [ebx + 0x11c], 0xd
mov byte [ebp - 0x10c1], 0
lea esi, [ebp - 0x1110]
call fcn.0041c500
lea esi, [ebp - 0x1088]
mov byte [ebp - 4], 0
call fcn.0041ec50
jmp 0x41a101
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp byte [ebp - 0x10c1], 0
je 0x419490
jmp 0x41a127
mov byte [ebp - 0x10c2], 0
cmp byte [ebp - 0x10c1], 0
jne 0x41a127
mov byte [ebp - 0x10c2], 0
mov ecx, dword [ebp - 0x10cc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [ebp - 0x1148]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, 8
cmp dword [ebp - 0x1058], edi
jb 0x41a15d
mov edx, dword [ebp - 0x106c]
push edx
call fcn.0048f6c0
add esp, 4
mov al, byte [ebp - 0x10c2]
jmp 0x41a188
mov dword [ebx + 0x11c], 0x57
cmp dword [ebp - 0x1058], edi
jb 0x41a186
mov eax, dword [ebp - 0x106c]
push eax
call fcn.0048f6c0
add esp, 4
xor al, al
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.0048f6cb
mov esp, ebp
pop ebp
ret