Function at 0x460200
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 0x4b45f9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x4e506c]
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 0x460291
lea edx, [ebp - 0x30]
cmp edx, eax
je 0x4602b3
jmp 0x46029e
lea eax, [edi + 8]
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x4602b3
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4602a6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00407920
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 0x4d3564
push 0
call fcn.0043c590
add esp, 0xc
mov dword [ebp - 0xa4], eax
cmp eax, 0xffffffff
je 0x460cae
add eax, 3
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov edx, esi
push 1
cmovae ecx, dword [ebp - 0x30]
push 0x4c848c
push eax
call fcn.0043c590
add esp, 0xc
mov dword [ebp - 0x84], eax
cmp eax, 0xffffffff
je 0x460cae
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 0x460e4a
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.00407920
lea ecx, [ebp - 0x60]
call fcn.00404cc0
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 0x460e4f
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.00407920
lea ecx, [ebp - 0x48]
call fcn.00404cc0
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x8c]
movq qword [ebp - 0x38], xmm0
call fcn.0045e0a0
mov esi, eax
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x460d51
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 0x4604f7
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46044e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x1d5
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c832c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.0040f730
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.004186b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x4604f7
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4604ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e54
push edx
push ecx
call fcn.0046db96
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 0x4605ee
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x460539
mov eax, dword [eax]
push edi
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x1db
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c832c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpConnect:
mov ecx, eax
call fcn.0040f730
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x4605de
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4605d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e59
push edx
push ecx
call fcn.0046db96
add esp, 8
push esi
mov byte [ebp - 0x7d], 0
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x460d55
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 0x4d327c
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 0x4606f2
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46063c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x1e1
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c832c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.0040f730
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x460c73
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4606e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e5e
push edx
push ecx
call fcn.0046db96
add esp, 8
jmp 0x460c73
mov eax, dword [ebp - 0xa0]
xorps xmm0, xmm0
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], 0
cmp byte [eax + 5], 0
je 0x460a0a
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46072b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x1ec
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Configuring_proxy_on_this_connection
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov byte [ebp - 4], 8
add esp, 4
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x4607b8
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4607ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e63
push edx
push ecx
call fcn.0046db96
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.00488f92
add esp, 4
mov dword [ebp - 0x78], eax
push dword [ebp - 0xa4]
push 0
push eax
call fcn.00485ce0
mov eax, dword [ebp - 0xa0]
add esp, 0xc
add eax, 0x38
cmp dword [eax + 0x14], 8
jb 0x460803
mov eax, dword [eax]
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0x78]
call fcn.0048df66
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 0x4608f0
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460846
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x1f5
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_on_WinHttpSetOption_PROXY_:
mov ecx, eax
call fcn.0040f730
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x460bde
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4608e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e68
push edx
push ecx
call fcn.0046db96
add esp, 8
jmp 0x460bde
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x90], 0
jne 0x46090c
cmp dword [eax + 0xa8], 0
je 0x460a0a
cmp dword [eax + 0xac], 8
lea ecx, [eax + 0x98]
jb 0x46091d
mov ecx, dword [ecx]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x460928
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 0x460a0a
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460959
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x1ff
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_on_WinHttpSetCredentials:
mov ecx, eax
call fcn.0040f730
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x4609fa
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4609f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e6d
push edx
push ecx
call fcn.0046db96
add esp, 8
push dword [ebp - 0x78]
call fcn.00488f9d
add esp, 4
jmp 0x460c73
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 0x460aa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x84], eax
call fcn.0045deb0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460a47
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x208
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c832c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.0040f730
push dword [ebp - 0x84]
mov ecx, eax
jmp 0x460bc5
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x460b2a
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460ac7
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x20f
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c832c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpReceiveResponse:
mov ecx, eax
call fcn.0040f730
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
jmp 0x460bc4
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 0x460bf4
call fcn.0045deb0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460b72
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x219
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
mov ecx, eax
call fcn.0040f730
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x84]
push eax
call fcn.004186b0
push eax
call fcn.0040faa0
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00404cc0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x460c73
push eax
call fcn.00488f9d
add esp, 4
jmp 0x460c73
call fcn.0045deb0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460c08
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x21e
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_HTTP_response_code:
mov ecx, eax
call fcn.0040f730
push dword [ebp - 0x18]
mov ecx, eax
call fcn.004186b0
push eax
call fcn.0040faa0
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00404cc0
cmp dword [ebp - 0x18], 0xc8
mov byte [ebp - 0x7d], 1
je 0x460c77
mov byte [ebp - 0x7d], 0
test esi, esi
je 0x460c96
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 0x460d55
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 0x460d55
lea ecx, [ebp - 0x9c]
call fcn.0045deb0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460cc8
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x1c6
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_URL_invalid_format
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x88]
add esp, 4
cmp edx, 8
jb 0x460d51
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460d47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e72
push edx
push ecx
call fcn.0046db96
add esp, 8
mov byte [ebp - 0x7d], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x460d8f
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460d85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e77
push edx
push ecx
call fcn.0046db96
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 0x460ddd
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460dd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e7c
push edx
push ecx
call fcn.0046db96
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 0x460e27
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460e1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460e81
push edx
push ecx
call fcn.0046db96
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.0046d675
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0040bae0
call fcn.0040bae0
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
int3