Function at 0x468000
Capabilities:
Initialize winhttp library
Make an http request with a cookie
Prepare http request
Read http header
Receive http response
Resolve function by parsing pe exports
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x509858
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1190
call fcn.004e91d0
mov eax, dword [0x5522c0]
xor eax, esp
mov dword [esp + 0x118c], eax
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x11a0]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x18]
xor esi, esi
cmp eax, esi
ja 0x46805c
mov dword [ebx + 0x11c], 3
jmp 0x468f67
xor eax, eax
push esi
mov word [esp + 0xe8], ax
push ecx
or eax, 0xffffffff
lea edi, [esp + 0xec]
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], esi
call fcn.00459910
mov dword [esp + 0x11a8], esi
mov eax, dword [esp + 0xe4]
mov edi, 8
cmp dword [esp + 0xf8], edi
jae 0x4680ac
lea eax, [esp + 0xe4]
push 0x51e4b8
push eax
call fcn.004e74c9
add esp, 8
test eax, eax
jne 0x4680c7
push 3
mov eax, 0x51e4b8
jmp 0x4680fb
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], edi
jae 0x4680de
lea eax, [esp + 0xe4]
push str.POST
push eax
call fcn.004e74c9
add esp, 8
test eax, eax
jne 0x468f44
push 4
mov eax, str.POST
lea ecx, [esp + 0xe8]
call fcn.00459bb0
mov byte [esp + 0x12], 1
cmp dword [ebx], esi
jne 0x468157
cmp dword [ebx + 0x150], edi
lea eax, [ebx + 0x13c]
jb 0x468120
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 0x468157
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp dword [esp + 0xf8], edi
jb 0x468f67
mov ecx, dword [esp + 0xe4]
push ecx
jmp 0x468f5f
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, [esp + 0x362]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x368], cx
call fcn.004e95e0
add esp, 0xc
push 0xa26
lea ecx, [esp + 0x772]
xor eax, eax
push esi
push ecx
mov word [esp + 0x778], ax
call fcn.004e95e0
add esp, 0xc
push 0x3c
lea edx, [esp + 0xac]
push esi
push edx
call fcn.004e95e0
lea eax, [esp + 0x368]
mov dword [esp + 0xc4], eax
lea ecx, [esp + 0x778]
lea eax, [ebx + 8]
add esp, 0xc
mov dword [esp + 0xd4], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0xa8], 0x3c
mov dword [esp + 0xbc], 0x104
mov dword [esp + 0xd8], 0x514
mov dword [esp + 0xb0], 1
cmp dword [eax + 0x14], edi
jb 0x468224
mov eax, dword [eax]
lea edx, [esp + 0xa8]
push edx
push esi
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x468f25
lea eax, [esp + 0x35c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x468247
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebx + 0x24]
lea eax, [esp + 0x360]
call fcn.00459bb0
mov eax, dword [esp + 0xc0]
mov edx, dword [ebx]
push esi
push eax
lea ecx, [esp + 0x364]
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [esp + 0x90], edi
cmp edi, esi
je 0x468f20
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 4
lea eax, [esp + 0x9c]
push eax
push 0x44
push edi
mov dword [esp + 0xa8], 1
call esi
cmp dword [esp + 0xf8], 8
mov eax, dword [esp + 0xe4]
jae 0x4682c9
lea eax, [esp + 0xe4]
mov ecx, dword [esp + 0xd4]
push 0x40
push 0
push 0
push 0
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esp + 0x18], eax
test eax, eax
je 0x468f19
cmp byte [ebx + 4], 0
jne 0x468311
cmp dword [esp + 0xb4], 2
jne 0x468311
push 4
lea edx, [esp + 0x2c]
push edx
push 0x1f
push eax
mov dword [esp + 0x38], 0x3100
call esi
mov byte [esp + 0x13], 0
mov dword [esp + 0x3c], 0
mov edi, edi
mov eax, dword [esp + 0x3c]
mov ecx, eax
inc eax
mov dword [esp + 0x3c], eax
cmp ecx, 1
jae 0x468efb
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x468373
cmp dword [ebx + 0xf8], 8
lea eax, [ebx + 0xe4]
jb 0x46834f
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
push 0x1000000
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x468377
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
jmp 0x468377
mov esi, dword [esp + 0x18]
cmp dword [ebx + 0xd0], 0
jbe 0x468404
mov eax, str.Cookie:
lea esi, [esp + 0x100]
call fcn.00459cc0
push 0
lea edx, [ebx + 0xc0]
push edx
or eax, 0xffffffff
mov edi, esi
mov byte [esp + 0x11b0], 1
call fcn.0046bfc0
cmp dword [esp + 0x114], 8
mov eax, dword [esp + 0x100]
jae 0x4683c3
mov eax, esi
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x18]
push 0x1000000
push ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4683ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
lea esi, [esp + 0x100]
mov byte [esp + 0x11a8], 0
call fcn.00459860
mov esi, dword [esp + 0x18]
cmp dword [ebx + 0x110], 0
jbe 0x468517
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x15e]
mov dword [esp + 0xa4], eax
push ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xa8], 3
mov word [esp + 0x160], ax
call fcn.004e95e0
lea eax, [ebx + 0x100]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x46845f
mov eax, dword [eax]
push eax
lea edx, [esp + 0x158]
push 0x104
push edx
call fcn.004e83ac
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add esp, 0xc
push 0xc
lea ecx, [esp + 0xa0]
push ecx
push 0x26
lea eax, [esp + 0x160]
push esi
mov dword [esp + 0xb0], eax
call edi
test eax, eax
jne 0x4684a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov ecx, dword [ebx + 0x16c]
test ecx, ecx
je 0x468517
cmp dword [ebx + 0x170], 8
lea eax, [ebx + 0x15c]
jb 0x4684c3
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push eax
push 0x1002
push esi
call edi
test eax, eax
jne 0x4684e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov ecx, dword [ebx + 0x188]
test ecx, ecx
je 0x468517
cmp dword [ebx + 0x18c], 8
lea eax, [ebx + 0x178]
jb 0x4684fb
mov eax, dword [eax]
add ecx, ecx
push ecx
push eax
push 0x1003
push esi
call edi
test eax, eax
jne 0x468517
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 [esp + 0x43], 0
call edi
test eax, eax
jne 0x468751
lea edx, [esp + 0x40]
push edx
xor esi, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x468edd
mov ecx, dword [esp + 0x44]
cmp ecx, esi
je 0x468649
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov eax, 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x8c], eax
xor eax, eax
cmp dword [ebx + 0x1c], 8
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [ebx + 8]
mov dword [esp + 0x78], 3
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], esi
jb 0x4685d6
mov eax, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x46870d
mov esi, dword [esp + 0x18]
push 0xc
lea ecx, [esp + 0x70]
push ecx
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x468622
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
je 0x468622
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x468631
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x468719
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x468719
mov esi, dword [esp + 0x48]
test esi, esi
je 0x468737
xor eax, eax
xor edx, edx
mov dword [esp + 0x60], eax
push 0x206
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
push edx
lea eax, [esp + 0x15e]
push eax
mov dword [esp + 0x6c], 3
mov word [esp + 0x160], dx
call fcn.004e95e0
add esp, 0xc
push esi
lea ecx, [esp + 0x158]
push 0x104
push ecx
call fcn.004e83ac
mov esi, dword [esp + 0x58]
add esp, 0xc
lea edx, [esp + 0x154]
mov dword [esp + 0x64], edx
test esi, esi
je 0x4686f5
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x56e]
push ecx
mov word [esp + 0x570], ax
call fcn.004e95e0
add esp, 0xc
push esi
lea edx, [esp + 0x568]
push 0x104
push edx
call fcn.004e83ac
lea eax, [esp + 0x570]
add esp, 0xc
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x18]
push 0xc
lea ecx, [esp + 0x64]
push ecx
push 0x26
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x468719
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x468728
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x468737
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x468746
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [esp + 0x27], 0
je 0x468ee9
mov eax, dword [ebx + 0xdc]
xor edi, edi
cmp eax, edi
je 0x468789
mov edx, dword [ebx + 0xe0]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x38], edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x468789
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov esi, dword [esp + 0x18]
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x468edd
push edi
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 0x16
push esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, edi
jne 0x4687c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x468ad7
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4818
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
je 0x468ad7
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004e95e0
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push esi
push 0
push 0x16
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x468ace
lea edi, [ebx + 0x40]
push edi
mov eax, esi
call fcn.0045f5f0
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, 0x51d754
lea esi, [esp + 0x100]
mov byte [esp + 0x11a8], 2
call fcn.00459cc0
mov byte [esp + 0x11a8], 3
cmp byte [ebx + 0x158], 0
jne 0x4688b4
mov ecx, esi
push ecx
mov eax, str.charset_A_Za_z0_9___
call fcn.0045f5f0
mov edx, esi
push edx
lea edx, [esp + 0x30]
mov ecx, edi
call fcn.00467580
add esp, 4
test al, al
je 0x4688b4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4688b4
push 0
lea edi, [ebx + 0x78]
push esi
or eax, 0xffffffff
call fcn.00459910
lea ecx, [esp + 0x100]
push ecx
mov eax, str.Content_Length:__0_9_
call fcn.0045f5f0
lea edx, [esp + 0x100]
push edx
lea edx, [esp + 0x30]
lea ecx, [ebx + 0x40]
call fcn.00467580
add esp, 4
test al, al
je 0x468917
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x468917
cmp dword [esi + 0x14], 8
jb 0x468908
mov esi, dword [esi]
push esi
call fcn.004e7db1
add esp, 4
mov dword [ebx + 0xa0], eax
lea ecx, [esp + 0x100]
push ecx
mov eax, str.Location:__0_9_
call fcn.0045f5f0
lea edx, [esp + 0x100]
push edx
lea edx, [esp + 0x30]
lea ecx, [ebx + 0x40]
call fcn.00467580
add esp, 4
test al, al
je 0x468974
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x468974
push 0
push esi
lea edi, [ebx + 0x194]
or eax, 0xffffffff
call fcn.00459910
lea ecx, [esp + 0x100]
push ecx
mov eax, str.Set_Cookie:_b.__n
call fcn.0045f5f0
lea edx, [esp + 0x100]
push edx
lea edx, [esp + 0x30]
lea ecx, [ebx + 0x40]
call fcn.00467580
add esp, 4
test al, al
je 0x468aad
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x468aad
mov dword [esp + 0x20], 0
test esi, esi
je 0x468a15
mov eax, dword [esp + 0x2c]
lea edi, [ebx + 0xa4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
push 0
push ecx
or eax, 0xffffffff
call fcn.0046bfc0
lea eax, [esi - 1]
cmp dword [esp + 0x20], eax
je 0x468a03
push edi
mov eax, 0x51e59c
call fcn.0046b200
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 0x1c
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jb 0x4689e0
mov eax, 0x51c464
lea esi, [esp + 0x11c]
call fcn.00459cc0
lea edx, [esp + 0x11c]
push edx
lea esi, [ebx + 0xa4]
push esi
lea edx, [esp + 0x140]
mov byte [esp + 0x11b0], 4
call fcn.00467940
add esp, 8
mov edi, eax
mov byte [esp + 0x11a8], 5
call fcn.004591b0
lea esi, [esp + 0x138]
call fcn.00459860
lea esi, [esp + 0x11c]
mov byte [esp + 0x11a8], 3
call fcn.00459860
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x468aad
cmp dword [ebx + 0xb8], 8
lea ecx, [ebx + 0xa4]
jb 0x468a98
mov edx, dword [ecx]
jmp 0x468a9a
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x3b
je 0x468aad
push ecx
mov eax, 0x51e5a4
call fcn.0046b200
lea esi, [esp + 0x100]
call fcn.00459860
lea esi, [esp + 0x2c]
mov byte [esp + 0x11a8], 0
call fcn.0046b260
mov esi, dword [esp + 0x28]
push esi
call fcn.004e4960
add esp, 4
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0x13
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x468b06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x468b6e
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4818
mov esi, eax
add esp, 4
test esi, esi
je 0x468b6e
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004e95e0
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push esi
push 0
push 0x13
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x468b65
lea ecx, [ebx + 0x120]
push ecx
mov eax, esi
call fcn.0045f5f0
push esi
call fcn.004e4960
add esp, 4
mov eax, dword [ebx + 0x94]
xor edi, edi
mov dword [esp + 0x20], 0x2800
test eax, eax
je 0x468b91
push eax
call fcn.004e4960
add esp, 4
mov dword [ebx + 0x94], edi
push 0x2800
call fcn.004e4818
add esp, 4
mov dword [ebx + 0x94], eax
test eax, eax
je 0x468ef6
push 0x2800
push 0
push eax
call fcn.004e95e0
add esp, 0xc
lea esp, [esp]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x468cc8
push edi
mov edx, ebx
call fcn.00469030
mov ecx, dword [esp + 0x14]
inc ecx
push ecx
call fcn.004e4818
mov esi, eax
add esp, 4
mov dword [esp + 0x94], esi
test esi, esi
je 0x468cd4
mov edx, dword [esp + 0x14]
inc edx
push edx
push 0
push esi
call fcn.004e95e0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x468cbd
mov eax, dword [esp + 0x1c]
add eax, edi
cmp eax, dword [esp + 0x20]
jbe 0x468ca2
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 0x94]
add eax, eax
push eax
mov dword [esp + 0x2c], eax
call fcn.004e4818
add esp, 4
mov dword [ebx + 0x94], eax
test eax, eax
je 0x468ce1
mov ecx, dword [esp + 0x28]
push ecx
push 0
push eax
mov dword [esp + 0x2c], ecx
call fcn.004e95e0
mov ecx, dword [ebx + 0x94]
add esp, 0xc
push edi
push esi
push ecx
call fcn.004e9200
add esp, 0xc
push esi
call fcn.004e4960
mov esi, dword [esp + 0x98]
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x94]
push edx
add eax, edi
push esi
push eax
call fcn.004e9200
add esp, 0xc
add edi, dword [esp + 0x1c]
push esi
call fcn.004e4960
add esp, 4
jmp 0x468cd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp dword [esp + 0x14], 0
ja 0x468bc0
jmp 0x468cec
mov dword [ebx + 0x94], esi
mov byte [esp + 0x12], 0
push edi
mov edx, ebx
call fcn.00469030
lea eax, [ebx + 0x78]
mov dword [ebx + 0x98], edi
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [esp + 0x1c], 1
jb 0x468d0f
mov eax, dword [eax]
push 5
push 0x51e5a8
push eax
call fcn.004e80c1
add esp, 0xc
test eax, eax
jne 0x468d2c
mov esi, 0xfde9
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0x94]
mov eax, dword [esp + 0x1c]
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 0x468d7b
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 [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x468df0
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4818
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x468df0
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi]
push eax
push 0
push ecx
call fcn.004e95e0
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x94]
add esp, 0xc
push edi
push edx
mov edx, dword [esp + 0x24]
inc eax
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x468de3
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [esp + 0x24]
call fcn.0045f5f0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e4960
add esp, 4
mov ecx, dword [esp + 0xf4]
mov edi, 3
lea eax, [esp + 0xe4]
mov byte [esp + 0x13], 1
call fcn.0046d300
test eax, eax
jne 0x468f07
mov eax, str._html_
lea esi, [esp + 0x100]
call fcn.00459cc0
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov edx, esi
push edx
lea edx, [esp + 0x54]
lea ecx, [ebx + 0x5c]
mov byte [esp + 0x11ac], 7
call fcn.00467580
add esp, 4
test al, al
je 0x468ebe
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x468ebe
mov ecx, esi
push ecx
mov eax, str.__html_
call fcn.0045f5f0
mov edx, esi
push edx
lea edx, [esp + 0x54]
lea ecx, [ebx + 0x5c]
call fcn.00467580
add esp, 4
test al, al
je 0x468eaf
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x468ebe
mov dword [ebx + 0x11c], 0xd
mov byte [esp + 0x13], 0
lea esi, [esp + 0x50]
call fcn.0046b260
lea esi, [esp + 0x100]
mov byte [esp + 0x11a8], 0
call fcn.00459860
jmp 0x468ee9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp byte [esp + 0x13], 0
je 0x468320
jmp 0x468f07
mov byte [esp + 0x12], 0
cmp byte [esp + 0x13], 0
jne 0x468f07
mov byte [esp + 0x12], 0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [esp + 0x90]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, 8
cmp dword [esp + 0xf8], edi
jb 0x468f3e
mov edx, dword [esp + 0xe4]
push edx
call fcn.004e4e21
add esp, 4
mov al, byte [esp + 0x12]
jmp 0x468f69
mov dword [ebx + 0x11c], 0x57
cmp dword [esp + 0xf8], edi
jb 0x468f67
mov eax, dword [esp + 0xe4]
push eax
call fcn.004e4e21
add esp, 4
xor al, al
mov ecx, dword [esp + 0x11a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x118c]
xor ecx, esp
call fcn.004e4900
mov esp, ebp
pop ebp
ret