Function at 0x1400d4e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1a0
mov dword [rsp + 0x168], 0xa8
mov rax, qword [0x140177b10]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x4c], 0x7b29
movzx eax, byte [0x140177aab]
mov byte [rsp + 0x23], al
movzx eax, byte [0x140177a3f]
movzx eax, al
mov dword [rsp + 0x3c], eax
mov rax, qword [0x140177ae8]
mov qword [rsp + 0xf0], rax
mov eax, dword [0x140177b18]
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x114], 0x55bdcdad
mov eax, 0xb6701055
mov qword [rsp + 0x50], rax
mov rax, qword [0x140177ae8]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0xe0], 0xc9
mov qword [rsp + 0x80], 0x3f6b54c0
mov qword [rsp + 0xe8], 0xdb
mov eax, 0x5baf
mov word [rsp + 0x24], ax
movabs rax, 0xbd4113d761339
mov qword [rsp + 0xf8], rax
mov byte [rsp + 0x20], 0x98
mov qword [rsp + 0x40], 0x95
movzx eax, byte [0x140177ad7]
mov dword [rsp + 0x34], eax
movzx eax, byte [0x140177a17]
mov byte [rsp + 0x22], al
movzx eax, byte [0x140177ae3]
movsx ax, al
mov word [rsp + 0x38], ax
movzx eax, word [0x140177af0]
mov byte [rsp + 0x21], al
movzx eax, byte [0x140177aab]
movzx eax, al
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x58], 0x9c79916c
mov eax, dword [0x140177b0c]
mov word [rsp + 0x28], ax
mov byte [rsp + 0x60], 0x78
mov eax, dword [0x140177b30]
mov word [rsp + 0x108], ax
movzx eax, word [0x140177b04]
mov word [rsp + 0x104], ax
movzx eax, byte [0x140177a57]
mov byte [rsp + 0x61], al
mov byte [rsp + 0x62], 0xb0
mov byte [rsp + 0x63], 0xd1
mov eax, dword [0x140177b18]
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x64], 5
movzx eax, byte [0x140177aaa]
mov byte [rsp + 0x66], al
movabs rax, 0x78c54dda77a9b
mov qword [rsp + 0x190], rax
mov byte [rsp + 0x65], 0xa1
mov dword [rsp + 0x16c], 0x3eac
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x4c]
mov ecx, ecx
cmp rax, rcx
jne 0x1400d5035
cmp dword [rsp + 0x94], 0
je 0x1400d5033
movzx eax, byte [rsp + 0x20]
mov rcx, qword [0x140177ae8]
sub rax, rcx
not rax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xf0]
add rax, 0xdfeb
mov word [0x140177b20], ax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x1400d506c
movsx eax, word [0x140177b04]
add eax, 0x89ea9158
mov eax, eax
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, dword [0x140177aac]
dec eax
mov dword [0x140177aac], eax
mov eax, dword [0x141167a50]
mov qword [rsp + 0x40], rax
mov eax, dword [0x141167a50]
mov dword [rsp + 0x68], eax
mov eax, 2
imul rax, rax, 0x9e70
lea rcx, [0x1411c1c60]
movzx edx, word [0x140177b18]
mov word [rcx + rax], dx
movzx eax, byte [rsp + 0x20]
add rax, qword [rsp + 0x40]
mov byte [rsp + 0x20], al
movsx eax, word [0x140177b38]
imul eax, eax, 0x75
mov byte [0x140177a16], al
mov eax, dword [rsp + 0x68]
add eax, 0x37e
mov dword [rsp + 0x170], eax
mov rax, qword [rsp + 0xe8]
test rax, rax
jne 0x1400d50dc
mov dword [rsp + 0xdc], 1
jmp 0x1400d50e7
mov dword [rsp + 0xdc], 0
cmp qword [rsp + 0x78], 0
jne 0x1400d50fd
mov qword [rsp + 0x128], 1
jmp 0x1400d5109
mov qword [rsp + 0x128], 0
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0xdc]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rcx, rdx
add rax, rcx
test rax, rax
jne 0x1400d5143
mov qword [rsp + 0x130], 1
jmp 0x1400d514f
mov qword [rsp + 0x130], 0
movzx eax, word [0x140177a14]
movzx eax, ax
movsx ecx, byte [rsp + 0x23]
add eax, ecx
test eax, eax
jne 0x1400d5172
mov qword [rsp + 0x120], 1
jmp 0x1400d517e
mov qword [rsp + 0x120], 0
mov eax, dword [rsp + 0x2c]
cdqe
mov rcx, qword [rsp + 0x80]
sub rax, rcx
add rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x130]
imul rcx, rax
mov rax, rcx
mov byte [rsp + 0x22], al
mov eax, dword [rsp + 0xe0]
mov eax, eax
sub rax, qword [rsp + 0x78]
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0x3c]
imul eax, eax, 0x23d
mov byte [0x140177a56], al
mov eax, dword [rsp + 0x68]
add eax, 0x294
mov dword [rsp + 0xc0], eax
movsx eax, word [0x140177b20]
movsx ecx, byte [0x140177a56]
cmp eax, ecx
jg 0x1400d51fe
mov dword [rsp + 0x8c], 1
jmp 0x1400d5209
mov dword [rsp + 0x8c], 0
movsx eax, word [0x140177b20]
cmp eax, 0xa
jg 0x1400d5222
mov dword [rsp + 0x88], 1
jmp 0x1400d522d
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x8c], eax
jge 0x1400d5282
mov byte [0x140177aaa], 0xce
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x1400d525e
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x138], rax
jmp 0x1400d5270
movzx eax, byte [0x140177ae2]
movzx eax, al
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x80], rax
jmp 0x1400d52c0
cmp qword [rsp + 0x50], 0
je 0x1400d52c0
movsx eax, byte [rsp + 0x21]
xor eax, 0x48
mov byte [0x140177a16], al
movzx eax, word [0x140177a14]
movzx eax, ax
mov rcx, qword [0x140177b10]
imul rcx, rax
mov rax, rcx
mov qword [0x140177b10], rax
mov qword [rsp + 0x50], 0x200ab2b3
mov eax, dword [rsp + 0x68]
add eax, 0xd
mov dword [rsp + 0xc4], eax
movzx eax, byte [0x140177a3e]
movsx eax, al
cmp dword [0x140177b08], eax
jne 0x1400d5345
movzx eax, word [0x140177af0]
cwde
cmp eax, dword [0x140177aac]
je 0x1400d5314
mov byte [rsp + 0x23], 2
mov eax, dword [0x140177b18]
sub rax, qword [rsp + 0x40]
mov ecx, dword [0x140177b18]
add rcx, rax
mov rax, rcx
mov dword [0x140177b18], eax
jmp 0x1400d5343
mov eax, dword [0x140177b40]
mov qword [0x140177b48], rax
mov eax, dword [rsp + 0x5c]
and eax, 0xc57f
mov byte [0x140177a16], al
movzx eax, byte [0x140177ad7]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1400d539e
cmp dword [0x140177b40], 0
jne 0x1400d539e
mov eax, dword [0x140177b34]
sub rax, qword [rsp + 0x78]
mov ecx, dword [0x140177b44]
mov ecx, ecx
add rax, rcx
test rax, rax
jne 0x1400d5376
mov dword [rsp + 0x90], 1
jmp 0x1400d5381
mov dword [rsp + 0x90], 0
movsx eax, byte [0x140177aaa]
add eax, dword [rsp + 0x90]
not eax
mov byte [0x140177a3e], al
mov byte [0x140177ad6], 0x8b
mov eax, dword [0x141167a50]
mov dword [rsp + 0x6c], eax
movzx eax, byte [0x141167a50]
mov byte [0x140177ad6], al
mov eax, 4
imul rax, rax, 1
lea rcx, [0x14126cac0]
mov eax, dword [rcx + rax]
mov ecx, dword [0x140177b28]
add ecx, eax
mov eax, ecx
mov dword [0x140177b28], eax
mov eax, dword [rsp + 0x6c]
add eax, 0xdcc3
mov dword [rsp + 0x10c], eax
mov byte [0x140177a13], 0x32
movzx eax, byte [0x140177a3e]
movsx eax, al
movzx ecx, byte [0x140177a16]
movsx ecx, cl
sub eax, ecx
movzx ecx, byte [0x140177a3e]
movsx ecx, cl
sub ecx, eax
mov eax, ecx
mov byte [0x140177a3e], al
movsx eax, byte [0x140177a56]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cdqe
movzx ecx, byte [0x140177aab]
movzx ecx, cl
add rcx, qword [rsp + 0x40]
imul rax, rcx
test rax, rax
jne 0x1400d544e
mov eax, 1
mov word [rsp + 0x48], ax
jmp 0x1400d5455
xor eax, eax
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
mov word [0x140177ae0], ax
mov eax, dword [rsp + 0x6c]
add eax, 0xdaea
mov dword [rsp + 0x110], eax
mov cx, 0x51
call fcn.1400c0860
cwde
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x1400d54bf
mov rax, qword [rsp + 0xf0]
sub rax, 0x10a811a9
mov dword [0x140177b08], eax
mov eax, dword [rsp + 0x3c]
cdqe
sub rax, qword [0x140177b48]
mov dword [rsp + 0x3c], eax
movzx eax, word [0x140177a14]
inc ax
mov word [0x140177a14], ax
jmp 0x1400d5504
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x1400d5504
mov rax, qword [rsp + 0xe8]
imul rax, rax, 0xc89f
mov byte [0x140177a56], al
mov eax, dword [rsp + 0x94]
add eax, 0x61
mov word [rsp + 0x24], ax
movzx eax, word [0x140177af0]
cwde
sub eax, 0xc9
mov word [0x140177b00], ax
mov eax, dword [rsp + 0x6c]
add eax, 0x60
mov dword [rsp + 0x174], eax
movzx eax, byte [rsp + 0x22]
mov ecx, 1
imul rcx, rcx, 0x49
lea rdx, [0x1412e8c10]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x3c]
sub eax, 0x6e09
cdqe
mov qword [rsp + 0x78], rax
mov eax, 2
imul rax, rax, 0xb75b
lea rcx, [0x1412860e0]
movzx edx, word [0x140177b04]
mov word [rcx + rax], dx
mov eax, dword [rsp + 0x10c]
mov ecx, dword [rsp + 0x110]
imul eax, ecx
cdqe
mov ecx, 0xbcc7d83e
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x118], eax
mov rdx, qword [rsp + 0xf8]
mov ecx, 0x95
call fcn.1400c0130
mov word [0x140177b04], ax
movsx eax, word [0x140177b04]
test eax, eax
je 0x1400d55a6
jmp 0x1400d571b
mov eax, dword [0x140177b34]
not eax
test eax, eax
je 0x1400d560e
movzx eax, word [0x140177af0]
cwde
movsx ecx, word [0x140177b00]
add eax, ecx
movzx ecx, word [0x140177af0]
movsx ecx, cx
sub ecx, eax
mov eax, ecx
mov word [0x140177af0], ax
movzx eax, word [0x140177b3c]
movzx eax, ax
sub eax, 0x296e
movzx ecx, byte [0x140177ae2]
movzx ecx, cl
sub ecx, eax
mov eax, ecx
mov byte [0x140177ae2], al
movzx eax, word [0x140177b04]
mov word [0x140177b00], ax
jmp 0x1400d571b
movzx eax, byte [rsp + 0x22]
movsx eax, al
test eax, eax
je 0x1400d5635
mov eax, dword [rsp + 0x114]
not eax
test eax, eax
je 0x1400d5635
mov qword [rsp + 0x140], 1
jmp 0x1400d5641
mov qword [rsp + 0x140], 0
movsx eax, byte [rsp + 0x21]
not eax
cdqe
add rax, qword [rsp + 0x40]
not rax
cmp rax, qword [rsp + 0x140]
jb 0x1400d571b
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x1400d5676
mov qword [rsp + 0x148], 1
jmp 0x1400d5682
mov qword [rsp + 0x148], 0
mov rax, qword [rsp + 0xf0]
not rax
movsx rcx, word [0x140177b2c]
sub rax, rcx
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov byte [0x140177a7e], al
movzx eax, word [0x140177a14]
movzx eax, ax
movzx ecx, word [0x140177ae0]
add eax, dword [0x140177b28]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400d56d8
mov dword [rsp + 0x98], 1
jmp 0x1400d56e3
mov dword [rsp + 0x98], 0
movzx eax, byte [0x140177a17]
movsx eax, al
add eax, dword [rsp + 0x98]
cdqe
mov qword [0x140177b10], rax
movzx eax, byte [0x140177a7e]
movsx eax, al
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [0x141167a50]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, 0x1f
mov dword [rsp + 0x17c], eax
movsx eax, word [0x140177af4]
mov dword [rsp + 0x58], eax
movzx eax, word [rsp + 0x38]
cwde
mov ecx, dword [rsp + 0x34]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x70]
add eax, 0xf956
mov dword [rsp + 0x178], eax
movsx eax, byte [rsp + 0x21]
add eax, 0x7d09ad58
mov word [0x140177af0], ax
movzx eax, word [0x140177a54]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xf0]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x24]
movzx edx, word [0x140177a14]
movzx edx, dx
xor ecx, edx
not ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0xe8]
sub rcx, rdx
xor rax, rcx
not rax
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x70]
add eax, 0xd78b
mov dword [rsp + 0xbc], eax
mov eax, dword [0x140177b0c]
mov eax, eax
mov rcx, qword [0x140177b10]
cmp rax, rcx
je 0x1400d5a6b
movzx eax, byte [0x140177ae2]
movzx eax, al
movzx ecx, byte [0x140177ae2]
movzx ecx, cl
cmp eax, ecx
jg 0x1400d580b
mov dword [rsp + 0xa0], 1
jmp 0x1400d5816
mov dword [rsp + 0xa0], 0
movzx eax, byte [0x140177ae2]
movzx eax, al
cmp eax, 0x37
jg 0x1400d5832
mov dword [rsp + 0x9c], 1
jmp 0x1400d583d
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
cmp dword [rsp + 0xa0], eax
jl 0x1400d5935
movzx eax, byte [0x140177ad7]
add eax, 0x5b82
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0xf8]
test rax, rax
jne 0x1400d587d
mov qword [rsp + 0x150], 1
jmp 0x1400d5889
mov qword [rsp + 0x150], 0
cmp qword [rsp + 0x78], 0
jne 0x1400d589e
mov dword [rsp + 0xa4], 1
jmp 0x1400d58a9
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x150]
sub rcx, rax
mov rax, rcx
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0xf8]
xor rdx, rcx
mov rcx, rdx
add rax, rcx
mov ecx, dword [rsp + 0x2c]
movsxd rcx, ecx
add rcx, qword [rsp + 0x40]
movsx edx, byte [0x140177a57]
mov r8d, dword [rsp + 0xa4]
xor r8d, edx
mov edx, r8d
movsxd rdx, edx
sub rcx, rdx
or rax, rcx
not rax
mov dword [0x140177b40], eax
movsx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400d591d
mov eax, 1
mov word [rsp + 0x4a], ax
jmp 0x1400d5924
xor eax, eax
mov word [rsp + 0x4a], ax
movzx eax, word [rsp + 0x4a]
mov word [0x140177af4], ax
jmp 0x1400d5a69
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x40], rax
ja 0x1400d594e
mov dword [rsp + 0xac], 1
jmp 0x1400d5959
mov dword [rsp + 0xac], 0
cmp qword [rsp + 0x50], 0
jne 0x1400d597a
mov rax, qword [0x140177b10]
test rax, rax
je 0x1400d597a
mov dword [rsp + 0xa8], 1
jmp 0x1400d5985
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0xac], eax
jle 0x1400d59ae
movzx eax, word [rsp + 0x24]
inc ax
mov word [rsp + 0x24], ax
mov byte [0x140177aaa], 0xfb
jmp 0x1400d5a69
mov eax, dword [rsp + 0x4c]
test eax, eax
jne 0x1400d59d0
mov rax, qword [rsp + 0x80]
test rax, rax
jne 0x1400d59d0
mov dword [rsp + 0xb4], 0
jmp 0x1400d59db
mov dword [rsp + 0xb4], 1
movzx eax, byte [rsp + 0x20]
not eax
cdqe
cmp rax, qword [rsp + 0x40]
jbe 0x1400d59f8
mov dword [rsp + 0xb0], 1
jmp 0x1400d5a03
mov dword [rsp + 0xb0], 0
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0xb4], eax
jl 0x1400d5a69
cmp dword [0x140177b40], 0
je 0x1400d5a2e
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x158], rax
jmp 0x1400d5a3c
mov eax, dword [rsp + 0x2c]
cdqe
mov qword [rsp + 0x158], rax
movzx eax, word [rsp + 0x158]
mov word [0x140177ae0], ax
movzx eax, byte [0x140177a3e]
movsx rax, al
movabs rcx, 0x197c0af1ef060
sub rax, rcx
mov byte [0x140177a57], al
jmp 0x1400d5ada
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x1400d5ada
mov eax, dword [rsp + 0x5c]
imul eax, eax, 0x85
mov dword [rsp + 0x2c], eax
movsx rax, byte [rsp + 0x21]
mov rcx, qword [0x140177b10]
imul rcx, rax
mov rax, rcx
mov rcx, qword [0x140177b10]
or rcx, rax
mov rax, rcx
mov qword [0x140177b10], rax
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400d5abf
movzx eax, word [rsp + 0x24]
mov dword [rsp + 0xb8], eax
jmp 0x1400d5acc
movzx eax, word [rsp + 0x38]
cwde
mov dword [rsp + 0xb8], eax
movzx eax, byte [rsp + 0xb8]
mov byte [0x140177a3e], al
movsx eax, word [0x140177b00]
sar eax, 6
mov word [rsp + 0x28], ax
mov eax, dword [0x141167a50]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x2c]
xor eax, 0xb8
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xbc]
add eax, 0x8a21
mov ecx, dword [rsp + 0xbc]
add ecx, 0x38
xor eax, ecx
mov ecx, 0x1b66f
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc0]
mov edx, dword [rsp + 0xc0]
xor ecx, edx
mov edx, dword [rsp + 0xc4]
mov r8d, dword [rsp + 0xc4]
sub edx, r8d
add ecx, edx
add eax, ecx
mov dword [rsp + 0x100], eax
movsx eax, byte [0x140177aaa]
cmp eax, dword [0x140177b18]
jae 0x1400d5bb3
mov rax, qword [rsp + 0xf0]
add rax, 0x87
mov word [0x140177b2c], ax
movzx eax, word [rsp + 0x28]
inc ax
mov word [rsp + 0x28], ax
movzx eax, byte [0x140177a13]
test eax, eax
je 0x1400d5b9a
mov eax, dword [0x140177b0c]
mov dword [rsp + 0xc8], eax
jmp 0x1400d5ba6
movzx eax, word [rsp + 0x28]
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x2c], eax
jmp 0x1400d5c30
mov eax, dword [0x140177b1c]
test eax, eax
je 0x1400d5c0e
movabs rax, 0x2b1ee53cdc20e
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov dword [0x140177aac], eax
movsx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400d5bf0
mov eax, dword [0x140177b44]
mov dword [rsp + 0xcc], eax
jmp 0x1400d5c01
movzx eax, byte [0x140177a7e]
movsx eax, al
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x3c], eax
jmp 0x1400d5c30
movzx eax, word [0x140177a54]
test eax, eax
je 0x1400d5c30
mov eax, dword [0x141167a50]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
add rax, 0x7f
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x118]
cdqe
mov qword [rsp + 0x160], rax
mov r9d, dword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1b0]
call sub.KERNEL32.dll_K32GetModuleFileNameExA
mov eax, eax
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x100]
cdqe
cmp qword [rsp + 0x160], rax
jne 0x1400d5d96
movzx eax, byte [rsp + 0x22]
movsx eax, al
test eax, eax
je 0x1400d5ca1
movzx eax, word [rsp + 0x24]
mov dword [rsp + 0xd0], eax
jmp 0x1400d5caf
movsx eax, word [0x140177b00]
mov dword [rsp + 0xd0], eax
movzx eax, word [rsp + 0xd0]
mov word [0x140177b3c], ax
movzx eax, byte [0x140177ad6]
movsx rax, al
mov rcx, qword [rsp + 0xf8]
imul rax, rcx
mov byte [0x140177ad6], al
movzx eax, word [rsp + 0x38]
cwde
test eax, eax
jne 0x1400d5cf2
mov dword [rsp + 0xd4], 1
jmp 0x1400d5cfd
mov dword [rsp + 0xd4], 0
movsx eax, byte [0x140177a57]
mov ecx, dword [0x140177b1c]
sub eax, ecx
not eax
add eax, dword [rsp + 0xd4]
test eax, eax
jne 0x1400d5d26
mov dword [rsp + 0xd8], 1
jmp 0x1400d5d31
mov dword [rsp + 0xd8], 0
mov eax, dword [rsp + 0xd8]
mov dword [0x140177aac], eax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x1c8]
dec eax
mov eax, eax
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x30]
call fcn.1400e0020
mov rcx, rax
call fcn.1400f2960
mov rcx, qword [rsp + 0x180]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x1c0]
call fcn.14003add0
mov eax, 3
jmp 0x1400d5d98
xor eax, eax
add rsp, 0x1a0
pop rdi
ret