Function at 0x477e20
Capabilities:
Check http status code
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c30b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], edx
mov dword [ebp - 4], 0
mov byte [ebp - 0x141], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 1
mov dword [ecx], 0
lea ecx, [ebp - 0x164]
push eax
mov dword [ebp - 0x168], str.Content_Type
call fcn.00413440
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov edx, dword [ebp - 0x168]
mov ecx, edx
movups xmmword [ebp - 0x1a4], xmm0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x477ef0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1a4]
call fcn.0040d840
xorps xmm0, xmm0
movups xmmword [ebp - 0x18c], xmm0
movups xmm0, xmmword [ebp - 0x164]
mov byte [ebp - 0x164], 0
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0x17c], xmm0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x18]
call fcn.00478b90
lea ecx, [ebp - 0x1a4]
call fcn.004618f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
push str.MBSetup
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x70], 0
call fcn.0040df90
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.004680d0
mov byte [ebp - 4], 1
mov esi, eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x88], esi
cmp ecx, 7
jbe 0x477fed
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x477fe3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478af5
push ecx
push edx
call fcn.00490f7d
add esp, 8
test esi, esi
jne 0x477ffd
mov byte [ebp - 0x141], 0
jmp 0x4787cc
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4780d7
lea ecx, [ebp - 0x18c]
call fcn.00467cf0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x47803a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xb1
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.00411050
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.0041b590
push eax
call fcn.004113d0
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x178]
cmp ecx, 7
jbe 0x4780d7
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4780cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478afa
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x84]
call fcn.00467eb0
cmp dword [eax + 0x14], 7
jbe 0x4780ed
mov eax, dword [eax]
push 0
push 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x90], edi
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x70]
cmp ecx, 7
jbe 0x478142
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x478138
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478aff
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
lea ecx, [ebp - 0x18c]
mov word [ebp - 0x84], ax
test edi, edi
jne 0x478220
call fcn.00467cf0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
mov edi, dword [eax + 0x10]
jbe 0x47817b
mov eax, dword [eax]
push edi
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xb7
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_on_WinHttpConnect:
mov ecx, eax
call fcn.00411050
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.0041b590
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x178]
add esp, 4
cmp ecx, 7
jbe 0x478214
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47820a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b04
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov byte [ebp - 0x141], 0
jmp 0x4787c5
mov edx, dword [ebp - 0x16c]
call fcn.00467eb0
cmp dword [eax + 0x14], 7
jbe 0x478233
mov eax, dword [eax]
push 0x800000
push 0
push 0
push 0
push eax
push str.POST
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
cmp ecx, 7
jbe 0x478297
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47828d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b09
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor eax, eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 7
mov word [ebp - 0x18c], ax
test esi, esi
jne 0x478378
lea ecx, [ebp - 0x84]
call fcn.00467cf0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x4782d6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xbd
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.00411050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041b590
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x70]
add esp, 4
cmp ecx, 7
jbe 0x47836c
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x478362
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b0e
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov byte [ebp - 0x141], 0
jmp 0x4787b8
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x148], ecx
cmp eax, ecx
je 0x4784cd
nop
push eax
lea ecx, [ebp - 0x84]
call fcn.00413440
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x70]
mov eax, edx
mov ecx, dword [ebp - 0x74]
sub eax, ecx
cmp eax, 2
jb 0x4783d5
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x74], eax
mov edx, 0x203a
lea eax, [ebp - 0x84]
cmova eax, dword [ebp - 0x84]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
jmp 0x4783ef
push 2
push 0x4ec7a8
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x84]
push 2
call fcn.00413270
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x84]
add eax, 0x18
push eax
call fcn.004133d0
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x164]
call fcn.00467eb0
cmp dword [eax + 0x14], 7
jbe 0x47841a
mov eax, dword [eax]
push 0xa0000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x16c], eax
cmp ecx, 7
jbe 0x478475
mov edx, dword [ebp - 0x164]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x478465
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478af5
push ecx
push edx
call fcn.00490f7d
mov eax, dword [ebp - 0x16c]
add esp, 8
test eax, eax
je 0x4785dc
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x4784b8
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4784ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b18
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov eax, dword [ebp - 0x64]
add eax, 0x30
mov dword [ebp - 0x64], eax
cmp eax, dword [ebp - 0x148]
jne 0x478390
xor ecx, ecx
nop
mov eax, ecx
inc ecx
mov dword [ebp - 0x64], ecx
cmp eax, 5
jae 0x4787aa
mov edx, dword [ebp - 0x14c]
mov eax, edx
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x4784f2
mov eax, dword [edx]
push 0
push ecx
push ecx
push eax
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4786de
lea ecx, [ebp - 0x164]
call fcn.00467cf0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x478524
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xd6
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.00411050
mov dword [ebp - 0x148], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x148]
push eax
call fcn.0041b590
push eax
call fcn.004113d0
mov byte [ebp - 4], 8
add esp, 4
mov ecx, dword [ebp - 0x150]
cmp ecx, 7
jbe 0x4785c9
mov edx, dword [ebp - 0x164]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4785bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478af5
push ecx
push edx
call fcn.00490f7d
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x64]
jmp 0x4784d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x148], eax
call fcn.00467cf0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x478602
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xca
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4ec7a8
mov ecx, eax
call fcn.00411050
mov edx, str.Error_calling_WinHttpAddRequestHeaders:
mov ecx, eax
call fcn.00411050
push dword [ebp - 0x148]
mov ecx, eax
call fcn.0041b590
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x150]
add esp, 4
cmp ecx, 7
jbe 0x4786a4
mov edx, dword [ebp - 0x164]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47869a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b13
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x4787aa
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4787a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b18
jmp 0x4787a0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x4787f8
lea ecx, [ebp - 0x164]
call fcn.00467cf0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x478709
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xe5
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_on_WinHttpReceiveResponse:
mov ecx, eax
call fcn.00411050
mov dword [ebp - 0x14c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14c]
push eax
call fcn.0041b590
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x150]
add esp, 4
cmp ecx, 7
jbe 0x4787aa
mov edx, dword [ebp - 0x164]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4787a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b1d
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov byte [ebp - 0x141], 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, dword [ebp - 0x88]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebx + 0x18]
call fcn.0045e450
mov al, byte [ebp - 0x141]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00490c46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4788e4
lea ecx, [ebp - 0x164]
call fcn.00467cf0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x478840
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xee
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
mov ecx, eax
call fcn.00411050
mov dword [ebp - 0x14c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14c]
push eax
call fcn.0041b590
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x150]
add esp, 4
cmp ecx, 7
jbe 0x4787aa
mov edx, dword [ebp - 0x164]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4787a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b22
jmp 0x4787a0
mov ecx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x6c]
mov dword [ecx], eax
lea ecx, [ebp - 0x164]
call fcn.00467cf0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x478909
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonSimpleHttpPoster.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xf5
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Server_returned_a_status_code_of:
mov ecx, eax
call fcn.00411050
push dword [ebp - 0x6c]
mov ecx, eax
call fcn.0041b590
push eax
call fcn.004113d0
mov byte [ebp - 4], 8
add esp, 4
mov ecx, dword [ebp - 0x150]
cmp ecx, 7
jbe 0x4789a0
mov edx, dword [ebp - 0x164]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x478996
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b27
push ecx
push edx
call fcn.00490f7d
add esp, 8
cmp dword [ebp - 0x170], 0
je 0x478abd
push 0xb0
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.00493220
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.004689f0
push 0x41
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x10
push 0
push eax
call fcn.00493220
add esp, 0xc
mov dword [ebp - 0x64], 0
nop dword [eax]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x478ade
cmp dword [ebp - 0x68], 0
je 0x478a5a
push 0x41
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00493220
add esp, 0xc
mov dword [ebp - 0x68], 0x40
lea eax, [ebp - 0x64]
push eax
push 0x40
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x478ade
cmp dword [ebp - 0x64], 0
jbe 0x478a5a
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x130]
call fcn.004415e0
cmp dword [ebp - 0x64], 0
ja 0x4789f0
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x140]
call fcn.00468900
mov ecx, dword [ebp - 0x170]
push eax
call fcn.004659f0
mov ecx, dword [ebp - 0x150]
cmp ecx, 0xf
jbe 0x478ab2
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x478aa8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478b2c
push ecx
push edx
call fcn.00490f7d
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.00467de0
mov eax, dword [ebp - 0x6c]
cmp eax, 0xc8
je 0x478ad2
cmp eax, 0xc9
jne 0x4787b1
mov byte [ebp - 0x141], 1
jmp 0x4787b1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0x140]
call fcn.00467de0
jmp 0x4787aa
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
int3