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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140729900]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r12, r9
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov byte [rsp + 0x30], r15b
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x1d1
lea r9, str.NGUDCApp::JsonWriter::GetInkSupplies
lea r8, [0x1407457b0]
mov rdx, qword [0x1407453c0]
lea rcx, [rsp + 0x60]
call fcn.14000a880
nop
lea ecx, [r15 + 7]
mov qword [rdi + 0x18], rcx
mov qword [rdi + 0x10], r15
mov word [rdi], r15w
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r15
mov dword [rdi + 0x30], r15d
or eax, 0xffffffff
mov dword [rdi + 0x34], eax
mov dword [rdi + 0x38], eax
mov dword [rdi + 0x3c], eax
mov dword [rdi + 0x40], eax
mov qword [rdi + 0x60], rcx
mov qword [rdi + 0x58], r15
mov word [rdi + 0x48], r15w
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x88], rcx
mov qword [rdi + 0x80], r15
mov word [rdi + 0x70], r15w
mov qword [rdi + 0xa8], rcx
mov qword [rdi + 0xa0], r15
mov word [rdi + 0x90], r15w
mov qword [rdi + 0xc8], rcx
mov qword [rdi + 0xc0], r15
mov word [rdi + 0xb0], r15w
mov qword [rdi + 0xd0], r15
mov qword [rdi + 0xd8], r15
mov qword [rdi + 0xe0], r15
lea rsi, [rdi + 0xe8]
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov dword [rsp + 0x40], 1
mov eax, dword [r14]
lea ebp, [rcx - 3]
cmp eax, 0xd
jl 0x14002a90f
cmp eax, 0xe
jle 0x14002a4b6
add eax, 0xffffffef
cmp eax, 2
ja 0x14002a90f
cmp qword [r14 + 0x128], r15
je 0x14002a4f2
lea rbx, [r14 + 0x118]
lea rdx, [0x14041c728]
mov rcx, rbx
call fcn.140012390
test eax, eax
je 0x14002a4f2
cmp rdi, rbx
je 0x14002a510
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.14000a070
jmp 0x14002a510
lea rcx, [0x14041c720]
call fcn.140288ad0
mov r8, rax
lea rdx, [0x14041c720]
mov rcx, rdi
call fcn.140009ed0
mov eax, dword [r14]
mov dword [rdi + 0x24], eax
mov eax, dword [r14 + 8]
mov dword [rdi + 0x20], eax
mov eax, dword [r14 + 4]
mov dword [rdi + 0x68], eax
mov ecx, dword [r14 + 0x140]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
mov edx, ecx
sub edx, eax
sub ecx, edx
cmp edx, 5
jb 0x14002a548
add ecx, 0xa
mov dword [rdi + 0x28], ecx
movsxd rdx, dword [rdi + 0x68]
mov r8d, 3
cmp edx, 0x1f
jg 0x14002a673
je 0x14002a667
cmp edx, 0xf
jg 0x14002a5f2
je 0x14002a728
cmp edx, 7
jg 0x14002a5bb
je 0x14002a728
mov ecx, edx
test edx, edx
je 0x14002a5e9
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a728
cmp ecx, 1
jne 0x14002a5e9
jmp 0x14002a667
mov ecx, edx
sub ecx, 8
je 0x14002a667
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a5e9
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a6a9
sub ecx, 1
mov dword [rdi + 0x6c], r8d
jmp 0x14002a72b
cmp edx, 0x17
jg 0x14002a635
je 0x14002a728
mov ecx, edx
sub ecx, 0x10
je 0x14002a6a9
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a6a9
cmp ecx, 1
jmp 0x14002a722
mov ecx, edx
sub ecx, 0x18
je 0x14002a728
sub ecx, 1
je 0x14002a6a9
sub ecx, 1
je 0x14002a5e9
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a728
jmp 0x14002a62d
mov dword [rdi + 0x6c], 2
jmp 0x14002a72b
cmp edx, 0x2f
jg 0x14002a6d7
je 0x14002a728
cmp edx, 0x27
jg 0x14002a6b2
je 0x14002a667
mov ecx, edx
sub ecx, 0x20
je 0x14002a667
sub ecx, 1
je 0x14002a6a9
sub ecx, 1
je 0x14002a6a9
sub ecx, 1
je 0x14002a6a9
sub ecx, 1
je 0x14002a5e9
jmp 0x14002a5e6
mov dword [rdi + 0x6c], 1
jmp 0x14002a72b
mov ecx, edx
sub ecx, 0x28
je 0x14002a667
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a667
jmp 0x14002a62d
cmp edx, 0x37
jg 0x14002a701
je 0x14002a5e9
mov ecx, edx
sub ecx, 0x30
je 0x14002a728
sub ecx, 1
je 0x14002a728
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a6a9
jmp 0x14002a653
mov ecx, edx
sub ecx, 0x38
je 0x14002a728
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a667
sub ecx, 1
je 0x14002a6a9
sub ecx, 1
jne 0x14002a5e9
mov dword [rdi + 0x6c], ebp
mov rax, qword [r12]
cmp rax, qword [r12 + 8]
je 0x14002a779
mov r8d, dword [rax + 0x68]
lea ecx, [r8 - 0x10135]
test ecx, 0xfffffffa
jne 0x14002a752
cmp r8d, 0x10136
jne 0x14002a758
add rax, 0x70
jmp 0x14002a72f
mov eax, dword [r14 + 0x1a8]
cmp eax, 1
jne 0x14002a779
cmp edx, 0x21
je 0x14002a772
cmp eax, eax
jne 0x14002a779
cmp edx, 0x3b
jne 0x14002a779
mov dword [rdi + 0x6c], 1
cmp edx, 0x2f
ja 0x14002a89f
movabs rcx, 0x870020000080
bt rcx, rdx
jae 0x14002a89f
mov rbx, qword [r12]
cmp rbx, qword [r12 + 8]
je 0x14002a89f
mov esi, dword [rbx]
mov ebp, dword [rbx + 0x68]
mov dword [rsp + 0x20], esi
lea r9, str.prod_category:__d
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0x2da
lea rcx, [rsp + 0x60]
call fcn.14000acc0
mov ecx, esi
sub ecx, 0x14
je 0x14002a7e9
sub ecx, 0x47
je 0x14002a7e9
sub ecx, 0x55
je 0x14002a7e9
sub ecx, 3
je 0x14002a7e9
cmp ecx, 5
jne 0x14002a884
cmp esi, 0x5b
jne 0x14002a828
cmp dword [rdi + 0x68], 0x2a
jne 0x14002a884
lea eax, [rbp - 0x10052]
cmp eax, 1
jbe 0x14002a81e
lea eax, [rbp - 0x100f9]
cmp eax, 1
jbe 0x14002a81e
lea eax, [rbp - 0x100a0]
lea ebp, [rsi - 0x57]
cmp eax, 1
ja 0x14002a889
jmp 0x14002a823
mov ebp, 4
mov dword [rdi + 0x6c], ebp
jmp 0x14002a889
cmp esi, 0xb0
jne 0x14002a844
cmp dword [rdi + 0x68], 7
mov ebp, 4
jne 0x14002a889
mov dword [rdi + 0x6c], 2
jmp 0x14002a889
cmp esi, 0xb8
jne 0x14002a860
mov ebp, 4
cmp dword [rdi + 0x68], 0x1d
jne 0x14002a889
mov dword [rdi + 0x6c], 1
jmp 0x14002a889
cmp esi, 0x14
jne 0x14002a876
cmp dword [rdi + 0x68], 0x28
je 0x14002a81e
lea ebp, [rsi - 0x10]
cmp dword [rdi + 0x68], 0x29
jne 0x14002a889
jmp 0x14002a823
cmp esi, 0xb3
jne 0x14002a884
cmp dword [rdi + 0x68], 0x2f
jmp 0x14002a834
mov ebp, 4
add rbx, 0x70
cmp rbx, qword [r12 + 8]
jne 0x14002a7a5
lea rsi, [rdi + 0xe8]
cmp dword [rdi + 0x6c], ebp
jne 0x14002a8a8
mov dword [rdi + 0x28], r15d
mov eax, dword [r14 + 0xc]
mov dword [rdi + 0x2c], eax
mov eax, dword [r14 + 0x10]
mov dword [rdi + 0x30], eax
mov eax, dword [r14 + 0x14]
mov dword [rdi + 0x34], eax
mov eax, dword [r14 + 0x18]
mov dword [rdi + 0x38], eax
mov eax, dword [r14 + 0x1c]
mov dword [rdi + 0x3c], eax
mov eax, dword [r14 + 0x20]
mov dword [rdi + 0x40], eax
lea rbx, [r14 + 0x28]
cmp qword [rbx + 0x18], 8
jb 0x14002a8e0
mov rbx, qword [rbx]
cmp word [rbx], r15w
je 0x14002a8f1
mov rcx, rbx
call fcn.140288ad0
mov r15, rax
mov r8, r15
mov rdx, rbx
lea rcx, [rdi + 0x48]
call fcn.140009ed0
lea rdx, [r14 + 0x100]
mov rcx, rsi
call fcn.14002a9dc
cmp dword [rdi + 0x68], 0x10
jne 0x14002a918
mov dword [rdi + 0x6c], ebp
lea rcx, [rsp + 0x60]
call fcn.14000a9d0
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1402812e0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret