Function at 0x467f80
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 0x5097b8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1190
call fcn.004e9110
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 0x467fdc
mov dword [ebx + 0x11c], 3
jmp 0x468ee7
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.004598c0
mov dword [esp + 0x11a8], esi
mov eax, dword [esp + 0xe4]
mov edi, 8
cmp dword [esp + 0xf8], edi
jae 0x46802c
lea eax, [esp + 0xe4]
push 0x51e4b8
push eax
call fcn.004e7407
add esp, 8
test eax, eax
jne 0x468047
push 3
mov eax, 0x51e4b8
jmp 0x46807b
mov eax, dword [esp + 0xe4]
cmp dword [esp + 0xf8], edi
jae 0x46805e
lea eax, [esp + 0xe4]
push str.POST
push eax
call fcn.004e7407
add esp, 8
test eax, eax
jne 0x468ec4
push 4
mov eax, str.POST
lea ecx, [esp + 0xe8]
call fcn.00459b60
mov byte [esp + 0x12], 1
cmp dword [ebx], esi
jne 0x4680d7
cmp dword [ebx + 0x150], edi
lea eax, [ebx + 0x13c]
jb 0x4680a0
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 0x4680d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp dword [esp + 0xf8], edi
jb 0x468ee7
mov ecx, dword [esp + 0xe4]
push ecx
jmp 0x468edf
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.004e9520
add esp, 0xc
push 0xa26
lea ecx, [esp + 0x772]
xor eax, eax
push esi
push ecx
mov word [esp + 0x778], ax
call fcn.004e9520
add esp, 0xc
push 0x3c
lea edx, [esp + 0xac]
push esi
push edx
call fcn.004e9520
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 0x4681a4
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 0x468ea5
lea eax, [esp + 0x35c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4681c7
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebx + 0x24]
lea eax, [esp + 0x360]
call fcn.00459b60
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 0x468ea0
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 0x468249
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 0x468e99
cmp byte [ebx + 4], 0
jne 0x468291
cmp dword [esp + 0xb4], 2
jne 0x468291
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 0x468e7b
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x4682f3
cmp dword [ebx + 0xf8], 8
lea eax, [ebx + 0xe4]
jb 0x4682cf
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 0x4682f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
jmp 0x4682f7
mov esi, dword [esp + 0x18]
cmp dword [ebx + 0xd0], 0
jbe 0x468384
mov eax, str.Cookie:
lea esi, [esp + 0x100]
call fcn.00459c70
push 0
lea edx, [ebx + 0xc0]
push edx
or eax, 0xffffffff
mov edi, esi
mov byte [esp + 0x11b0], 1
call fcn.0046bf40
cmp dword [esp + 0x114], 8
mov eax, dword [esp + 0x100]
jae 0x468343
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 0x46836c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
lea esi, [esp + 0x100]
mov byte [esp + 0x11a8], 0
call fcn.00459810
mov esi, dword [esp + 0x18]
cmp dword [ebx + 0x110], 0
jbe 0x468497
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.004e9520
lea eax, [ebx + 0x100]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4683df
mov eax, dword [eax]
push eax
lea edx, [esp + 0x158]
push 0x104
push edx
call fcn.004e82ea
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 0x468428
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov ecx, dword [ebx + 0x16c]
test ecx, ecx
je 0x468497
cmp dword [ebx + 0x170], 8
lea eax, [ebx + 0x15c]
jb 0x468443
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push eax
push 0x1002
push esi
call edi
test eax, eax
jne 0x468460
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov ecx, dword [ebx + 0x188]
test ecx, ecx
je 0x468497
cmp dword [ebx + 0x18c], 8
lea eax, [ebx + 0x178]
jb 0x46847b
mov eax, dword [eax]
add ecx, ecx
push ecx
push eax
push 0x1003
push esi
call edi
test eax, eax
jne 0x468497
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 0x4686d1
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 0x468e5d
mov ecx, dword [esp + 0x44]
cmp ecx, esi
je 0x4685c9
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 0x468556
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 0x46868d
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 0x4685a2
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
je 0x4685a2
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4685b1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x468699
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x468699
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4686b7
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.004e9520
add esp, 0xc
push esi
lea ecx, [esp + 0x158]
push 0x104
push ecx
call fcn.004e82ea
mov esi, dword [esp + 0x58]
add esp, 0xc
lea edx, [esp + 0x154]
mov dword [esp + 0x64], edx
test esi, esi
je 0x468675
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x56e]
push ecx
mov word [esp + 0x570], ax
call fcn.004e9520
add esp, 0xc
push esi
lea edx, [esp + 0x568]
push 0x104
push edx
call fcn.004e82ea
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 0x468699
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4686a8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4686b7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4686c6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [esp + 0x27], 0
je 0x468e69
mov eax, dword [ebx + 0xdc]
xor edi, edi
cmp eax, edi
je 0x468709
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 0x468709
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 0x468e5d
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 0x468745
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x468a57
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4758
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
je 0x468a57
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004e9520
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 0x468a4e
lea edi, [ebx + 0x40]
push edi
mov eax, esi
call fcn.0045f5a0
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, 0x51a1b4
lea esi, [esp + 0x100]
mov byte [esp + 0x11a8], 2
call fcn.00459c70
mov byte [esp + 0x11a8], 3
cmp byte [ebx + 0x158], 0
jne 0x468834
mov ecx, esi
push ecx
mov eax, str.charset_A_Za_z0_9___
call fcn.0045f5a0
mov edx, esi
push edx
lea edx, [esp + 0x30]
mov ecx, edi
call fcn.00467500
add esp, 4
test al, al
je 0x468834
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 0x468834
push 0
lea edi, [ebx + 0x78]
push esi
or eax, 0xffffffff
call fcn.004598c0
lea ecx, [esp + 0x100]
push ecx
mov eax, str.Content_Length:__0_9_
call fcn.0045f5a0
lea edx, [esp + 0x100]
push edx
lea edx, [esp + 0x30]
lea ecx, [ebx + 0x40]
call fcn.00467500
add esp, 4
test al, al
je 0x468897
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 0x468897
cmp dword [esi + 0x14], 8
jb 0x468888
mov esi, dword [esi]
push esi
call fcn.004e7cef
add esp, 4
mov dword [ebx + 0xa0], eax
lea ecx, [esp + 0x100]
push ecx
mov eax, str.Location:__0_9_
call fcn.0045f5a0
lea edx, [esp + 0x100]
push edx
lea edx, [esp + 0x30]
lea ecx, [ebx + 0x40]
call fcn.00467500
add esp, 4
test al, al
je 0x4688f4
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 0x4688f4
push 0
push esi
lea edi, [ebx + 0x194]
or eax, 0xffffffff
call fcn.004598c0
lea ecx, [esp + 0x100]
push ecx
mov eax, str.Set_Cookie:_b.__n
call fcn.0045f5a0
lea edx, [esp + 0x100]
push edx
lea edx, [esp + 0x30]
lea ecx, [ebx + 0x40]
call fcn.00467500
add esp, 4
test al, al
je 0x468a2d
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 0x468a2d
mov dword [esp + 0x20], 0
test esi, esi
je 0x468995
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.0046bf40
lea eax, [esi - 1]
cmp dword [esp + 0x20], eax
je 0x468983
push edi
mov eax, 0x51e59c
call fcn.0046b180
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 0x1c
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jb 0x468960
mov eax, 0x51c464
lea esi, [esp + 0x11c]
call fcn.00459c70
lea edx, [esp + 0x11c]
push edx
lea esi, [ebx + 0xa4]
push esi
lea edx, [esp + 0x140]
mov byte [esp + 0x11b0], 4
call fcn.004678c0
add esp, 8
mov edi, eax
mov byte [esp + 0x11a8], 5
call fcn.00459160
lea esi, [esp + 0x138]
call fcn.00459810
lea esi, [esp + 0x11c]
mov byte [esp + 0x11a8], 3
call fcn.00459810
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x468a2d
cmp dword [ebx + 0xb8], 8
lea ecx, [ebx + 0xa4]
jb 0x468a18
mov edx, dword [ecx]
jmp 0x468a1a
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x3b
je 0x468a2d
push ecx
mov eax, 0x51e5a4
call fcn.0046b180
lea esi, [esp + 0x100]
call fcn.00459810
lea esi, [esp + 0x2c]
mov byte [esp + 0x11a8], 0
call fcn.0046b1e0
mov esi, dword [esp + 0x28]
push esi
call fcn.004e48a0
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 0x468a86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x468aee
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4758
mov esi, eax
add esp, 4
test esi, esi
je 0x468aee
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004e9520
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 0x468ae5
lea ecx, [ebx + 0x120]
push ecx
mov eax, esi
call fcn.0045f5a0
push esi
call fcn.004e48a0
add esp, 4
mov eax, dword [ebx + 0x94]
xor edi, edi
mov dword [esp + 0x20], 0x2800
test eax, eax
je 0x468b11
push eax
call fcn.004e48a0
add esp, 4
mov dword [ebx + 0x94], edi
push 0x2800
call fcn.004e4758
add esp, 4
mov dword [ebx + 0x94], eax
test eax, eax
je 0x468e76
push 0x2800
push 0
push eax
call fcn.004e9520
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 0x468c48
push edi
mov edx, ebx
call fcn.00468fb0
mov ecx, dword [esp + 0x14]
inc ecx
push ecx
call fcn.004e4758
mov esi, eax
add esp, 4
mov dword [esp + 0x94], esi
test esi, esi
je 0x468c54
mov edx, dword [esp + 0x14]
inc edx
push edx
push 0
push esi
call fcn.004e9520
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 0x468c3d
mov eax, dword [esp + 0x1c]
add eax, edi
cmp eax, dword [esp + 0x20]
jbe 0x468c22
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 0x94]
add eax, eax
push eax
mov dword [esp + 0x2c], eax
call fcn.004e4758
add esp, 4
mov dword [ebx + 0x94], eax
test eax, eax
je 0x468c61
mov ecx, dword [esp + 0x28]
push ecx
push 0
push eax
mov dword [esp + 0x2c], ecx
call fcn.004e9520
mov ecx, dword [ebx + 0x94]
add esp, 0xc
push edi
push esi
push ecx
call fcn.004e9140
add esp, 0xc
push esi
call fcn.004e48a0
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.004e9140
add esp, 0xc
add edi, dword [esp + 0x1c]
push esi
call fcn.004e48a0
add esp, 4
jmp 0x468c54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp dword [esp + 0x14], 0
ja 0x468b40
jmp 0x468c6c
mov dword [ebx + 0x94], esi
mov byte [esp + 0x12], 0
push edi
mov edx, ebx
call fcn.00468fb0
lea eax, [ebx + 0x78]
mov dword [ebx + 0x98], edi
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [esp + 0x1c], 1
jb 0x468c8f
mov eax, dword [eax]
push 5
push 0x51e5a8
push eax
call fcn.004e7fff
add esp, 0xc
test eax, eax
jne 0x468cac
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 0x468cfb
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 0x468d70
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4758
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x468d70
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi]
push eax
push 0
push ecx
call fcn.004e9520
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 0x468d63
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [esp + 0x24]
call fcn.0045f5a0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004e48a0
add esp, 4
mov ecx, dword [esp + 0xf4]
mov edi, 3
lea eax, [esp + 0xe4]
mov byte [esp + 0x13], 1
call fcn.0046d280
test eax, eax
jne 0x468e87
mov eax, str._html_
lea esi, [esp + 0x100]
call fcn.00459c70
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.00467500
add esp, 4
test al, al
je 0x468e3e
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 0x468e3e
mov ecx, esi
push ecx
mov eax, str.__html_
call fcn.0045f5a0
mov edx, esi
push edx
lea edx, [esp + 0x54]
lea ecx, [ebx + 0x5c]
call fcn.00467500
add esp, 4
test al, al
je 0x468e2f
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 0x468e3e
mov dword [ebx + 0x11c], 0xd
mov byte [esp + 0x13], 0
lea esi, [esp + 0x50]
call fcn.0046b1e0
lea esi, [esp + 0x100]
mov byte [esp + 0x11a8], 0
call fcn.00459810
jmp 0x468e69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x11c], eax
cmp byte [esp + 0x13], 0
je 0x4682a0
jmp 0x468e87
mov byte [esp + 0x12], 0
cmp byte [esp + 0x13], 0
jne 0x468e87
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 0x468ebe
mov edx, dword [esp + 0xe4]
push edx
call fcn.004e4d61
add esp, 4
mov al, byte [esp + 0x12]
jmp 0x468ee9
mov dword [ebx + 0x11c], 0x57
cmp dword [esp + 0xf8], edi
jb 0x468ee7
mov eax, dword [esp + 0xe4]
push eax
call fcn.004e4d61
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.004e4840
mov esp, ebp
pop ebp
ret