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

Disassembly:
mov byte [rsp + 0x10], dl
mov byte [rsp + 8], cl
sub rsp, 0xd8
mov eax, 0xffff8fde
mov word [rsp + 0x50], ax
mov rax, qword [0x180146178]
mov word [rsp + 0x54], ax
mov dword [rsp + 0x40], 0x3210d800
mov rax, qword [0x1801460e8]
mov byte [rsp], al
movzx eax, word [0x1801460e4]
mov word [rsp + 0x20], ax
mov eax, 0xffffe6f5
mov word [rsp + 0x10], ax
movzx eax, byte [0x180146027]
mov word [rsp + 0xc], ax
movzx eax, byte [0x18014609e]
movsx ax, al
mov word [rsp + 0x58], ax
movzx eax, byte [0x1801460bb]
movzx eax, al
mov qword [rsp + 0xb0], rax
mov rax, qword [0x1801460e8]
mov qword [rsp + 0xa8], rax
mov byte [rsp + 0x18], 0x19
movzx eax, byte [0x18014607b]
movsx ax, al
mov word [rsp + 4], ax
mov qword [rsp + 0x70], 0x1d
mov eax, dword [0x18014610c]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x3c], 0x3d9b1516
mov eax, 0xdf
mov word [rsp + 0x68], ax
mov byte [rsp + 0xa], 0xaf
mov dword [rsp + 0x28], 0xe8b6a5ba
movzx eax, byte [0x18014609e]
movsx eax, al
mov dword [rsp + 0x24], eax
mov byte [rsp + 8], 0xaf
mov qword [rsp + 0xa0], 0x225c
mov byte [rsp + 0x19], 0xa5
movzx eax, byte [0x180146118]
mov byte [rsp + 9], al
movzx eax, byte [0x180146118]
mov byte [rsp + 0x1e], al
mov byte [rsp + 0x1a], 0x95
mov rax, qword [0x1801460f8]
mov dword [rsp + 0x88], eax
movsxd rax, dword [0x180146124]
mov qword [rsp + 0xb8], rax
mov byte [rsp + 0x1b], 0xe2
mov rax, qword [0x1801460f8]
mov dword [rsp + 0x98], eax
mov qword [rsp + 0xc0], 0x8133
mov dword [rsp + 0x8c], 0xe139ffbb
mov eax, 0xfffff7f2
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x90], 0x221533f1
mov eax, dword [0x18014613c]
mov dword [rsp + 0x94], eax
mov qword [rsp + 0xc8], 0x2412da6
mov byte [rsp + 0x1c], 0x63
mov eax, 0xffffe4fb
mov word [rsp + 0x60], ax
movzx eax, byte [0x18014609f]
mov byte [rsp + 0x1d], al
mov rax, qword [0x1801460f8]
mov word [rsp + 0x64], ax
movzx eax, word [0x180146108]
movzx eax, ax
test eax, eax
je 0x18000b376
movsx eax, byte [0x1801460b9]
movzx ecx, word [rsp + 0xc]
add eax, ecx
test eax, eax
jne 0x18000b376
imul rax, qword [rsp + 0xa0], 0x42
not rax
test rax, rax
je 0x18000b376
mov dword [rsp + 0x48], 1
jmp 0x18000b37e
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
not eax
test eax, eax
je 0x18000b47d
movzx eax, word [rsp + 0xc]
cmp eax, dword [0x180146138]
jl 0x18000b3a3
mov dword [rsp + 0x2c], 1
jmp 0x18000b3ab
mov dword [rsp + 0x2c], 0
mov rax, qword [0x180146178]
test rax, rax
jne 0x18000b3c2
mov qword [rsp + 0x78], 1
jmp 0x18000b3cb
mov qword [rsp + 0x78], 0
mov rax, qword [0x1801460f8]
cmp rax, qword [rsp + 0x78]
jne 0x18000b3e3
mov dword [rsp + 0x4c], 1
jmp 0x18000b3eb
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x18000b43b
movabs rax, 0x4058e96ec4657
xor ecx, ecx
cmp rcx, rax
je 0x18000b421
movsx eax, word [0x180146104]
test eax, eax
je 0x18000b421
mov dword [rsp + 0x30], 1
jmp 0x18000b429
mov dword [rsp + 0x30], 0
movzx eax, byte [0x18014607b]
movsx eax, al
not eax
cmp dword [rsp + 0x30], eax
jl 0x18000b45f
mov eax, 0xc54a3b53
mov rcx, qword [0x180146148]
add rcx, rax
mov rax, rcx
mov byte [rsp + 8], al
mov eax, 0x35
mov word [0x180146158], ax
jmp 0x18000b47b
movzx eax, byte [rsp]
movzx eax, al
test eax, eax
je 0x18000b47b
movzx eax, word [rsp + 0x20]
cwde
sub eax, 0x2da1
mov byte [0x18014607b], al
jmp 0x18000b4d0
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x180146144]
cmp eax, ecx
jne 0x18000b48d
jmp 0x18000b4d0
movzx eax, byte [0x180146027]
test eax, eax
je 0x18000b4a7
mov eax, dword [rsp + 0x28]
sub eax, 0xae
mov byte [rsp + 9], al
jmp 0x18000b4d0
mov eax, dword [0x180146144]
not eax
test eax, eax
je 0x18000b4d0
movsx eax, word [rsp + 0x10]
xor eax, 0x70c43386
mov dword [0x18014613c], eax
movzx eax, byte [0x180146138]
mov byte [0x18014609f], al
movzx eax, byte [0x180146027]
mov rcx, qword [rsp + 0x70]
cmp rax, rcx
jbe 0x18000b4eb
mov dword [rsp + 0x44], 1
jmp 0x18000b4f3
mov dword [rsp + 0x44], 0
movzx eax, byte [0x180146027]
cmp eax, 0x2a
jle 0x18000b509
mov dword [rsp + 0x34], 1
jmp 0x18000b511
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x44], eax
jle 0x18000b52e
mov rax, qword [0x180146170]
dec rax
mov qword [0x180146170], rax
jmp 0x18000b567
movzx eax, word [0x180146108]
movzx eax, ax
mov ecx, dword [0x1801460bc]
cmp eax, ecx
jbe 0x18000b567
movsxd rax, dword [0x180146138]
movabs rcx, 0x37c9cfba708ae
sub rax, rcx
mov word [rsp + 0xc], ax
movzx eax, word [0x180146158]
mov word [rsp + 0x10], ax
mov eax, dword [0x180148100]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0xa8]
test rax, rax
jne 0x18000b590
mov dword [rsp + 0x38], 1
jmp 0x18000b598
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp]
movzx eax, al
imul eax, dword [rsp + 0x38]
mov ecx, dword [0x180146134]
mov edx, dword [rsp + 0x3c]
sub ecx, edx
add eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 0
je 0x18000b5e3
cmp dword [rsp + 0x14], 1
je 0x18000b605
cmp dword [rsp + 0x14], 2
je 0x18000b63d
cmp dword [rsp + 0x14], 3
je 0x18000b690
jmp 0x18000b6a4
movzx eax, word [rsp + 4]
movzx ecx, byte [rsp + 0xa]
movsx ecx, cl
add eax, ecx
movzx ecx, word [rsp + 4]
sub ecx, eax
mov eax, ecx
mov word [rsp + 4], ax
jmp 0x18000b6a4
mov eax, dword [rsp + 0x3c]
cdqe
sub rax, qword [0x180146148]
movsx ecx, word [rsp + 0x10]
movzx edx, word [0x1801460e4]
movzx edx, dx
sub ecx, edx
mov edx, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x24]
xor edx, r8d
xor ecx, edx
mov ecx, ecx
xor rax, rcx
mov word [rsp + 4], ax
jmp 0x18000b6a4
mov rax, qword [0x1801460f0]
not rax
movzx ecx, word [0x180146158]
movzx ecx, cx
mov rdx, qword [0x1801460e8]
add rdx, rcx
mov rcx, rdx
imul rax, rcx
test rax, rax
jne 0x18000b675
mov qword [rsp + 0x80], 1
jmp 0x18000b681
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
jmp 0x18000b6a4
mov dword [0x180146134], 0xe2
mov dword [0x18014607c], 0xcd72
mov eax, dword [rsp + 0x24]
add rsp, 0xd8
ret