Function at 0x4224d0
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
mov eax, 0x1180
call fcn.00435d00
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
ja 0x422510
mov dword [esi + 0x11c], 3
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
push edi
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x107c], cx
push eax
lea ecx, [ebp - 0x107c]
mov dword [ebp - 0x1068], 7
mov dword [ebp - 0x106c], 0
call fcn.00402570
mov eax, dword [ebp - 0x107c]
mov edi, 8
cmp dword [ebp - 0x1068], edi
jae 0x422556
lea eax, [ebp - 0x107c]
push 0x452274
push eax
call fcn.004352e2
add esp, 8
test eax, eax
jne 0x422571
push 3
push 0x452274
jmp 0x4225a2
mov eax, dword [ebp - 0x107c]
cmp dword [ebp - 0x1068], edi
jae 0x422585
lea eax, [ebp - 0x107c]
push str.POST
push eax
call fcn.004352e2
add esp, 8
test eax, eax
jne 0x4234a7
push 4
push str.POST
lea ecx, [ebp - 0x107c]
call fcn.004028a0
cmp dword [esi], 0
mov byte [ebp - 0x10b6], 1
jne 0x422602
cmp dword [esi + 0x150], edi
lea eax, [esi + 0x13c]
jb 0x4225c9
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
test eax, eax
jne 0x422602
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
cmp dword [ebp - 0x1068], edi
jb 0x4234c8
mov edx, dword [ebp - 0x107c]
push edx
jmp 0x4234c0
mov eax, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1b8]
mov edx, dword [esi + 0x1b4]
push eax
mov eax, dword [esi + 0x1b0]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.00434d00
xor ecx, ecx
push 0xa26
push ecx
lea edx, [ebp - 0x1042]
push edx
mov word [ebp - 0x1044], cx
call fcn.00434d00
push 0x3c
lea eax, [ebp - 0x1180]
push 0
push eax
call fcn.00434d00
lea ecx, [ebp - 0x414]
lea eax, [esi + 8]
add esp, 0x24
lea edx, [ebp - 0x1044]
mov dword [ebp - 0x1170], ecx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x1180], 0x3c
mov dword [ebp - 0x116c], 0x104
mov dword [ebp - 0x1154], edx
mov dword [ebp - 0x1150], 0x514
mov dword [ebp - 0x1178], 1
cmp dword [eax + 0x14], edi
jb 0x4226bd
mov eax, dword [eax]
lea edx, [ebp - 0x1180]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x423478
lea eax, [ebp - 0x414]
push ebx
lea edx, [eax + 2]
mov ebx, 2
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x4226e5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi + 0x24]
call fcn.004028a0
mov ecx, dword [ebp - 0x1168]
mov eax, dword [esi]
push 0
push ecx
lea edx, [ebp - 0x414]
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x1140], edi
test edi, edi
je 0x423472
mov eax, dword [ebp - 0x107c]
xor ecx, ecx
cmp dword [ebp - 0x1174], ebx
setne cl
dec ecx
and ecx, 0x800000
cmp dword [ebp - 0x1068], 8
jae 0x422753
lea eax, [ebp - 0x107c]
push ecx
mov ecx, dword [ebp - 0x1154]
push 0
push 0
push 0
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x10c4], eax
test eax, eax
je 0x42346b
cmp byte [esi + 4], 0
jne 0x4227a1
cmp dword [ebp - 0x1174], ebx
jne 0x4227a1
push 4
lea edx, [ebp - 0x10d0]
push edx
push 0x1f
push eax
mov dword [ebp - 0x10d0], 0x3100
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [ebp - 0x10b5], 0
mov dword [ebp - 0x10d0], 0
mov eax, dword [ebp - 0x10d0]
mov ecx, eax
inc eax
mov dword [ebp - 0x10d0], eax
cmp ecx, 3
jae 0x423448
mov ecx, dword [esi + 0xf4]
mov ebx, 8
test ecx, ecx
je 0x42280f
cmp dword [esi + 0xf8], ebx
lea eax, [esi + 0xe4]
jb 0x4227e9
mov eax, dword [eax]
mov edi, dword [ebp - 0x10c4]
push 0x1000000
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x422815
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
jmp 0x422815
mov edi, dword [ebp - 0x10c4]
cmp dword [esi + 0xd0], 0
jbe 0x422887
push str.Cookie:
lea ecx, [ebp - 0x1060]
call fcn.00402310
push 0xffffffffffffffff
push 0
lea edx, [esi + 0xc0]
push edx
lea ecx, [ebp - 0x1060]
call fcn.00404430
mov eax, dword [ebp - 0x1060]
cmp dword [ebp - 0x104c], ebx
jae 0x422858
lea eax, [ebp - 0x1060]
mov ecx, dword [ebp - 0x1050]
push 0x1000000
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x42287c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
lea ecx, [ebp - 0x1060]
call fcn.00402360
cmp dword [esi + 0x110], 0
jbe 0x422993
xor eax, eax
xor edx, edx
mov dword [ebp - 0x113c], eax
push 0x206
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], eax
push edx
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x113c], 3
mov word [ebp - 0x20c], dx
call fcn.00434d00
lea eax, [esi + 0x100]
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x4228dd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.00435095
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add esp, 0xc
push 0xc
lea eax, [ebp - 0x113c]
push eax
push 0x26
lea edx, [ebp - 0x20c]
push edi
mov dword [ebp - 0x1138], edx
call ebx
test eax, eax
jne 0x422922
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x422999
cmp dword [esi + 0x170], 8
lea eax, [esi + 0x15c]
jb 0x42293d
mov eax, dword [eax]
add ecx, ecx
push ecx
push eax
push 0x1002
push edi
call ebx
test eax, eax
jne 0x422959
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x422999
cmp dword [esi + 0x18c], 8
lea eax, [esi + 0x178]
jb 0x422974
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push eax
push 0x1003
push edi
call ebx
test eax, eax
jne 0x422999
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
jmp 0x422999
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp byte [ebp + 0xc], 0
je 0x4229c7
push 4
lea eax, [ebp - 0x10bc]
push eax
push 0x3f
push edi
mov dword [ebp - 0x10bc], 2
call ebx
test eax, eax
jne 0x4229c7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
mov byte [ebp - 0x10c5], 0
call ebx
test eax, eax
jne 0x422c31
lea ecx, [ebp - 0x10f0]
push ecx
xor edi, edi
mov dword [ebp - 0x10f0], eax
mov dword [ebp - 0x10ec], eax
mov dword [ebp - 0x10e8], eax
mov dword [ebp - 0x10e4], eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x423426
mov ecx, dword [ebp - 0x10ec]
cmp ecx, edi
je 0x422b1b
xor eax, eax
mov dword [ebp - 0x1130], eax
mov dword [ebp - 0x112c], eax
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1124], eax
mov dword [ebp - 0x1120], eax
mov dword [ebp - 0x111c], eax
mov eax, 1
mov dword [ebp - 0x112c], eax
mov dword [ebp - 0x111c], eax
xor eax, eax
cmp dword [esi + 0x1c], 8
mov dword [ebp - 0x110c], eax
mov dword [ebp - 0x1108], eax
mov dword [ebp - 0x1104], eax
lea eax, [esi + 8]
mov dword [ebp - 0x1130], 3
mov dword [ebp - 0x1128], ecx
mov dword [ebp - 0x1120], edi
mov dword [ebp - 0x1124], edi
jb 0x422a9a
mov eax, dword [eax]
lea edx, [ebp - 0x110c]
push edx
mov edx, dword [esi]
lea ecx, [ebp - 0x1130]
push ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x422be5
mov edi, dword [ebp - 0x10c4]
push 0xc
lea eax, [ebp - 0x110c]
push eax
push 0x26
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x422af0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call ebx
test eax, eax
je 0x422af0
mov byte [ebp - 0x10c5], 1
mov eax, dword [ebp - 0x1108]
test eax, eax
je 0x422b01
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0x1104]
test eax, eax
je 0x422bf1
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x422bf1
mov edi, dword [ebp - 0x10e8]
test edi, edi
je 0x422c13
xor ecx, ecx
xor eax, eax
push 0x206
push ecx
lea edx, [ebp - 0x20a]
mov dword [ebp - 0x1118], eax
push edx
mov dword [ebp - 0x1114], eax
mov dword [ebp - 0x1110], eax
mov dword [ebp - 0x1118], 3
mov word [ebp - 0x20c], cx
call fcn.00434d00
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00435095
mov edi, dword [ebp - 0x10e4]
add esp, 0x18
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x1114], ecx
test edi, edi
je 0x422bc9
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.00434d00
push edi
lea ecx, [ebp - 0x61c]
push 0x104
push ecx
call fcn.00435095
lea edx, [ebp - 0x61c]
add esp, 0x18
mov dword [ebp - 0x1110], edx
mov ecx, dword [ebp - 0x10c4]
push 0xc
lea eax, [ebp - 0x1118]
push eax
push 0x26
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x422bf1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
mov eax, dword [ebp - 0x10ec]
test eax, eax
je 0x422c02
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0x10e8]
test eax, eax
je 0x422c13
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0x10e4]
test eax, eax
je 0x422c24
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp byte [ebp - 0x10c5], 0
je 0x423432
mov eax, dword [esi + 0xdc]
xor ebx, ebx
cmp eax, ebx
je 0x422c6f
mov ecx, dword [esi + 0xe0]
lea edx, [ebp - 0x10bc]
push edx
mov edx, dword [ebp - 0x10c4]
push ecx
push eax
push edx
mov dword [ebp - 0x10bc], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x422c6f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
mov edi, dword [ebp - 0x10c4]
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x423426
push ebx
lea eax, [ebp - 0x10c0]
push eax
push ebx
push ebx
push 0x16
mov dword [ebp - 0x10c0], ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
call ebx
test eax, eax
jne 0x422cb3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x422fba
mov eax, dword [ebp - 0x10c0]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004336e5
mov edi, eax
add esp, 4
mov dword [ebp - 0x10cc], edi
test edi, edi
je 0x422fba
mov eax, dword [ebp - 0x10c0]
lea ecx, [eax + eax]
push ecx
push 0
push edi
call fcn.00434d00
mov eax, dword [ebp - 0x10c4]
add esp, 0xc
push 0
lea edx, [ebp - 0x10c0]
push edx
push edi
push 0
push 0x16
push eax
call ebx
test eax, eax
je 0x422fb1
lea ebx, [esi + 0x40]
push edi
mov ecx, ebx
call fcn.00402670
xor eax, eax
push 0x44dadc
lea ecx, [ebp - 0x1060]
mov dword [ebp - 0x10e0], eax
mov dword [ebp - 0x10dc], eax
mov dword [ebp - 0x10d8], eax
call fcn.00402310
cmp byte [esi + 0x158], 0
jne 0x422daf
push str.charset_A_Za_z0_9___
lea ecx, [ebp - 0x1060]
call fcn.00402670
push 0
lea ecx, [ebp - 0x10e0]
push ecx
push ebx
push 1
lea edx, [ebp - 0x1060]
push 0
push edx
call fcn.00422120
add esp, 0x18
test al, al
je 0x422daf
mov ecx, dword [ebp - 0x10dc]
mov edi, dword [ebp - 0x10e0]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x422daf
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x78]
push edi
call fcn.00402570
push str.Content_Length:__0_9_
lea ecx, [ebp - 0x1060]
call fcn.00402670
push 0
lea ecx, [ebp - 0x10e0]
push ecx
push ebx
push 1
lea edx, [ebp - 0x1060]
push 0
push edx
call fcn.00422120
add esp, 0x18
test al, al
je 0x422e1a
mov ecx, dword [ebp - 0x10dc]
mov edi, dword [ebp - 0x10e0]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x422e1a
cmp dword [edi + 0x14], 8
jb 0x422e0b
mov edi, dword [edi]
push edi
call fcn.00435984
add esp, 4
mov dword [esi + 0xa0], eax
push str.Location:__0_9_
lea ecx, [ebp - 0x1060]
call fcn.00402670
push 0
lea ecx, [ebp - 0x10e0]
push ecx
push ebx
push 1
lea edx, [ebp - 0x1060]
push 0
push edx
call fcn.00422120
add esp, 0x18
test al, al
je 0x422e7e
mov ecx, dword [ebp - 0x10dc]
mov edi, dword [ebp - 0x10e0]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x422e7e
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x194]
call fcn.00402570
push str.Set_Cookie:_b.__n
lea ecx, [ebp - 0x1060]
call fcn.00402670
push 0
lea ecx, [ebp - 0x10e0]
push ecx
push ebx
push 1
lea edx, [ebp - 0x1060]
push 0
push edx
call fcn.00422120
add esp, 0x18
test al, al
je 0x422f8f
mov edi, dword [ebp - 0x10dc]
mov ecx, dword [ebp - 0x10e0]
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x422f8f
xor ebx, ebx
test edi, edi
je 0x422f1f
mov dword [ebp - 0x10bc], ecx
mov eax, dword [ebp - 0x10bc]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0xa4]
call fcn.00404430
lea eax, [edi - 1]
cmp ebx, eax
je 0x422f13
push 0x44e714
lea ecx, [esi + 0xa4]
call fcn.00404660
add dword [ebp - 0x10bc], 0x1c
inc ebx
cmp ebx, edi
jb 0x422ee6
push 0x44e710
lea ecx, [ebp - 0x1098]
call fcn.00402310
lea ecx, [ebp - 0x1098]
push ecx
lea edi, [esi + 0xa4]
lea edx, [ebp - 0x10b4]
push edi
push edx
call fcn.00420cc0
add esp, 0xc
push eax
mov ecx, edi
call fcn.004032e0
lea ecx, [ebp - 0x10b4]
call fcn.00402360
lea ecx, [ebp - 0x1098]
call fcn.00402360
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x422f8f
dec eax
push eax
mov ecx, edi
call fcn.0041ec20
cmp word [eax], 0x3b
je 0x422f8f
push 0x44e70c
mov ecx, edi
call fcn.00404660
lea ecx, [ebp - 0x1060]
call fcn.00402360
lea ecx, [ebp - 0x10e0]
call fcn.00415580
mov edi, dword [ebp - 0x10cc]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
call fcn.00434369
add esp, 4
mov ecx, dword [ebp - 0x10c4]
push 0
lea eax, [ebp - 0x10c0]
push eax
push 0
push 0
push 0x13
push ecx
mov dword [ebp - 0x10c0], 0
call ebx
test eax, eax
jne 0x422feb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x423055
mov eax, dword [ebp - 0x10c0]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004336e5
mov edi, eax
add esp, 4
test edi, edi
je 0x423055
mov eax, dword [ebp - 0x10c0]
lea ecx, [eax + eax]
push ecx
push 0
push edi
call fcn.00434d00
mov eax, dword [ebp - 0x10c4]
add esp, 0xc
push 0
lea edx, [ebp - 0x10c0]
push edx
push edi
push 0
push 0x13
push eax
call ebx
test eax, eax
je 0x42304c
push edi
lea ecx, [esi + 0x120]
call fcn.00402670
push edi
call fcn.00434369
add esp, 4
mov eax, dword [esi + 0x94]
xor edi, edi
mov dword [ebp - 0x10bc], 0x2800
cmp eax, edi
je 0x42307a
push eax
call fcn.00434369
add esp, 4
mov dword [esi + 0x94], edi
push 0x2800
call fcn.004336e5
add esp, 4
mov dword [esi + 0x94], eax
cmp eax, edi
je 0x423441
push 0x2800
push edi
push eax
call fcn.00434d00
add esp, 0xc
jmp 0x4230b0
mov edx, dword [ebp - 0x10c4]
lea ecx, [ebp - 0x10c0]
push ecx
push edx
mov dword [ebp - 0x10c0], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4231d2
push edi
mov ecx, esi
call fcn.0041ea20
mov eax, dword [ebp - 0x10c0]
inc eax
push eax
call fcn.004336e5
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1144], ebx
test ebx, ebx
je 0x4231de
mov ecx, dword [ebp - 0x10c0]
inc ecx
push ecx
push 0
push ebx
call fcn.00434d00
mov eax, dword [ebp - 0x10c0]
mov ecx, dword [ebp - 0x10c4]
add esp, 0xc
lea edx, [ebp - 0x10cc]
push edx
push eax
push ebx
push ecx
mov dword [ebp - 0x10cc], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4231c7
mov edx, dword [ebp - 0x10cc]
add edx, edi
cmp edx, dword [ebp - 0x10bc]
jbe 0x4231a8
mov eax, dword [ebp - 0x10bc]
mov ebx, dword [esi + 0x94]
add eax, eax
push eax
mov dword [ebp - 0x10bc], eax
call fcn.004336e5
add esp, 4
mov dword [esi + 0x94], eax
test eax, eax
je 0x4231ed
mov ecx, dword [ebp - 0x10bc]
push ecx
push 0
push eax
mov dword [ebp - 0x10bc], ecx
call fcn.00434d00
mov eax, dword [esi + 0x94]
push edi
push ebx
push eax
call fcn.004339b0
push ebx
call fcn.00434369
mov ebx, dword [ebp - 0x1144]
add esp, 0x1c
mov ecx, dword [ebp - 0x10cc]
mov edx, dword [esi + 0x94]
push ecx
add edx, edi
push ebx
push edx
call fcn.004339b0
add esp, 0xc
add edi, dword [ebp - 0x10cc]
push ebx
call fcn.00434369
add esp, 4
jmp 0x4231de
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
cmp dword [ebp - 0x10c0], 0
ja 0x4230b0
jmp 0x4231fa
mov dword [esi + 0x94], ebx
mov byte [ebp - 0x10b6], 0
push edi
mov ecx, esi
call fcn.0041ea20
lea eax, [esi + 0x78]
mov dword [esi + 0x98], edi
xor ebx, ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x10cc], 1
jb 0x42321f
mov eax, dword [eax]
push 5
push str.utf_8
push eax
call fcn.00436031
add esp, 0xc
test eax, eax
jne 0x42323e
mov ebx, 0xfde9
mov dword [ebp - 0x10cc], eax
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
mov edx, dword [ebp - 0x10cc]
push 0
push 0
inc eax
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov edi, eax
test edi, edi
jg 0x423295
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
xor ebx, ebx
push ebx
push ebx
inc eax
push eax
push ecx
push 1
push ebx
mov dword [ebp - 0x10cc], 1
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x423316
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004336e5
add esp, 4
mov dword [ebp - 0x10bc], eax
test eax, eax
je 0x423316
mov ecx, dword [ebp - 0x10bc]
lea eax, [edi + edi]
push eax
push 0
push ecx
call fcn.00434d00
mov edx, dword [ebp - 0x10bc]
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x94]
add esp, 0xc
push edi
push edx
mov edx, dword [ebp - 0x10cc]
inc eax
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
jle 0x423307
mov eax, dword [ebp - 0x10bc]
push eax
lea ecx, [esi + 0x5c]
call fcn.00402670
mov ecx, dword [ebp - 0x10bc]
push ecx
call fcn.00434369
add esp, 4
lea edx, [ebp - 0x107c]
push 0x452274
push edx
mov byte [ebp - 0x10b5], 1
call fcn.0041eff0
add esp, 8
test al, al
je 0x423458
cmp byte [ebp + 0xc], 0
jne 0x423458
push str._html_
lea ecx, [ebp - 0x1060]
call fcn.00402310
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1100]
push eax
lea edi, [esi + 0x5c]
push edi
push 1
lea ecx, [ebp - 0x1060]
push ebx
push ecx
mov dword [ebp - 0x1100], ebx
mov dword [ebp - 0x10fc], ebx
mov dword [ebp - 0x10f8], ebx
call fcn.00422120
add esp, 0x18
test al, al
je 0x42340e
mov ecx, dword [ebp - 0x10fc]
sub ecx, dword [ebp - 0x1100]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42340e
push str.__html_
lea ecx, [ebp - 0x1060]
call fcn.00402670
push ebx
lea ecx, [ebp - 0x1100]
push ecx
push edi
push 1
lea edx, [ebp - 0x1060]
push ebx
push edx
call fcn.00422120
add esp, 0x18
test al, al
je 0x4233fe
mov ecx, dword [ebp - 0x10fc]
sub ecx, dword [ebp - 0x1100]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42340e
mov dword [esi + 0x11c], 0xd
mov byte [ebp - 0x10b5], bl
lea ecx, [ebp - 0x1100]
call fcn.00415580
lea ecx, [ebp - 0x1060]
call fcn.00402360
jmp 0x423432
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi + 0x11c], eax
cmp byte [ebp - 0x10b5], 0
je 0x4227b2
jmp 0x423458
mov byte [ebp - 0x10b6], 0
cmp byte [ebp - 0x10b5], 0
jne 0x423458
mov byte [ebp - 0x10b6], 0
mov ecx, dword [ebp - 0x10c4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [ebp - 0x1140]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, 8
pop ebx
cmp dword [ebp - 0x1068], edi
jb 0x42348f
mov edx, dword [ebp - 0x107c]
push edx
call fcn.00433949
add esp, 4
mov al, byte [ebp - 0x10b6]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x11c], 0x57
cmp dword [ebp - 0x1068], edi
jb 0x4234c8
mov eax, dword [ebp - 0x107c]
push eax
call fcn.00433949
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00434758
mov esp, ebp
pop ebp
ret 8