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

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 0x4b5cd9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x4e706c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa0], edi
mov eax, dword [ebx + 8]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], cx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4617c1
lea edx, [ebp - 0x30]
cmp edx, eax
je 0x4617e3
jmp 0x4617ce
lea eax, [edi + 8]
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x4617e3
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4617d6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00407990
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
push 3
cmovae ecx, dword [ebp - 0x30]
mov edx, esi
push 0x4d4724
push 0
call fcn.0043c9c0
add esp, 0xc
mov dword [ebp - 0xa4], eax
cmp eax, 0xffffffff
je 0x4621de
add eax, 3
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov edx, esi
push 1
cmovae ecx, dword [ebp - 0x30]
push 0x4c948c
push eax
call fcn.0043c9c0
add esp, 0xc
mov dword [ebp - 0x84], eax
cmp eax, 0xffffffff
je 0x4621de
mov edx, dword [ebp - 0xa4]
xor ecx, ecx
add edx, 3
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], cx
cmp esi, edx
jb 0x46237a
mov ecx, eax
sub esi, edx
sub ecx, edx
lea eax, [ebp - 0x30]
cmp esi, ecx
cmovb ecx, esi
cmp dword [ebp - 0x1c], 8
push ecx
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x9c]
lea eax, [eax + edx*2]
push eax
call fcn.00407990
lea ecx, [ebp - 0x60]
call fcn.00404d30
movups xmm0, xmmword [ebp - 0x9c]
mov edx, dword [ebp - 0x84]
xor eax, eax
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0x20]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [ebp - 0x8c]
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
cmp eax, edx
jb 0x46237f
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x9c]
lea eax, [eax + edx*2]
push eax
call fcn.00407990
lea ecx, [ebp - 0x48]
call fcn.00404d30
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x8c]
movq qword [ebp - 0x38], xmm0
call fcn.0045f5d0
mov esi, eax
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x462281
push dword [edi + 0xc0]
push dword [edi + 0xbc]
push dword [edi + 0xb8]
push dword [edi + 0xb4]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x461a27
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46197e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1d5
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.0040f7a0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00418700
push eax
call fcn.0040fb10
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x461a27
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461a1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462384
push edx
push ecx
call fcn.0046f0d0
add esp, 8
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
push 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x6c], edi
mov byte [ebp - 4], 6
test edi, edi
jne 0x461b1e
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x461a69
mov eax, dword [eax]
push edi
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1db
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_on_WinHttpConnect:
mov ecx, eax
call fcn.0040f7a0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00418700
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x461b0e
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461b04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462389
push edx
push ecx
call fcn.0046f0d0
add esp, 8
push esi
mov byte [ebp - 0x7d], 0
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x462285
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0x800000
cmovae eax, dword [ebp - 0x48]
push 0
push 0
push 0
push eax
push 0x4d443c
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 8
test esi, esi
jne 0x461c22
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x461b6c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1e1
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.0040f7a0
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.00418700
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x4621a3
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461c13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46238e
push edx
push ecx
call fcn.0046f0d0
add esp, 8
jmp 0x4621a3
mov eax, dword [ebp - 0xa0]
xorps xmm0, xmm0
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], 0
cmp byte [eax + 5], 0
je 0x461f3a
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x461c5b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1ec
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Configuring_proxy_on_this_connection
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov byte [ebp - 4], 8
add esp, 4
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x461ce8
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461cde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462393
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x7c], 3
mov eax, dword [eax + 0x48]
lea eax, [eax*2 + 4]
push eax
mov dword [ebp - 0xa4], eax
call fcn.0048a502
add esp, 4
mov dword [ebp - 0x78], eax
push dword [ebp - 0xa4]
push 0
push eax
call fcn.00487250
mov eax, dword [ebp - 0xa0]
add esp, 0xc
add eax, 0x38
cmp dword [eax + 0x14], 8
jb 0x461d33
mov eax, dword [eax]
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0x78]
call fcn.0048f4d6
add esp, 0xc
lea eax, [ebp - 0x7c]
push 0xc
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x461e20
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x461d76
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1f5
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_on_WinHttpSetOption_PROXY_:
mov ecx, eax
call fcn.0040f7a0
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.00418700
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x46210e
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462398
push edx
push ecx
call fcn.0046f0d0
add esp, 8
jmp 0x46210e
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x90], 0
jne 0x461e3c
cmp dword [eax + 0xa8], 0
je 0x461f3a
cmp dword [eax + 0xac], 8
lea ecx, [eax + 0x98]
jb 0x461e4d
mov ecx, dword [ecx]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x461e58
mov eax, dword [eax]
push 0
push ecx
push eax
push 1
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x461f3a
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x461e89
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1ff
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_on_WinHttpSetCredentials:
mov ecx, eax
call fcn.0040f7a0
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.00418700
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x461f2a
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461f20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46239d
push edx
push ecx
call fcn.0046f0d0
add esp, 8
push dword [ebp - 0x78]
call fcn.0048a50d
add esp, 4
jmp 0x4621a3
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x461fd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x84], eax
call fcn.0045f3e0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x461f77
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x208
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.0040f7a0
push dword [ebp - 0x84]
mov ecx, eax
jmp 0x4620f5
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x46205a
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x461ff7
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x20f
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_on_WinHttpReceiveResponse:
mov ecx, eax
call fcn.0040f7a0
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
jmp 0x4620f4
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x64], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea ecx, [ebp - 0x9c]
test eax, eax
jne 0x462124
call fcn.0045f3e0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4620a2
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x219
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
mov ecx, eax
call fcn.0040f7a0
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.00418700
push eax
call fcn.0040fb10
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00404d30
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4621a3
push eax
call fcn.0048a50d
add esp, 4
jmp 0x4621a3
call fcn.0045f3e0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x462138
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x21e
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_HTTP_response_code:
mov ecx, eax
call fcn.0040f7a0
push dword [ebp - 0x18]
mov ecx, eax
call fcn.00418700
push eax
call fcn.0040fb10
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00404d30
cmp dword [ebp - 0x18], 0xc8
mov byte [ebp - 0x7d], 1
je 0x4621a7
mov byte [ebp - 0x7d], 0
test esi, esi
je 0x4621c6
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push edi
call esi
mov esi, dword [ebp - 0x68]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x462285
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov esi, dword [ebp - 0x68]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x462285
lea ecx, [ebp - 0x9c]
call fcn.0045f3e0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4621f8
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1c6
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_URL_invalid_format
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x462281
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462277
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4623a2
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov byte [ebp - 0x7d], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4622bf
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4622b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4623a7
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x46230d
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462303
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4623ac
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp edx, 8
jb 0x462357
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46234d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4623b1
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov al, byte [ebp - 0x7d]
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.0046ebaf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0040bb50
call fcn.0040bb50
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
int3