Function at 0x42423d
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:
mov eax, 0x48b460
call fcn.004897c0
mov eax, 0x11a4
call fcn.0043bcc0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x84], ebx
cmp dword [ebx + 0x18], 0
ja 0x424273
mov dword [ebx + 0xf8], 3
xor al, al
jmp 0x42507a
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.0040c4ef
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push 8
pop edi
cmp dword [ebp - 0x40], edi
mov esi, 0x4b9a9c
push esi
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.004465c8
pop ecx
pop ecx
test eax, eax
je 0x4242f9
cmp dword [ebp - 0x40], edi
lea eax, [ebp - 0x54]
mov esi, str.POST
cmovae eax, dword [ebp - 0x54]
push esi
push eax
call fcn.004465c8
pop ecx
pop ecx
test eax, eax
je 0x4242f9
cmp dword [ebp - 0x40], edi
lea eax, [ebp - 0x54]
mov esi, str.DELETE
cmovae eax, dword [ebp - 0x54]
push esi
push eax
call fcn.004465c8
pop ecx
pop ecx
test eax, eax
je 0x4242f9
cmp dword [ebp - 0x40], edi
lea eax, [ebp - 0x54]
mov esi, 0x4b9e98
cmovae eax, dword [ebp - 0x54]
push esi
push eax
call fcn.004465c8
pop ecx
pop ecx
test eax, eax
jne 0x42505a
push esi
call fcn.0040be36
pop ecx
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.0040c84e
xor ecx, ecx
mov byte [ebp + 0xb], 1
cmp dword [ebx], ecx
jne 0x424343
lea eax, [ebx + 0x114]
cmp dword [eax + 0x14], edi
jb 0x424321
mov eax, dword [eax]
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebx], eax
test eax, eax
jne 0x424343
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xf8], eax
jmp 0x425064
push dword [ebx + 0x19c]
push dword [ebx + 0x198]
push dword [ebx + 0x194]
push dword [ebx + 0x190]
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov si, word [0x4b65b4]
lea eax, [ebp - 0x57e]
push 0x206
xor edi, edi
mov word [ebp - 0x580], si
push edi
push eax
call fcn.0043dd90
add esp, 0xc
mov word [ebp - 0x11b0], si
lea eax, [ebp - 0x11ae]
push 0xa26
push edi
push eax
call fcn.0043dd90
add esp, 0xc
lea eax, [ebp - 0x140]
push 0x3c
pop esi
push esi
push edi
push eax
call fcn.0043dd90
lea eax, [ebp - 0x580]
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x130], eax
add esp, 0xc
lea eax, [ebp - 0x11b0]
mov dword [ebp - 0x12c], 0x104
mov dword [ebp - 0x114], eax
lea eax, [ebx + 8]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x110], 0x514
mov dword [ebp - 0x138], 1
jb 0x4243ff
mov eax, dword [eax]
lea ecx, [ebp - 0x140]
push ecx
push edi
push dword [ebx + 0x18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x425055
lea eax, [ebp - 0x580]
push eax
call fcn.0040be36
pop ecx
push eax
lea eax, [ebp - 0x580]
push eax
lea ecx, [ebx + 0x20]
call fcn.0040c84e
push edi
push dword [ebp - 0x128]
lea eax, [ebp - 0x580]
push eax
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x425055
push 2
pop edx
xor ecx, ecx
mov eax, 0x800000
cmp dword [ebp - 0x134], edx
cmove ecx, eax
cmp dword [ebp - 0x40], 8
push ecx
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x114]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x88], esi
test esi, esi
je 0x42504e
cmp byte [ebx + 4], 0
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
jne 0x4244c4
push 2
pop eax
cmp dword [ebp - 0x134], eax
jne 0x4244c4
push 4
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x3100
push eax
push 0x1f
push esi
call edi
mov byte [ebp - 0xd], 0
xor edx, edx
mov dword [ebp - 0x80], 0x18
mov eax, edx
inc edx
mov dword [ebp - 0x8c], edx
cmp eax, 3
jae 0x425033
mov ecx, dword [ebx + 0xd8]
test ecx, ecx
je 0x424518
xor eax, eax
inc eax
cmp edx, eax
jne 0x424518
lea eax, [ebx + 0xc8]
cmp dword [eax + 0x14], 8
jb 0x424502
mov eax, dword [eax]
push 0x1000000
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x424fe2
cmp dword [ebx + 0xb8], 0
jbe 0x424591
push 0x4ba4ac
lea ecx, [ebp - 0xec]
call fcn.0040c4be
xor eax, eax
lea ecx, [ebp - 0xec]
inc eax
push 0xffffffffffffffff
mov byte [ebp - 4], al
lea eax, [ebx + 0xa8]
push 0
push eax
call fcn.0040d569
cmp dword [ebp - 0xd8], 8
lea eax, [ebp - 0xec]
push 0x1000000
push dword [ebp - 0xdc]
cmovae eax, dword [ebp - 0xec]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x424ffe
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0xec]
push eax
call fcn.0040c714
cmp dword [ebx + 0xf0], 0
jbe 0x424679
xor eax, eax
lea edi, [ebp - 0xbc]
stosd dword es:[edi], eax
push 0x206
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [0x4b65b4]
mov word [ebp - 0x378], ax
lea eax, [ebp - 0x376]
push eax
mov dword [ebp - 0xbc], 3
call fcn.0043dd90
lea eax, [ebx + 0xe0]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4245e4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x378]
push 0x104
push eax
call fcn.00449b1f
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x378]
add esp, 0xc
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xbc]
push 0xc
push eax
push 0x26
push esi
call edi
test eax, eax
je 0x424fe2
mov eax, dword [ebx + 0x140]
test eax, eax
je 0x424679
lea ecx, [ebx + 0x130]
cmp dword [ecx + 0x14], 8
jb 0x424639
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 0x1002
push esi
call edi
test eax, eax
je 0x424fe2
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x424679
lea ecx, [ebx + 0x148]
cmp dword [ecx + 0x14], 8
jb 0x424665
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 0x1003
push esi
call edi
test eax, eax
je 0x424fe2
xor eax, eax
push eax
push dword [ebx + 0xc4]
mov byte [ebp - 0x3c], al
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x424881
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x424fe2
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x424782
xor eax, eax
lea edi, [ebp - 0xd4]
push 6
pop ecx
rep stosd dword es:[edi], eax
and dword [ebp - 0xc4], 0
lea edi, [ebp - 0x7c]
and dword [ebp - 0xc8], 0
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0xd4], 3
mov dword [ebp - 0xcc], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 8]
cmp dword [eax + 0x14], 8
jb 0x424707
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0xd4]
push ecx
push eax
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x424fe2
push 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x42475b
xor eax, eax
push eax
push dword [ebx + 0xc4]
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ecx, dword [ebp - 0x3c]
test eax, eax
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x78], 0
je 0x42476a
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x74], 0
je 0x42484a
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42484a
cmp dword [ebp - 0x68], 0
je 0x424868
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
push 0x206
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [0x4b65b4]
mov word [ebp - 0x378], ax
lea eax, [ebp - 0x376]
push eax
mov dword [ebp - 0x98], 3
call fcn.0043dd90
add esp, 0xc
lea eax, [ebp - 0x378]
mov edi, 0x104
push dword [ebp - 0x68]
push edi
push eax
call fcn.00449b1f
add esp, 0xc
lea eax, [ebp - 0x378]
cmp dword [ebp - 0x64], 0
mov dword [ebp - 0x94], eax
je 0x424830
mov ax, word [0x4b65b4]
push 0x206
mov word [ebp - 0x788], ax
lea eax, [ebp - 0x786]
push 0
push eax
call fcn.0043dd90
add esp, 0xc
lea eax, [ebp - 0x788]
push dword [ebp - 0x64]
push edi
push eax
call fcn.00449b1f
lea eax, [ebp - 0x788]
add esp, 0xc
mov dword [ebp - 0x90], eax
push 0xc
lea eax, [ebp - 0x98]
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x424fe2
cmp dword [ebp - 0x6c], 0
je 0x424859
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x68], 0
je 0x424868
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x64], 0
je 0x424877
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [ebp - 0x3c], 0
je 0x424fd1
cmp dword [ebx + 0xc0], 0
je 0x4248e1
xor edi, edi
push edi
mov ecx, ebx
call fcn.0042517f
mov ecx, dword [ebx + 0xc4]
lea eax, [edi + 0x5000]
cmp eax, ecx
jae 0x4248ab
mov ecx, 0x5000
jmp 0x4248ad
sub ecx, edi
mov eax, dword [ebx + 0xc0]
lea edx, [ebp - 0x38]
and dword [ebp - 0x38], 0
add eax, edi
push edx
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x424fe2
add edi, dword [ebp - 0x38]
cmp edi, dword [ebx + 0xc4]
jb 0x42488c
push edi
mov ecx, ebx
call fcn.0042517f
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x424fe2
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push eax
push ecx
push ecx
push 0x16
push esi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x42491a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x424c32
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b123
mov edi, eax
mov dword [ebp - 0x18], edi
pop ecx
test edi, edi
je 0x424c32
mov ecx, dword [ebp - 0x14]
add ecx, ecx
push ecx
push 0
push edi
call fcn.0043dd90
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push eax
push edi
push 0
push 0x16
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x424c2b
push dword [ebp - 0x18]
lea edi, [ebx + 0x38]
call fcn.0040be36
pop ecx
push eax
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0040c84e
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 2
pop eax
push 0x4b65b4
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], al
call fcn.0040c4be
mov byte [ebp - 4], 3
cmp byte [ebx + 0x12c], 0
jne 0x424a08
push str.charset_A_Za_z0_9___
call fcn.0040be36
pop ecx
push eax
push str.charset_A_Za_z0_9___
lea ecx, [ebp - 0xb0]
call fcn.0040c84e
push ecx
lea eax, [ebp - 0x34]
push eax
push edi
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00423889
add esp, 0x10
test al, al
je 0x424a08
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x424a08
lea ecx, [ebx + 0x68]
cmp ecx, dword [ebp - 0x34]
je 0x424a08
push 0xffffffffffffffff
push 0
push dword [ebp - 0x34]
call fcn.0040c8c7
push str.Content_Length:__0_9_
call fcn.0040be36
pop ecx
push eax
push str.Content_Length:__0_9_
lea ecx, [ebp - 0xb0]
call fcn.0040c84e
push ecx
lea eax, [ebp - 0x34]
push eax
push edi
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00423889
add esp, 0x10
test al, al
je 0x424a62
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cdq
idiv dword [ebp - 0x80]
test eax, eax
je 0x424a62
cmp dword [ecx + 0x14], 8
jb 0x424a55
mov ecx, dword [ecx]
push ecx
call fcn.0044d713
pop ecx
mov dword [ebx + 0x8c], eax
push str.Location:__A_Za_z0_9.:_____
call fcn.0040be36
pop ecx
push eax
push str.Location:__A_Za_z0_9.:_____
lea ecx, [ebp - 0xb0]
call fcn.0040c84e
push ecx
lea eax, [ebp - 0x34]
push eax
push edi
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00423889
add esp, 0x10
test al, al
je 0x424abe
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x424abe
lea ecx, [ebx + 0x178]
cmp ecx, dword [ebp - 0x34]
je 0x424abe
push 0xffffffffffffffff
push 0
push dword [ebp - 0x34]
call fcn.0040c8c7
push str.Set_Cookie:_b.__n
call fcn.0040be36
pop ecx
push eax
push str.Set_Cookie:_b.__n
lea ecx, [ebp - 0xb0]
call fcn.0040c84e
push ecx
lea eax, [ebp - 0x34]
push eax
push edi
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00423889
add esp, 0x10
test al, al
je 0x424c05
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x28], ecx
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x424c05
xor edi, edi
test eax, eax
je 0x424b6a
lea ecx, [ebx + 0x90]
mov esi, eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
push 0xffffffffffffffff
push 0
push ebx
call fcn.0040d569
lea eax, [esi - 1]
cmp edi, eax
je 0x424b51
push 0x4ba59c
call fcn.0040be36
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push 0x4ba59c
call fcn.0040d4c5
mov ecx, dword [ebp - 0x24]
inc edi
push 0x18
pop eax
add ebx, eax
cmp edi, esi
jb 0x424b27
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x88]
push 0x4ba4a8
lea ecx, [ebp - 0x158]
call fcn.0040c4be
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 4
lea edi, [ebx + 0x90]
push eax
mov edx, edi
lea ecx, [ebp - 0x170]
call fcn.00423bf2
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0040c474
xor eax, eax
mov byte [ebp - 4], 4
push 0
inc eax
lea ecx, [ebp - 0x170]
push eax
call fcn.0040c714
xor eax, eax
mov byte [ebp - 4], 3
push 0
inc eax
lea ecx, [ebp - 0x158]
push eax
call fcn.0040c714
mov ecx, dword [ebx + 0xa0]
test ecx, ecx
je 0x424c05
cmp dword [edi + 0x14], 8
jb 0x424be3
mov eax, dword [edi]
jmp 0x424be5
mov eax, edi
cmp word [eax + ecx*2 - 2], 0x3b
je 0x424c05
push 0x4b85f8
call fcn.0040be36
pop ecx
push eax
push 0x4b85f8
mov ecx, edi
call fcn.0040d4c5
push 2
pop eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0xb0]
xor eax, eax
push 0
inc eax
push eax
call fcn.0040c714
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0040c30c
mov edi, dword [ebp - 0x18]
push edi
call fcn.0043ae75
pop ecx
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push eax
push ecx
push ecx
push 0x13
push esi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x424c56
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x424cb6
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b123
mov edi, eax
pop ecx
test edi, edi
je 0x424cb6
mov ecx, dword [ebp - 0x14]
add ecx, ecx
push ecx
push 0
push edi
call fcn.0043dd90
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push eax
push edi
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x424caf
push edi
call fcn.0040be36
pop ecx
push eax
push edi
lea ecx, [ebx + 0xfc]
call fcn.0040c84e
push edi
call fcn.0043ae75
pop ecx
mov eax, dword [ebx + 0x80]
xor edi, edi
mov dword [ebp - 0x20], 0x2800
mov dword [ebp - 0x28], edi
test eax, eax
je 0x424cd9
push eax
call fcn.0043ae75
and dword [ebx + 0x80], edi
pop ecx
push 0x2800
call fcn.0043b123
mov dword [ebx + 0x80], eax
pop ecx
test eax, eax
je 0x42502f
push 0x2800
push 0
push eax
call fcn.0043dd90
add esp, 0xc
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x424fe2
push edi
mov ecx, ebx
call fcn.0042517f
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.0043b123
mov edi, eax
pop ecx
test edi, edi
je 0x424de1
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push 0
push edi
call fcn.0043dd90
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
push dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x424dda
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea eax, [ecx + edx]
cmp eax, dword [ebp - 0x20]
jbe 0x424dbe
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
add eax, eax
push eax
mov dword [ebp - 0x20], eax
call fcn.0043b123
mov dword [ebx + 0x80], eax
pop ecx
test eax, eax
je 0x424def
push dword [ebp - 0x20]
push 0
push eax
call fcn.0043dd90
add esp, 0xc
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebx + 0x80]
call fcn.0043d810
add esp, 0xc
push dword [ebp - 0x24]
call fcn.0043ae75
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x80]
push ecx
add eax, edx
push edi
push eax
call fcn.0043d810
mov eax, dword [ebp - 0x28]
add esp, 0xc
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
push edi
call fcn.0043ae75
pop ecx
cmp dword [ebp - 0x14], 0
jbe 0x424dfc
mov edi, dword [ebp - 0x28]
jmp 0x424d02
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x80], eax
mov byte [ebp + 0xb], 0
mov edi, dword [ebp - 0x28]
mov ecx, ebx
push edi
call fcn.0042517f
xor eax, eax
mov dword [ebx + 0x84], edi
inc eax
xor edi, edi
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x68]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x20], edi
jb 0x424e23
mov eax, dword [eax]
push 5
push str.utf_8
push eax
call fcn.00451a4a
add esp, 0xc
test eax, eax
jne 0x424e42
and dword [ebp - 0x18], eax
mov edi, 0xfde9
mov dword [ebp - 0x20], edi
mov eax, dword [ebx + 0x84]
push 0
push 0
inc eax
push eax
push dword [ebx + 0x80]
push dword [ebp - 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call edi
mov dword [ebp - 0x24], eax
test eax, eax
jg 0x424e8d
mov eax, dword [ebx + 0x84]
xor ecx, ecx
push ecx
xor edx, edx
mov dword [ebp - 0x20], ecx
inc edx
inc eax
push ecx
push eax
push dword [ebx + 0x80]
mov dword [ebp - 0x18], edx
push edx
push ecx
call edi
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x424ef3
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b123
mov edi, eax
pop ecx
test edi, edi
je 0x424ef3
mov ecx, dword [ebp - 0x24]
add ecx, ecx
push ecx
push 0
push edi
call fcn.0043dd90
mov eax, dword [ebx + 0x84]
add esp, 0xc
inc eax
push dword [ebp - 0x24]
push edi
push eax
push dword [ebx + 0x80]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x424eec
push edi
call fcn.0040be36
pop ecx
push eax
push edi
lea ecx, [ebx + 0x50]
call fcn.0040c84e
push edi
call fcn.0043ae75
pop ecx
xor eax, eax
lea ecx, [ebp - 0x54]
inc eax
mov edx, 0x4b9a9c
mov byte [ebp - 0xd], al
call fcn.0040dc7a
test al, al
je 0x425033
push str._html_
lea ecx, [ebp - 0x104]
call fcn.0040c4be
xor eax, eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
push ecx
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 7
push eax
lea edi, [ebx + 0x50]
push edi
push ecx
lea ecx, [ebp - 0x104]
call fcn.00423889
add esp, 0x10
test al, al
je 0x424fb0
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x424fb0
push str.__html_
call fcn.0040be36
pop ecx
push eax
push str.__html_
lea ecx, [ebp - 0x104]
call fcn.0040c84e
push ecx
lea eax, [ebp - 0x60]
push eax
push edi
push ecx
lea ecx, [ebp - 0x104]
call fcn.00423889
add esp, 0x10
test al, al
je 0x424fa2
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x424fb0
mov dword [ebx + 0xf8], 0xd
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.0040c30c
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0x104]
push eax
call fcn.0040c714
cmp byte [ebp - 0xd], 0
jne 0x425033
mov edx, dword [ebp - 0x8c]
jmp 0x4244d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebx + 0xf8], eax
call esi
push dword [ebp - 0x1c]
call esi
jmp 0x425064
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebx + 0xf8], eax
call esi
push dword [ebp - 0x1c]
call esi
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp - 0xec]
push eax
call fcn.0040c714
jmp 0x425064
xor al, al
jmp 0x425036
mov al, byte [ebp + 0xb]
xor ecx, ecx
movzx eax, al
cmp byte [ebp - 0xd], cl
push esi
cmovne ecx, eax
mov byte [ebp + 0xb], cl
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov bl, byte [ebp + 0xb]
jmp 0x425066
mov dword [ebx + 0xf8], 0x57
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
xor eax, eax
push 0
inc eax
push eax
call fcn.0040c714
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc