Function at 0x180058720
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov edi, dword [rbp + 0x228]
xor r11d, r11d
mov r15, rdx
mov r10, r8
mov rdx, rcx
mov r8d, 3
lea rcx, [0x180000000]
lea esi, [rdi + 0xd]
cmp edi, esi
jae 0x1800589e6
mov eax, dword [rbp + 0x228]
lea ebx, [rdi - 0xf]
mov r14, qword [rbp + 0x220]
lea r13d, [r8 + 0x69]
mov dword [rsp + 0x70], eax
movabs r12, 0x65006e0072
nop dword [rax + rax]
cmp ebx, 0x22
ja case.default.0x1800587c2
movzx eax, byte [rcx + rbx + 0x58fc8]
mov ecx, dword [rcx + rax*4 + 0x58f90]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov eax, dword [r10]
mov dword [r15 + 0x48], eax
mov eax, dword [rdx]
mov dword [r15 + 0x4c], eax
mov eax, dword [r14]
mov dword [r15 + 0x5c], eax
jmp case.0x1800587c2.13
mov eax, dword [rdx]
cmp eax, 3
mov edx, r8d
mov r8d, 1
cmovle edx, eax
mov eax, dword [r14]
test eax, eax
lea ecx, [rax + rax]
cmovle ecx, r11d
cmp eax, 2
mov eax, 3
cmovg r8d, eax
lea eax, [rdx + rcx]
mov rdx, qword [rbp + 0x200]
add r8d, eax
lea rcx, [0x180000000]
mov dword [rsp + 0x70], r8d
jmp 0x1800589d2
mov r8d, 2
lea rdx, [0x1800f439c]
lea rcx, [rbp - 0x20]
call fcn.1800ce274
mov r9, qword [rbp + 0x218]
xor r11d, r11d
mov rdx, qword [rbp + 0x200]
mov r10, qword [rbp + 0x210]
jmp case.0x1800587c2.13
mov dword [r15 + 0x6c], r11d
mov eax, dword [r9]
mov dword [r15 + 0x78], eax
jmp case.0x1800587c2.13
cmp dword [r15 + 0x4c], 0x190
je case.0x1800587c2.13
movsxd rax, dword [r15 + 0x2c]
mov rcx, qword [r15 + 8]
sub rcx, rax
call fcn.1800ce6a4
mov r9, qword [rbp + 0x218]
xor r11d, r11d
mov rdx, qword [rbp + 0x200]
mov r10, qword [rbp + 0x210]
jmp case.0x1800587c2.13
mov r8d, 5
lea rdx, [0x1800f43a9]
lea rcx, [rbp - 0x30]
call fcn.1800ce2d0
mov r9, qword [rbp + 0x218]
xor r11d, r11d
mov rdx, qword [rbp + 0x200]
mov r10, qword [rbp + 0x210]
mov word [rbp - 0x24], 0x6f
jmp case.0x1800587c2.13
lea rdx, [0x1800f43d5]
lea rcx, [rbp - 0x30]
call fcn.1800ce510
mov r9, qword [rbp + 0x218]
xor r11d, r11d
mov rdx, qword [rbp + 0x200]
mov r10, qword [rbp + 0x210]
jmp case.0x1800587c2.13
mov qword [rbp - 0x1c], r12
mov word [rbp - 0x16], r13w
jmp case.0x1800587c2.13
movsxd rax, dword [r15 + 0x28]
mov rcx, qword [r15]
sub rcx, rax
call fcn.1800ce6a4
mov r9, qword [rbp + 0x218]
xor r11d, r11d
mov rdx, qword [rbp + 0x200]
mov r10, qword [rbp + 0x210]
jmp case.0x1800587c2.13
mov eax, dword [r15]
test eax, eax
jne 0x180058f67
mov eax, dword [r9]
lea r8, [rbp - 0x70]
mov dword [rbp + 0x228], eax
mov r9d, 0x66
mov eax, dword [rdx]
mov rcx, r15
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x60]
mov eax, dword [r10]
mov dword [rbp - 0x60], eax
mov eax, dword [r14]
mov dword [rbp - 0x68], eax
lea rax, [rbp + 0x228]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
call fcn.180056a00
mov r9, qword [rbp + 0x218]
xor r11d, r11d
mov rdx, qword [rbp + 0x200]
mov r10, qword [rbp + 0x210]
jmp case.0x1800587c2.13
mov byte [rbp - 0x2d], 0
jmp case.0x1800587c2.13
mov dword [rbp - 0x2d], 0x74737953
mov byte [rbp - 0x29], 0
jmp case.0x1800587c2.13
mov dword [rbp - 0x1e], 0x65
lea rcx, [0x180000000]
mov r8d, dword [rsp + 0x70]
inc ebx
lea eax, [rbx + 0xf]
cmp eax, esi
jae 0x1800589f2
mov r8d, 3
jmp 0x1800587a0
mov r8d, dword [rbp + 0x228]
mov dword [rsp + 0x70], r8d
lea r14d, [rdi + 0xe]
mov dword [rbp - 0x60], r14d
cmp edi, r14d
jae 0x180058f61
mov r12, qword [rbp - 0x50]
lea ebx, [rdi - 0x1d]
mov dword [rbp + 0x228], ebx
movzx edi, byte [rbp + 0x228]
mov r13d, dword [rbp + 0x228]
mov esi, dword [rbp + 0x228]
cmp ebx, 0x13
ja case.0x180058a3e.8
mov ecx, dword [rcx + rbx*4 + 0x58fec]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov eax, dword [rdx]
mov ecx, dword [rbp - 0x70]
cmp eax, 3
jle 0x180058a53
lea ecx, [rcx + rax*4]
add ecx, 0xfffffff4
mov dword [rbp - 0x70], ecx
mov dword [r15 + 0x60], ecx
mov eax, dword [r9]
add eax, 3
and eax, 0xfffffffc
add eax, ecx
mov dword [r9], eax
jmp case.0x180058a3e.8
mov r8d, 0xa
mov word [rbp - 0x14], r11w
lea rdx, [rbp - 0x14]
lea ecx, [r8 - 7]
call fcn.1800ce8a8
mov eax, dword [0x1800f2d8c]
mov dil, 1
mov r8d, dword [rsp + 0x70]
xor r11d, r11d
mov dword [rbp - 0x12], eax
movabs rax, 0x6c006c0064
mov qword [rbp - 0xe], rax
jmp case.0x180058a3e.8
mov ecx, dword [rbp - 0x70]
mov dword [r15 + 0x68], ecx
jmp case.0x180058a3e.8
mov eax, dword [rbp + 0x70]
mov dword [r15 + 0x28], eax
jmp case.0x180058a3e.8
lea eax, [r8 + 1]
mov ecx, 0x9c
mov r8, r15
mov dword [rbp + 0x228], eax
lea rdx, [rbp + 0x228]
call fcn.18006abf0
mov r12, rax
test rax, rax
je 0x180058ea3
mov r8d, dword [rsp + 0x70]
inc r12
mov byte [rax], r8b
add dword [r15 + 0x54], r8d
xor r11d, r11d
jmp 0x180058e6a
mov ecx, dword [r15 + 0x28]
mov eax, 0x30
add rcx, rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800c7b70
mov qword [r15 + 0x10], rax
test dil, dil
je 0x180058c3c
mov r15, qword [rbp + 8]
mov r14d, 0x14
xor r12d, r12d
nop
cmp r14d, 0x14
je 0x180058c02
cmp r14d, 0xc08
je 0x180058bee
cmp r14d, 0x17fc
je 0x180058bdd
cmp r14d, 0x23f0
jne 0x180058c13
test dil, dil
je 0x180058c13
mov ebx, 0x6e
xor r15d, r15d
nop
mov eax, ebx
sub eax, 0x6e
je 0x180058bab
cmp eax, 0x55
jne 0x180058bc9
test esi, esi
movzx eax, dil
mov ecx, r15d
cmove ecx, eax
movzx edi, cl
test cl, cl
je 0x180058bc9
mov rcx, qword [rbp]
call qword [sym.imp.WINMM.dll_mixerClose]
jmp 0x180058bc9
mov edx, dword [rbp - 0x68]
lea rcx, [rbp]
xor r9d, r9d
mov qword [rbp], r15
xor r8d, r8d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WINMM.dll_mixerOpen]
mov esi, eax
add ebx, 0x55
cmp ebx, 0x118
jb 0x180058b80
mov r15, qword [rbp + 8]
xor r12d, r12d
jmp 0x180058c13
movzx eax, dil
test esi, esi
mov ecx, r12d
cmove ecx, eax
movzx edi, cl
jmp 0x180058c13
mov r8d, r13d
lea rdx, [rbp - 0x68]
mov rcx, r15
call qword [sym.imp.WINMM.dll_mixerGetID]
mov esi, eax
jmp 0x180058c13
mov r15, r12
mov qword [rbp + 8], r12
mov dword [rbp - 0x68], r12d
mov r13d, 0x80000000
add r14d, 0xbf4
cmp r14d, 0x2fd0
jbe 0x180058b40
mov r15, qword [rbp + 0x208]
mov r12, qword [rbp - 0x50]
mov ebx, dword [rbp + 0x228]
mov r14d, dword [rbp - 0x60]
mov r8d, dword [rbp - 0x40]
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x10]
call sub.IMM32.dll_ImmGetDescriptionA
mov r8d, dword [rsp + 0x70]
xor r11d, r11d
jmp case.0x180058a3e.8
mov eax, dword [r9]
mov dword [r15 + 0x50], eax
mov eax, dword [r9]
cmp eax, 0x400
jle 0x180058d01
lea r9, [rbp - 0x58]
mov dword [rbp - 0x58], eax
lea r8, [rbp + 0x228]
mov byte [rbp + 0x228], 0xb8
mov edx, 0x2c
mov qword [rsp + 0x20], r15
lea rcx, [rbp + 0x30]
call fcn.180049ab0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movd eax, xmm1
movups xmmword [rbp + 0x40], xmm0
test eax, eax
jne 0x180058ea3
lea rax, [0x180095650]
mov dword [rbp + 0x228], 0x200
mov dword [rbp - 0x48], eax
lea r8, [rbp - 0x58]
lea rax, [rbp + 0x228]
mov dword [rbp - 0x58], 0x19
mov r9, r15
mov qword [rsp + 0x20], rax
mov edx, 0x127
lea rcx, [rbp - 0x48]
call fcn.18000b270
test eax, eax
jne 0x180058ea3
mov r8d, dword [rsp + 0x70]
mov r9, qword [rbp + 0x218]
cmp dword [r9], 0
jle 0x180058f7b
xor r11d, r11d
jmp case.0x180058a3e.8
lea rcx, [rbp + 0x50]
call qword [rbp + 0x18]
mov r8d, dword [rsp + 0x70]
xor r11d, r11d
cmp dword [rbp - 0x38], r11d
mov ecx, r11d
movzx eax, dil
cmovne ecx, eax
mov dword [rbp - 0x40], 0x104
movzx edi, cl
jmp case.0x180058a3e.8
mov byte [r12], 0x55
inc r12
cmp dword [rdx], 2
mov qword [rbp - 0x50], r12
jle case.0x180058a3e.8
mov byte [r12], 0x57
inc r12
jmp 0x180058e6a
mov dword [r15 + 0x64], 8
mov eax, dword [r10]
mov dword [rbp - 0x70], 8
cmp eax, 3
jle case.0x180058a3e.8
lea eax, [rax*4 - 4]
mov dword [rbp - 0x70], eax
jmp case.0x180058a3e.8
lea rax, [rbp - 0x30]
mov qword [rbp + 0x10], r11
mov r9d, 0x75
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x20]
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.1800bc6a0
cmp qword [r15 + 0x20], 0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movq qword [rbp + 0x18], xmm1
movups xmmword [rbp + 0x40], xmm0
jne case.0x180058a3e.19
call qword [sym.imp.WINMM.dll_mixerGetNumDevs]
xor r9d, r9d
mov dword [rsp + 0x20], 0xca
mov r8, r15
mov dword [rbp - 0x38], eax
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.18001f370
cmp byte [rax], 0
je 0x180058eab
mov r8d, dword [rsp + 0x70]
xor r11d, r11d
jmp case.0x180058a3e.8
mov eax, dword [rdx]
cmp eax, 1
jle 0x180058e15
mov byte [r12], 0x56
inc r12
mov eax, dword [rdx]
mov qword [rbp - 0x50], r12
test eax, eax
jle 0x180058e25
mov byte [r12], 0x53
inc r12
mov qword [rbp - 0x50], r12
mov rcx, qword [rbp + 0x220]
mov eax, dword [rcx]
test eax, eax
jle 0x180058e43
mov word [r12], 0xd98b
add r12, 2
mov eax, dword [rcx]
mov qword [rbp - 0x50], r12
cmp eax, 1
jle 0x180058e59
mov word [r12], 0xf28b
add r12, 2
mov eax, dword [rcx]
mov qword [rbp - 0x50], r12
cmp eax, 2
jle case.0x180058a3e.8
mov dword [r12], 0x14247c8b
add r12, 4
mov qword [rbp - 0x50], r12
inc ebx
mov dword [rbp + 0x228], ebx
lea eax, [rbx + 0x1d]
cmp eax, r14d
jae 0x180058f61
mov r9, qword [rbp + 0x218]
lea rcx, [0x180000000]
mov rdx, qword [rbp + 0x200]
mov r10, qword [rbp + 0x210]
jmp 0x180058a24
mov eax, dword [r15]
jmp 0x180058f67
mov byte [rbp + 0x228], 0
jmp 0x180058f61
mov eax, dword [r9]
lea r8, [rbp - 0x68]
mov dword [rbp - 0x48], eax
lea r9, [rbp - 0x60]
lea rax, [rbp + 0x228]
mov dword [rbp - 0x38], 0x200
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x20]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x58], r11d
mov qword [rsp + 0x58], rax
mov rdx, r15
mov dword [rsp + 0x50], 0xe9
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x60], 0xb
mov dword [rbp - 0x68], r11d
mov dword [rbp - 0x40], 0xb
mov byte [rbp + 0x228], 0x2d
mov byte [rbp - 0x80], 0x28
mov byte [rbp - 0x78], 0x29
mov byte [rsp + 0x78], 0x2b
call fcn.180062040
mov eax, dword [rax]
jmp 0x180058f67
mov byte [rbp + 0x228], 1
mov eax, dword [rbp + 0x228]
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
lea rcx, str.iaddChainBuildingCertRaw
call fcn.1800c5fc0
call fcn.1800ce940
int3