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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov esi, dword [rsp + 0xa0]
mov rdi, r8
mov r12, rdx
mov r14, rcx
lea ebx, [rsi + 0x64a]
mov dword [rsp + 0x20], ebx
cmp esi, ebx
jae 0x180029a02
mov ebx, dword [rsp + 0xa0]
mov ecx, 0x6e
mov qword [rax + 8], rbp
mov ebp, dword [rsp + 0xa0]
mov qword [rax + 0x10], r13
mov r13, qword [rsp + 0xa8]
mov qword [rax + 0x18], r15
mov r15d, dword [rsp + 0xa0]
mov eax, dword [rsp + 0x20]
nop word [rax + rax]
cmp esi, 0x1ee
ja 0x1800298c2
je 0x18002989b
cmp esi, 0x108
ja 0x1800297fb
je 0x1800297f1
mov eax, esi
sub eax, 0x44
je 0x1800297e9
sub eax, 0x51
je 0x1800297c1
cmp eax, 0x22
mov eax, dword [rsp + 0x20]
jne 0x1800299df
mov ebx, dword [r14]
imul ebx, dword [r9]
jmp 0x1800299df
movzx eax, word [0x180082ce0]
mov word [rsp + 0x38], ax
movzx eax, word [0x180082ce4]
mov word [rsp + 0x3a], ax
movzx eax, byte [0x180082ce6]
mov byte [rsp + 0x3c], al
jmp 0x1800299db
mov ebp, dword [rdi + 0x44]
jmp 0x1800299db
mov word [rsp + 0x3c], cx
jmp 0x1800299df
mov eax, esi
sub eax, 0x12a
je 0x180029851
sub eax, 0x51
je 0x18002981e
cmp eax, 0x22
mov eax, dword [rsp + 0x20]
jne 0x1800299df
mov dword [rdi + 0x44], ebp
jmp 0x1800299df
movzx eax, word [0x180083334]
lea rdx, [0x180083338]
mov word [rsp + 0x3d], ax
lea rcx, [rsp + 0x38]
movzx eax, byte [0x180083336]
mov r8d, 2
mov byte [rsp + 0x3f], al
call fcn.180058e00
jmp 0x1800299ce
xor r10d, r10d
cmp dword [r13], r10d
jbe 0x1800299db
mov ecx, dword [r14]
xor eax, eax
test ecx, ecx
je 0x18002988b
mov ecx, ebp
lea r9, [rcx*4]
mov rdx, qword [rdi + rax*8]
inc eax
mov r8d, ebx
inc ebx
mov ecx, dword [r12 + r8*4]
mov dword [r9 + rdx], ecx
mov ecx, dword [r14]
cmp eax, ecx
jb 0x180029871
inc ebp
inc r10d
cmp r10d, dword [r13]
jb 0x180029861
jmp 0x1800299ce
lea rcx, [rsp + 0x38]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800298a3
mov eax, dword [0x18008333c]
mov dword [rcx], eax
mov byte [rsp + 0xa0], 1
jmp 0x1800299d6
cmp esi, 0x3ba
ja 0x180029934
je 0x180029924
mov eax, esi
sub eax, 0x261
je 0x18002990f
sub eax, 0x73
je 0x1800298f4
cmp eax, 0x73
mov eax, dword [rsp + 0x20]
jne 0x1800299df
mov dword [rsp + 0x24], 0
jmp 0x1800299df
lea rax, [rsp + 0x38]
mov r15, 0xffffffffffffffff
inc r15
cmp byte [rax + r15], 0
jne 0x180029900
jmp 0x1800299db
xor edx, edx
mov r8d, 0x288
mov rcx, rdi
call fcn.180055c00
jmp 0x1800299ce
mov qword [rdi + 0x260], 0xffffffffffffffff
jmp 0x1800299df
mov eax, esi
sub eax, 0x42d
je 0x180029956
cmp eax, 0x73
mov eax, dword [rsp + 0x20]
jne 0x1800299df
mov dword [rdi + 0x28], 0x238
jmp 0x1800299df
lea r9, [rsp + 0x28]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x24]
mov edx, r15d
lea rcx, [rsp + 0x38]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
mov byte [rdi + 0x284], 1
test eax, eax
je 0x18002998b
mov byte [rsp + 0xa0], 0
jmp 0x1800299ce
cmp byte [rsp + 0xa0], 0
je 0x1800299ce
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov edx, r15d
lea rcx, [rsp + 0x38]
call sub.RPCRT4.dll_MesDecodeBufferHandleCreate
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800299bf
call sub.RPCRT4.dll_MesHandleFree
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800299ce
call sub.RPCRT4.dll_MesHandleFree
mov r9, qword [rsp + 0x98]
mov ecx, 0x6e
mov eax, dword [rsp + 0x20]
add esi, 0x73
cmp esi, eax
jb 0x180029780
mov r15, qword [rsp + 0x90]
mov r13, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret