Function at 0x180020410
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 rdi
sub rsp, 0xe10
mov rax, qword [0x18012a020]
xor rax, rsp
mov qword [rsp + 0xe00], rax
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x218], 0xdbba0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x37c3a8
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x220], rax
lea rdx, [rsp + 0xa4]
lea rcx, [rsp + 0x40]
call fcn.180022130
mov rcx, rax
call fcn.180026c10
mov byte [rsp + 0x41], al
movzx edx, byte [rsp + 0x41]
mov rcx, qword [rsp + 0x220]
call fcn.18000d2e0
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x280428
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x228], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x42]
call fcn.180022210
mov rcx, rax
call fcn.180026be0
mov byte [rsp + 0x43], al
movzx edx, byte [rsp + 0x43]
mov rcx, qword [rsp + 0x228]
call fcn.18000d2e0
mov qword [rsp + 0x210], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x210]
call fcn.1800081c0
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x408]
lea rcx, [rsp + 0x44]
call fcn.1800222f0
mov rcx, rax
call fcn.180026bc0
mov rdx, rax
mov rcx, qword [rsp + 0x238]
call fcn.180008640
mov qword [rsp + 0x240], rax
mov rcx, qword [rsp + 0x240]
call fcn.18001c550
mov rcx, qword [rsp + 0xe20]
mov qword [rcx], rax
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x12cf76
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x248], rax
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x45]
call fcn.1800223d0
mov rcx, rax
call fcn.180026b90
mov byte [rsp + 0x46], al
movzx edx, byte [rsp + 0x46]
mov rcx, qword [rsp + 0x248]
call fcn.18000d2e0
mov qword [rsp + 0x250], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x250]
call fcn.1800081c0
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0xe20]
add rax, 0x68
mov rcx, rax
call fcn.180027470
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [rsp + 0x258]
mov rcx, qword [rsp + 0xe20]
mov qword [rcx + 0x50], rax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0xc4], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0xc4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xcc], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0xc8], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0xc8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xcc]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180020952
mov rax, qword [rsp + 0xe20]
cmp qword [rax + 0x50], 0
jne 0x1800206ea
mov qword [rsp + 0x1f0], 1
jmp 0x1800206f6
mov qword [rsp + 0x1f0], 0
cvtsi2sd xmm0, qword [rsp + 0x1f0]
call fcn.18001c340
mov dword [rsp + 0xdc], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0xd0], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0xd0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xd8], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0xd4], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0xd4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xd8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xdc]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180020952
xor eax, eax
cmp eax, 1
je 0x180020952
lea rax, [rsp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x56d40
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x260], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x47]
call fcn.1800224b0
mov rcx, rax
call fcn.180026b60
mov byte [rsp + 0x48], al
movzx edx, byte [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.18000d2e0
mov dword [rsp + 0x80], 0
jmp 0x180020818
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0xe0], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0xe0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xe8], eax
call fcn.180003490
movsx eax, al
mov dword [rsp + 0xe4], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0xe4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xe8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x80], eax
jge 0x1800208f8
mov dword [rsp + 0x84], 0
jmp 0x1800208bd
cmp dword [rsp + 0x84], 0x3c
jae 0x1800208f3
mov byte [rsp + 0x49], 0
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
movzx eax, byte [rsp + 0x49]
jmp 0x180022115
jmp 0x180020808
lea rax, [rsp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x19ed24
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x268], rax
lea rdx, [rsp + 0xb4]
lea rcx, [rsp + 0x4a]
call fcn.180022590
mov rcx, rax
call fcn.180026b30
mov byte [rsp + 0x4b], al
movzx edx, byte [rsp + 0x4b]
mov rcx, qword [rsp + 0x268]
call fcn.18000d2e0
lea rax, [rsp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x26f50f4
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x4c]
call fcn.180022670
mov rcx, rax
call fcn.180026b00
mov byte [rsp + 0x4d], al
movzx edx, byte [rsp + 0x4d]
mov rcx, qword [rsp + 0x270]
call fcn.18000d2e0
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x278], rax
lea rax, [rsp + 0x4e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x4e]
call fcn.180022750
mov rcx, rax
call fcn.180026ae0
mov rdx, rax
mov rcx, qword [rsp + 0x278]
call fcn.180008640
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x230]
call fcn.18001c550
mov rcx, qword [rsp + 0xe20]
mov qword [rcx + 0x20], rax
mov edx, 0x32
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x288], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x288]
call fcn.1800081c0
lea rax, [rsp + 0x4f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x21686ac
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x290], rax
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x4f]
call fcn.180022830
mov rcx, rax
call fcn.180026ab0
mov byte [rsp + 0x50], al
movzx edx, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x290]
call fcn.18000d2e0
mov edx, 0x2fa
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x298], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x298]
call fcn.1800081c0
lea rax, [rsp + 0x510]
mov qword [rsp + 0x2a0], rax
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x51]
call fcn.180022910
mov rcx, rax
call fcn.180026a90
mov rdx, rax
mov rcx, qword [rsp + 0x2a0]
call fcn.180008640
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x2a8]
call fcn.18001c550
mov rcx, qword [rsp + 0xe20]
mov qword [rcx + 0x48], rax
mov edx, 0xef
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x2b0], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x2b0]
call fcn.1800081c0
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x2b8], rax
mov dword [rsp + 0x20], 0xdbba0
mov r9d, 0xdbba0
mov r8d, 0xdbba0
xor edx, edx
mov rax, qword [rsp + 0xe20]
mov rcx, qword [rax + 0x50]
call qword [rsp + 0x2b8]
mov edx, 0x339
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x2c0], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x2c0]
call fcn.1800081c0
mov edx, 0x1a4
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x2c8], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x2c8]
call fcn.1800081c0
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0xec], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0xec]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xf4], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0xf0], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0xf0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xf4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180020f90
lea rax, [rsp + 0x530]
mov qword [rsp + 0x2d0], rax
mov rdx, qword [rsp + 0xe28]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800087e0
mov qword [rsp + 0x2d8], rax
mov r8, qword [rsp + 0x2d8]
lea rdx, [rsp + 0x418]
mov rcx, qword [rsp + 0xe20]
call fcn.180024310
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
mov eax, dword [rsp + 0x60]
or eax, 1
mov dword [rsp + 0x60], eax
mov r8d, dword [rsp + 0xe40]
mov rdx, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0xe20]
call fcn.18001fc50
movzx eax, al
test eax, eax
jne 0x180020d19
mov qword [rsp + 0x1f8], 1
jmp 0x180020d25
mov qword [rsp + 0x1f8], 0
cvtsi2sd xmm0, qword [rsp + 0x1f8]
call fcn.18001c340
mov dword [rsp + 0x104], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0xf8], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0xf8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x100], eax
call fcn.180003490
movsx eax, al
shl eax, 1
mov dword [rsp + 0xfc], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0xfc]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x100]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x104]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180020dd4
xor eax, eax
cmp eax, 3
je 0x180020dd4
mov dword [rsp + 0xa0], 1
jmp 0x180020ddf
mov dword [rsp + 0xa0], 0
movzx eax, byte [rsp + 0xa0]
mov byte [rsp + 0x52], al
mov eax, dword [rsp + 0x60]
and eax, 1
test eax, eax
je 0x180020e08
and dword [rsp + 0x60], 0xfffffffe
lea rcx, [rsp + 0x418]
call fcn.1800274c0
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x180020f90
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x1802e6c
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x2f0], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x53]
call fcn.1800229f0
mov rcx, rax
call fcn.180026a60
mov byte [rsp + 0x54], al
movzx edx, byte [rsp + 0x54]
mov rcx, qword [rsp + 0x2f0]
call fcn.18000d2e0
mov edx, 0x17
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x2f8], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x2f8]
call fcn.1800081c0
mov dword [rsp + 0x7c], 0
jmp 0x180020eb0
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x108], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x108]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x110], eax
call fcn.180003490
movsx eax, al
shl eax, 3
mov dword [rsp + 0x10c], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x10c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x110]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x7c], eax
jge 0x180020f90
mov dword [rsp + 0x8c], 0
jmp 0x180020f55
cmp dword [rsp + 0x8c], 0x4d
jae 0x180020f8b
mov byte [rsp + 0x55], 0
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
movzx eax, byte [rsp + 0x55]
jmp 0x180022115
jmp 0x180020ea6
mov edx, 0x34b
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x300], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x300]
call fcn.1800081c0
mov rcx, qword [rsp + 0xe38]
call fcn.180027110
mov dword [rsp + 0x9c], eax
mov edx, 0x1b6
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x308], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x308]
call fcn.1800081c0
lea rax, [rsp + 0x550]
mov qword [rsp + 0x310], rax
lea rax, [rsp + 0x56]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x488]
lea rcx, [rsp + 0x56]
call fcn.180022ad0
mov rcx, rax
call fcn.180026a40
mov rdx, rax
mov rcx, qword [rsp + 0x310]
call fcn.180008640
mov qword [rsp + 0x318], rax
mov rcx, qword [rsp + 0x318]
call fcn.18001c550
mov rcx, qword [rsp + 0xe20]
mov qword [rcx + 0x18], rax
mov edx, 0x38a
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x320], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x320]
call fcn.1800081c0
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x360], rax
lea rax, [rsp + 0x570]
mov qword [rsp + 0x328], rax
mov rdx, qword [rsp + 0xe30]
mov rcx, qword [rsp + 0x328]
call fcn.1800087e0
mov qword [rsp + 0x330], rax
mov r8, qword [rsp + 0x330]
lea rdx, [rsp + 0x438]
mov rcx, qword [rsp + 0xe20]
call fcn.180024310
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x340], rax
mov rcx, qword [rsp + 0x340]
call fcn.180027470
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0xe20]
add rax, 0xa8
mov rcx, rax
call fcn.180027470
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x358], rax
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x348]
mov rdx, qword [rsp + 0x350]
mov rcx, qword [rsp + 0x358]
call qword [rsp + 0x360]
mov rcx, qword [rsp + 0xe20]
mov qword [rcx + 0x60], rax
lea rcx, [rsp + 0x438]
call fcn.1800274c0
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x114], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x114]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x11c], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x118], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x118]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x11c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x1800213fb
mov rax, qword [rsp + 0xe20]
cmp qword [rax + 0x60], 0
jne 0x180021244
mov qword [rsp + 0x200], 1
jmp 0x180021250
mov qword [rsp + 0x200], 0
cvtsi2sd xmm0, qword [rsp + 0x200]
call fcn.18001c340
mov dword [rsp + 0x12c], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0x120], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x120]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x128], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x124], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x124]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x128]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x12c]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x1800213fb
xor eax, eax
cmp eax, 1
je 0x1800213fb
mov dword [rsp + 0x90], 0
jmp 0x180021318
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x130], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x130]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x138], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x134], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x134]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x138]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x90], eax
jge 0x1800213fb
mov dword [rsp + 0x94], 0
jmp 0x1800213c0
cmp dword [rsp + 0x94], 0x4c
jae 0x1800213f6
mov byte [rsp + 0x57], 0
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
movzx eax, byte [rsp + 0x57]
jmp 0x180022115
jmp 0x180021308
mov edx, 0x234
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x368], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x368]
call fcn.1800081c0
mov edx, 0xd4
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x370], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x370]
call fcn.1800081c0
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x378], rax
mov dword [rsp + 0x20], 0xdbba0
mov r9d, 0xdbba0
mov r8d, 0xdbba0
xor edx, edx
mov rax, qword [rsp + 0xe20]
mov rcx, qword [rax + 0x60]
call qword [rsp + 0x378]
mov edx, 0x31e
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x380], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x380]
call fcn.1800081c0
mov edx, 0x189
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x388], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x388]
call fcn.1800081c0
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x13c], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x13c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x144], eax
call fcn.180003490
movsx eax, al
shl eax, 2
mov dword [rsp + 0x140], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x140]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x144]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x1800217f1
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x3a8], rax
mov rcx, qword [rsp + 0xe38]
call fcn.180027180
mov qword [rsp + 0x390], rax
mov rax, qword [rsp + 0xe20]
add rax, 0x88
mov rcx, rax
call fcn.18000a590
mov dword [rsp + 0x148], eax
mov rax, qword [rsp + 0xe20]
add rax, 0x88
mov rcx, rax
call fcn.180027470
mov qword [rsp + 0x398], rax
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x3a0], rax
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x390]
mov r8d, dword [rsp + 0x148]
mov rdx, qword [rsp + 0x398]
mov rcx, qword [rsp + 0x3a0]
call qword [rsp + 0x3a8]
test eax, eax
jne 0x18002163a
mov qword [rsp + 0x208], 1
jmp 0x180021646
mov qword [rsp + 0x208], 0
cvtsi2sd xmm0, qword [rsp + 0x208]
call fcn.18001c340
mov dword [rsp + 0x158], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0x14c], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x14c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x154], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x150], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x150]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x154]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x158]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x1800217f1
xor eax, eax
cmp eax, 4
je 0x1800217f1
mov dword [rsp + 0x98], 0
jmp 0x18002170e
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x98], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x15c], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x15c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x164], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x160], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x160]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x164]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x98], eax
jge 0x1800217f1
mov dword [rsp + 0x88], 0
jmp 0x1800217b6
cmp dword [rsp + 0x88], 0x2d
jae 0x1800217ec
mov byte [rsp + 0x58], 0
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
movzx eax, byte [rsp + 0x58]
jmp 0x180022115
jmp 0x1800216fe
lea rax, [rsp + 0x5e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x820
rep stosb byte [rdi], al
mov dword [rsp + 0x5d0], 0x104
mov edx, 0x68
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x3b0], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x3b0]
call fcn.1800081c0
lea rax, [rsp + 0x590]
mov qword [rsp + 0x3b8], rax
lea rax, [rsp + 0x59]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x4b8]
lea rcx, [rsp + 0x59]
call fcn.180022bb0
mov rcx, rax
call fcn.180026a20
mov rdx, rax
mov rcx, qword [rsp + 0x3b8]
call fcn.180008640
mov qword [rsp + 0x3c0], rax
mov rcx, qword [rsp + 0x3c0]
call fcn.18001c550
mov rcx, qword [rsp + 0xe20]
mov qword [rcx + 0x28], rax
mov edx, 0x207
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x3c8], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x3c8]
call fcn.1800081c0
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x168], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x168]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x170], eax
call fcn.180003490
movsx eax, al
shl eax, 3
mov dword [rsp + 0x16c], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x16c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x170]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180021b2e
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x3d0], rax
xor edx, edx
mov rax, qword [rsp + 0xe20]
mov rcx, qword [rax + 0x60]
call qword [rsp + 0x3d0]
test eax, eax
jne 0x18002198f
mov qword [rsp + 0x1e0], 1
jmp 0x18002199b
mov qword [rsp + 0x1e0], 0
cvtsi2sd xmm0, qword [rsp + 0x1e0]
call fcn.18001c340
mov dword [rsp + 0x180], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0x174], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x174]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x17c], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x178], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x178]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x17c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x180]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180021b2e
xor eax, eax
cmp eax, 8
je 0x180021b2e
mov dword [rsp + 0x64], 0
jmp 0x180021a5a
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x184], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x184]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x18c], eax
call fcn.180003490
movsx eax, al
shl eax, 2
mov dword [rsp + 0x188], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x188]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x18c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x64], eax
jge 0x180021b2e
mov dword [rsp + 0x68], 0
jmp 0x180021af6
cmp dword [rsp + 0x68], 0x4f
jae 0x180021b29
mov byte [rsp + 0x5a], 0
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
movzx eax, byte [rsp + 0x5a]
jmp 0x180022115
jmp 0x180021a50
lea rax, [rsp + 0x5b0]
mov qword [rsp + 0x3d8], rax
lea rax, [rsp + 0x5b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x4a0]
lea rcx, [rsp + 0x5b]
call fcn.180022c90
mov rcx, rax
call fcn.180026a00
mov rdx, rax
mov rcx, qword [rsp + 0x3d8]
call fcn.180008640
mov qword [rsp + 0x3e0], rax
mov rcx, qword [rsp + 0x3e0]
call fcn.18001c550
mov rcx, qword [rsp + 0xe20]
mov qword [rcx + 0x30], rax
mov edx, 0x3b
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x3e8], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x3e8]
call fcn.1800081c0
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x190], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x190]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x198], eax
call fcn.180003490
movsx eax, al
mov dword [rsp + 0x194], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x194]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x198]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180021d52
mov rax, qword [rsp + 0xe20]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x5d0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5e0]
xor r8d, r8d
mov edx, 0x13
mov rax, qword [rsp + 0xe20]
mov rcx, qword [rax + 0x60]
call qword [rsp + 0x3f0]
cdqe
cvtsi2sd xmm0, rax
call fcn.18001c340
mov dword [rsp + 0x1a8], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0x19c], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x19c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1a4], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x1a0], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x1a0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x1a4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x1a8]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180021d52
xor eax, eax
cmp eax, 7
je 0x180021d52
mov r8d, 0xa
xor edx, edx
lea rcx, [rsp + 0x5e0]
call fcn.1800ea968
mov rcx, qword [rsp + 0xe20]
mov dword [rcx + 0xc8], eax
mov edx, 0x1da
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x3f8], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x3f8]
call fcn.1800081c0
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x1ac], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x1ac]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1b4], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x1b0], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x1b0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x1b4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180021feb
mov rax, qword [rsp + 0xe20]
cmp dword [rax + 0xc8], 0xc8
je 0x180021e1f
mov qword [rsp + 0x1e8], 1
jmp 0x180021e2b
mov qword [rsp + 0x1e8], 0
cvtsi2sd xmm0, qword [rsp + 0x1e8]
call fcn.18001c340
mov dword [rsp + 0x1c4], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0x1b8], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x1b8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1c0], eax
call fcn.180003490
movsx eax, al
shl eax, 3
mov dword [rsp + 0x1bc], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x1bc]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x1c0]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x1c4]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180021feb
xor eax, eax
cmp eax, 3
je 0x180021feb
mov edx, 0x3ae
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x400], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x400]
call fcn.1800081c0
mov dword [rsp + 0x6c], 0
jmp 0x180021f17
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x1c8], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x1c8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1d0], eax
call fcn.180003490
movsx eax, al
shl eax, 2
mov dword [rsp + 0x1cc], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x1cc]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x1d0]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x6c], eax
jge 0x180021feb
mov dword [rsp + 0x70], 0
jmp 0x180021fb3
cmp dword [rsp + 0x70], 0x45
jae 0x180021fe6
mov byte [rsp + 0x5c], 0
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
movzx eax, byte [rsp + 0x5c]
jmp 0x180022115
jmp 0x180021f0d
mov edx, 0x303
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0x280], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0x280]
call fcn.1800081c0
mov dword [rsp + 0x74], 0
jmp 0x18002202c
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x1d4], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x1d4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1dc], eax
call fcn.180003490
movsx eax, al
mov dword [rsp + 0x1d8], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x1d8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x1dc]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x74], eax
jge 0x1800220fa
mov dword [rsp + 0x78], 0
jmp 0x1800220c5
cmp dword [rsp + 0x78], 0x3c
jae 0x1800220f5
mov byte [rsp + 0x5d], 1
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
movzx eax, byte [rsp + 0x5d]
jmp 0x180022115
jmp 0x180022022
mov rcx, qword [rsp + 0xe28]
call fcn.1800084f0
nop
mov rcx, qword [rsp + 0xe30]
call fcn.1800084f0
mov rcx, qword [rsp + 0xe00]
xor rcx, rsp
call fcn.1800e1c00
add rsp, 0xe10
pop rdi
ret