Function at 0x4274d0
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 0x66da4b
mov eax, dword fs:[0]
push eax
mov eax, 0x1154
call fcn.006265a0
mov eax, dword [0x70b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1124], esi
cmp dword [esi + 0x18], 0
mov eax, dword [ebp + 8]
ja 0x427524
mov dword [esi + 0x11c], 3
xor al, al
jmp 0x42849f
push eax
lea ecx, [ebp - 0x10a0]
call fcn.00428e49
and dword [ebp - 4], 0
lea eax, [ebp - 0x10a0]
cmp dword [ebp - 0x108c], 8
mov edi, 0x6d3f60
push edi
cmovae eax, dword [ebp - 0x10a0]
push eax
call fcn.00643293
xor ebx, ebx
pop ecx
inc ebx
pop ecx
test eax, eax
je 0x427587
cmp dword [ebp - 0x108c], 8
lea eax, [ebp - 0x10a0]
mov edi, str.POST
cmovae eax, dword [ebp - 0x10a0]
push edi
push eax
call fcn.00643293
pop ecx
pop ecx
test eax, eax
jne 0x428480
push edi
call fcn.00643278
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10a0]
call fcn.004284f9
xor ecx, ecx
mov byte [ebp - 0x1115], bl
cmp dword [esi], ecx
jne 0x4275d7
lea eax, [esi + 0x138]
cmp dword [eax + 0x14], 8
jb 0x4275b5
mov eax, dword [eax]
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
test eax, eax
jne 0x4275d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
jmp 0x42848a
push dword [esi + 0x1a8]
push dword [esi + 0x1a4]
push dword [esi + 0x1a0]
push dword [esi + 0x19c]
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x1050]
push 0xa28
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x1114]
push 0x3c
pop edi
push edi
push 0
push eax
call fcn.0063e4e0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1114], edi
mov dword [ebp - 0x1104], eax
add esp, 0xc
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1100], 0x104
mov dword [ebp - 0x10e8], eax
lea eax, [esi + 8]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x10e4], 0x514
mov dword [ebp - 0x110c], 1
jb 0x42767f
mov eax, dword [eax]
lea ecx, [ebp - 0x1114]
push ecx
push 0
push dword [esi + 0x18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x42848a
cmp word [ebp - 0x218], 0
jne 0x4276a8
xor eax, eax
jmp 0x4276b5
lea eax, [ebp - 0x218]
push eax
call fcn.00643278
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x20]
call fcn.004284f9
push 0
push dword [ebp - 0x10fc]
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, eax
mov dword [ebp - 0x1130], edx
test edx, edx
je 0x42848c
push 2
pop edi
xor ecx, ecx
mov eax, 0x800000
cmp dword [ebp - 0x1108], edi
cmove ecx, eax
cmp dword [ebp - 0x108c], 8
push ecx
lea eax, [ebp - 0x10a0]
cmovae eax, dword [ebp - 0x10a0]
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x10e8]
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov dword [ebp - 0x111c], edi
test edi, edi
je 0x428472
cmp byte [esi + 4], 0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
jne 0x427766
push 2
pop eax
cmp dword [ebp - 0x1108], eax
jne 0x427766
push 4
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x1054], 0x3100
push eax
push 0x1f
push edi
call ebx
mov byte [ebp - 0x1116], 0
xor ecx, ecx
mov eax, ecx
inc ecx
mov dword [ebp - 0x112c], ecx
cmp eax, 3
jae 0x428450
cmp dword [esi + 0xfc], 0
jbe 0x4277bb
lea eax, [esi + 0xec]
cmp dword [eax + 0x14], 8
jb 0x427798
mov eax, dword [eax]
push 0x1000000
push dword [esi + 0xfc]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4277bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
cmp dword [esi + 0xdc], 0
jbe 0x427866
and dword [ebp - 0x1068], 0
xor eax, eax
push str.Cookie:
mov dword [ebp - 0x1064], 7
mov word [ebp - 0x1078], ax
call fcn.00643278
pop ecx
push eax
push str.Cookie:
lea ecx, [ebp - 0x1078]
call fcn.004284f9
xor eax, eax
lea ecx, [ebp - 0x1078]
inc eax
push 0xffffffffffffffff
mov byte [ebp - 4], al
lea eax, [esi + 0xcc]
push 0
push eax
call fcn.004253e9
cmp dword [ebp - 0x1064], 8
lea eax, [ebp - 0x1078]
push 0x1000000
push dword [ebp - 0x1068]
cmovae eax, dword [ebp - 0x1078]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x427851
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0x1078]
push eax
call fcn.00428ecb
cmp dword [esi + 0x114], 0
jbe 0x427965
push 0xc
lea eax, [ebp - 0x10d8]
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
mov dword [ebp - 0x10d8], 3
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.0063e4e0
lea eax, [esi + 0x104]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4278b4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00643899
add esp, 0xc
lea eax, [ebp - 0x420]
mov dword [ebp - 0x10d4], eax
lea eax, [ebp - 0x10d8]
push 0xc
push eax
push 0x26
push edi
call ebx
test eax, eax
jne 0x4278f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
cmp dword [esi + 0x164], 0
jbe 0x427965
mov eax, dword [esi + 0x164]
lea ecx, [esi + 0x154]
cmp dword [ecx + 0x14], 8
jb 0x427910
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 0x1002
push edi
call ebx
test eax, eax
jne 0x42792c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
cmp dword [esi + 0x17c], 0
jbe 0x427965
mov eax, dword [esi + 0x17c]
lea ecx, [esi + 0x16c]
cmp dword [ecx + 0x14], 8
jb 0x427949
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 0x1003
push edi
call ebx
test eax, eax
jne 0x427965
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push edi
mov bl, al
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x427bc0
push 0x10
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x10b4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x427bac
cmp dword [ebp - 0x10b0], 0
je 0x427a9e
push 0x18
pop eax
push eax
lea eax, [ebp - 0x1078]
push 0
push eax
call fcn.0063e4e0
mov eax, dword [ebp - 0x10b0]
add esp, 0xc
mov dword [ebp - 0x1070], eax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x1078], 3
mov dword [ebp - 0x1068], eax
inc ecx
push 0xc
push eax
mov dword [ebp - 0x106c], eax
lea eax, [ebp - 0x10c0]
push eax
mov dword [ebp - 0x1074], ecx
mov dword [ebp - 0x1064], ecx
call fcn.0063e4e0
lea eax, [esi + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x427a17
mov eax, dword [eax]
lea ecx, [ebp - 0x10c0]
push ecx
lea ecx, [ebp - 0x1078]
push ecx
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x427b5f
push 0xc
lea eax, [ebp - 0x10c0]
push eax
push 0x26
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x427a6b
xor eax, eax
push eax
push dword [esi + 0xe8]
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
cmp dword [ebp - 0x10bc], 0
je 0x427a80
push dword [ebp - 0x10bc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x10b8], 0
je 0x427b6b
push dword [ebp - 0x10b8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x427b6b
cmp dword [ebp - 0x10ac], 0
je 0x427b95
push 0xc
lea eax, [ebp - 0x10cc]
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
mov dword [ebp - 0x10cc], 3
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [ebp - 0x10ac]
push 0x104
push eax
call fcn.00643899
add esp, 0xc
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x10a8], 0
mov dword [ebp - 0x10c8], eax
je 0x427b49
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x628]
push dword [ebp - 0x10a8]
push 0x104
push eax
call fcn.00643899
lea eax, [ebp - 0x628]
add esp, 0xc
mov dword [ebp - 0x10c4], eax
push 0xc
lea eax, [ebp - 0x10cc]
push eax
push 0x26
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x427b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
cmp dword [ebp - 0x10b0], 0
je 0x427b80
push dword [ebp - 0x10b0]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x10ac], 0
je 0x427b95
push dword [ebp - 0x10ac]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x10a8], 0
je 0x427bb8
push dword [ebp - 0x10a8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x427bb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
test bl, bl
je 0x428432
mov eax, dword [esi + 0xe4]
xor ebx, ebx
test eax, eax
je 0x427bf7
lea ecx, [ebp - 0x1054]
mov dword [ebp - 0x1054], ebx
push ecx
push dword [esi + 0xe8]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x427bf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x428426
push ebx
lea eax, [ebp - 0x10a4]
mov dword [ebp - 0x10a4], ebx
push eax
push ebx
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push 0x16
push edi
call ebx
test eax, eax
jne 0x427c35
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x427fd1
mov eax, dword [ebp - 0x10a4]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0062580b
mov edi, eax
mov dword [ebp - 0x1128], edi
pop ecx
test edi, edi
je 0x427fcb
mov ecx, dword [ebp - 0x10a4]
add ecx, ecx
push ecx
push 0
push edi
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x10a4]
push 0
push eax
push edi
push 0
push 0x16
push dword [ebp - 0x111c]
call ebx
test eax, eax
je 0x427fc4
lea ebx, [esi + 0x38]
push edi
mov ecx, ebx
call fcn.00428572
xor eax, eax
lea edi, [ebp - 0x1060]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1060], ecx
mov dword [ebp - 0x105c], ecx
mov dword [ebp - 0x1058], ecx
push 2
pop eax
mov byte [ebp - 4], al
xor eax, eax
push ecx
mov dword [ebp - 0x1068], ecx
lea ecx, [ebp - 0x1078]
push 0x6d3f48
mov dword [ebp - 0x1064], 7
mov word [ebp - 0x1078], ax
call fcn.004284f9
mov byte [ebp - 4], 3
cmp byte [esi + 0x150], 0
jne 0x427d60
mov edi, str.charset_A_Za_z0_9___
push edi
call fcn.00643278
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1078]
call fcn.004284f9
push ecx
lea eax, [ebp - 0x1060]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1078]
call fcn.00427247
add esp, 0x10
push 0x18
pop edi
test al, al
je 0x427d63
mov eax, dword [ebp - 0x105c]
sub eax, dword [ebp - 0x1060]
cdq
idiv edi
test eax, eax
je 0x427d63
lea ecx, [esi + 0x68]
cmp ecx, dword [ebp - 0x1060]
je 0x427d63
push 0xffffffffffffffff
push 0
push dword [ebp - 0x1060]
call fcn.00428db4
jmp 0x427d63
push 0x18
pop edi
push str.Content_Length:__0_9_
call fcn.00643278
pop ecx
push eax
push str.Content_Length:__0_9_
lea ecx, [ebp - 0x1078]
call fcn.004284f9
push ecx
lea eax, [ebp - 0x1060]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1078]
call fcn.00427247
add esp, 0x10
test al, al
je 0x427dc5
mov eax, dword [ebp - 0x105c]
mov ecx, dword [ebp - 0x1060]
sub eax, ecx
cdq
idiv edi
test eax, eax
je 0x427dc5
cmp dword [ecx + 0x14], 8
jb 0x427db8
mov ecx, dword [ecx]
push ecx
call fcn.0064395f
pop ecx
mov dword [esi + 0xb0], eax
push str.Location:__0_9_
call fcn.00643278
pop ecx
push eax
push str.Location:__0_9_
lea ecx, [ebp - 0x1078]
call fcn.004284f9
push ecx
lea eax, [ebp - 0x1060]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1078]
call fcn.00427247
add esp, 0x10
test al, al
je 0x427e2d
mov eax, dword [ebp - 0x105c]
sub eax, dword [ebp - 0x1060]
cdq
idiv edi
test eax, eax
je 0x427e2d
lea ecx, [esi + 0x184]
cmp ecx, dword [ebp - 0x1060]
je 0x427e2d
push 0xffffffffffffffff
push 0
push dword [ebp - 0x1060]
call fcn.00428db4
push str.Set_Cookie:_b.__n
call fcn.00643278
pop ecx
push eax
push str.Set_Cookie:_b.__n
lea ecx, [ebp - 0x1078]
call fcn.004284f9
push ecx
lea eax, [ebp - 0x1060]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x1078]
call fcn.00427247
add esp, 0x10
test al, al
je 0x427f98
mov eax, dword [ebp - 0x105c]
mov ecx, dword [ebp - 0x1060]
sub eax, ecx
cdq
idiv edi
mov dword [ebp - 0x1120], ecx
mov ebx, eax
test ebx, ebx
je 0x427f98
xor edi, edi
test ebx, ebx
je 0x427ee3
lea eax, [esi + 0xb4]
mov esi, ecx
mov dword [ebp - 0x1054], eax
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004253e9
lea eax, [ebx - 1]
cmp edi, eax
je 0x427ecd
push 0x6d3f40
call fcn.00643278
pop ecx
mov ecx, dword [ebp - 0x1054]
push eax
push 0x6d3f40
call fcn.00425488
push 0x18
pop eax
inc edi
add esi, eax
mov eax, dword [ebp - 0x1054]
cmp edi, ebx
jb 0x427e9e
mov esi, dword [ebp - 0x1124]
and dword [ebp - 0x1138], 0
xor eax, eax
mov ebx, 0x6d3f4c
mov dword [ebp - 0x1134], 7
push ebx
mov word [ebp - 0x1148], ax
call fcn.00643278
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x1148]
call fcn.004284f9
lea eax, [ebp - 0x1148]
mov byte [ebp - 4], 4
lea edi, [esi + 0xb4]
push eax
mov edx, edi
lea ecx, [ebp - 0x1160]
call fcn.004252e3
pop ecx
push eax
mov ecx, edi
call fcn.0042525f
xor ebx, ebx
lea ecx, [ebp - 0x1160]
push 0
inc ebx
push ebx
call fcn.00428ecb
push 0
push ebx
lea ecx, [ebp - 0x1148]
mov byte [ebp - 4], 3
call fcn.00428ecb
cmp dword [esi + 0xc4], 0
jbe 0x427f98
cmp dword [edi + 0x14], 8
mov ecx, dword [esi + 0xc4]
jb 0x427f79
mov eax, dword [edi]
jmp 0x427f7b
mov eax, edi
cmp word [eax + ecx*2 - 2], 0x3b
je 0x427f98
mov ebx, 0x6d3f50
push ebx
call fcn.00643278
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.00425488
xor eax, eax
lea ecx, [ebp - 0x1078]
push 0
inc eax
push eax
call fcn.00428ecb
lea ecx, [ebp - 0x1060]
mov byte [ebp - 4], 0
call fcn.00426f7b
mov edi, dword [ebp - 0x1128]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
call fcn.006257fd
pop ecx
mov edi, dword [ebp - 0x111c]
xor ecx, ecx
lea eax, [ebp - 0x10a4]
push ecx
push eax
push ecx
push ecx
push 0x13
push edi
mov dword [ebp - 0x10a4], ecx
call ebx
test eax, eax
jne 0x427ff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42805f
mov eax, dword [ebp - 0x10a4]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0062580b
mov edi, eax
pop ecx
test edi, edi
je 0x428059
mov ecx, dword [ebp - 0x10a4]
add ecx, ecx
push ecx
push 0
push edi
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x10a4]
push 0
push eax
push edi
push 0
push 0x13
push dword [ebp - 0x111c]
call ebx
test eax, eax
je 0x428052
push edi
lea ecx, [esi + 0x120]
call fcn.00428572
push edi
call fcn.006257fd
pop ecx
mov edi, dword [ebp - 0x111c]
mov eax, dword [esi + 0x80]
xor ebx, ebx
mov dword [ebp - 0x1120], ebx
mov ecx, 0x2800
mov dword [ebp - 0x1054], ecx
test eax, eax
je 0x428089
push eax
call fcn.006257fd
and dword [esi + 0x80], ebx
pop ecx
push 0x2800
call fcn.0062580b
mov dword [esi + 0x80], eax
pop ecx
test eax, eax
je 0x42844c
push 0x2800
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
and dword [ebp - 0x10a4], 0
lea eax, [ebp - 0x10a4]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4281d6
push ebx
mov ecx, esi
call fcn.00425553
mov eax, dword [ebp - 0x10a4]
inc eax
push eax
call fcn.0062580b
mov edi, eax
pop ecx
test edi, edi
je 0x4281c1
mov ecx, dword [ebp - 0x10a4]
inc ecx
push ecx
push 0
push edi
call fcn.0063e4e0
and dword [ebp - 0x107c], 0
lea eax, [ebp - 0x107c]
add esp, 0xc
push eax
push dword [ebp - 0x10a4]
push edi
push dword [ebp - 0x111c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4281ba
mov ecx, dword [ebp - 0x107c]
mov edx, dword [ebp - 0x1054]
lea eax, [ecx + ebx]
cmp eax, edx
jbe 0x42819b
mov ebx, dword [esi + 0x80]
add edx, edx
push edx
mov dword [ebp - 0x1054], edx
call fcn.0062580b
mov dword [esi + 0x80], eax
pop ecx
test eax, eax
je 0x4281e4
mov ecx, dword [ebp - 0x1054]
push ecx
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
push dword [ebp - 0x1120]
push ebx
push dword [esi + 0x80]
call fcn.0063d9e0
add esp, 0xc
push ebx
call fcn.006257fd
mov ebx, dword [ebp - 0x1120]
pop ecx
mov ecx, dword [ebp - 0x107c]
mov eax, dword [esi + 0x80]
push ecx
add eax, ebx
push edi
push eax
call fcn.0063d9e0
add esp, 0xc
add ebx, dword [ebp - 0x107c]
mov dword [ebp - 0x1120], ebx
push edi
call fcn.006257fd
pop ecx
mov edi, dword [ebp - 0x111c]
cmp dword [ebp - 0x10a4], 0
ja 0x4280b2
jmp 0x4281f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
jmp 0x4281c7
mov dword [esi + 0x80], ebx
mov ebx, dword [ebp - 0x1120]
mov byte [ebp - 0x1115], 0
push ebx
mov ecx, esi
call fcn.00425553
xor eax, eax
mov dword [esi + 0x84], ebx
inc eax
xor ebx, ebx
mov edi, eax
mov dword [ebp - 0x1054], eax
lea eax, [esi + 0x68]
mov dword [ebp - 0x1120], ebx
cmp dword [eax + 0x14], 8
jb 0x428223
mov eax, dword [eax]
push 5
push 0x6d3f54
push eax
call fcn.00643458
add esp, 0xc
test eax, eax
jne 0x42824a
mov ebx, 0xfde9
xor edi, edi
mov dword [ebp - 0x1120], ebx
mov dword [ebp - 0x1054], edi
mov eax, dword [esi + 0x84]
push 0
push 0
inc eax
push eax
push dword [esi + 0x80]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call ebx
mov edi, eax
test edi, edi
jg 0x428297
mov eax, dword [esi + 0x84]
xor ecx, ecx
push ecx
xor edx, edx
mov dword [ebp - 0x1120], ecx
inc edx
inc eax
push ecx
push eax
push dword [esi + 0x80]
mov dword [ebp - 0x1054], edx
push edx
push ecx
call ebx
mov edi, eax
test edi, edi
jle 0x4282f9
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0062580b
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4282f9
lea ecx, [edi + edi]
push ecx
push 0
push ebx
call fcn.0063e4e0
mov eax, dword [esi + 0x84]
add esp, 0xc
inc eax
push edi
push ebx
push eax
push dword [esi + 0x80]
push dword [ebp - 0x1054]
push dword [ebp - 0x1120]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x4282f2
push ebx
lea ecx, [esi + 0x50]
call fcn.00428572
push ebx
call fcn.006257fd
pop ecx
xor eax, eax
lea ecx, [ebp - 0x10a0]
inc eax
push 0x6d3f60
mov byte [ebp - 0x1116], al
call fcn.004255fb
test eax, eax
jne 0x428450
mov edi, str._html_
mov dword [ebp - 0x1064], 7
xor ebx, ebx
mov word [ebp - 0x1078], ax
push edi
mov dword [ebp - 0x1068], ebx
call fcn.00643278
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1078]
call fcn.004284f9
xor eax, eax
lea edi, [ebp - 0x1088]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1088], ebx
mov dword [ebp - 0x1084], ebx
mov dword [ebp - 0x1080], ebx
push ecx
lea eax, [ebp - 0x1088]
mov byte [ebp - 4], 6
push eax
lea edi, [esi + 0x50]
push edi
push ecx
lea ecx, [ebp - 0x1078]
call fcn.00427247
add esp, 0x10
test al, al
je 0x428400
mov eax, dword [ebp - 0x1084]
sub eax, dword [ebp - 0x1088]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x428400
push str.__html_
call fcn.00643278
pop ecx
push eax
push str.__html_
lea ecx, [ebp - 0x1078]
call fcn.004284f9
push ecx
lea eax, [ebp - 0x1088]
push eax
push edi
push ecx
lea ecx, [ebp - 0x1078]
call fcn.00427247
add esp, 0x10
test al, al
je 0x4283f0
mov eax, dword [ebp - 0x1084]
sub eax, dword [ebp - 0x1088]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x428400
mov dword [esi + 0x11c], 0xd
mov byte [ebp - 0x1116], bl
lea ecx, [ebp - 0x1088]
call fcn.00426f7b
xor eax, eax
mov byte [ebp - 4], bl
push ebx
inc eax
lea ecx, [ebp - 0x1078]
push eax
call fcn.00428ecb
mov edi, dword [ebp - 0x111c]
jmp 0x428432
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x11c], eax
cmp byte [ebp - 0x1116], 0
jne 0x428450
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov ecx, dword [ebp - 0x112c]
jmp 0x42776f
xor bl, bl
jmp 0x428456
mov bl, byte [ebp - 0x1115]
push dword [ebp - 0x111c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor ecx, ecx
movzx eax, bl
cmp byte [ebp - 0x1116], cl
cmovne ecx, eax
mov bl, cl
push dword [ebp - 0x1130]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x42848c
mov dword [esi + 0x11c], 0x57
xor bl, bl
xor eax, eax
lea ecx, [ebp - 0x10a0]
push 0
inc eax
push eax
call fcn.00428ecb
mov al, bl
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.00625788
mov esp, ebp
pop ebp
ret 8