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

Disassembly:
push rsi
push r13
sub rsp, 0xe8
mov rsi, rcx
mov ecx, edx
mov r13d, edx
call fcn.180047950
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x180048329
test rsi, rsi
jne 0x180047fe6
add rsp, 0xe8
pop r13
pop rsi
ret
movsxd rax, dword [rsi + 0x3c]
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xe0], rbp
mov r9d, dword [rax + rsi + 0x88]
mov eax, dword [rax + rsi + 0x8c]
mov qword [rsp + 0xd8], rdi
mov edi, dword [rsi + r9 + 0x20]
mov ebp, dword [rsi + r9 + 0x24]
mov qword [rsp + 0xd0], r12
lea r12, [rsi + r9]
mov qword [rsp + 0xc8], r14
xor r14d, r14d
lea r8d, [r9 + rax]
mov ebx, r14d
mov qword [rsp + 0xc0], r15
add rdi, rsi
add rbp, rsi
xor r15b, r15b
mov dword [rsp + 0x118], r9d
mov dword [rsp + 0x110], r8d
cmp dword [r12 + 0x18], ebx
jbe 0x1800480da
mov r14d, r13d
xor r14d, 0x102a2c68
nop dword [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
add r8, rsi
movzx eax, byte [r8]
mov byte [rsp + 0x40], al
test al, al
je 0x1800480a2
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x40]
sub r8, rax
movzx eax, byte [r8 + rcx + 1]
inc rcx
inc edx
mov byte [rcx], al
test al, al
jne 0x180048091
lea rcx, [rsp + 0x40]
call fcn.180063bd0
cmp r14d, eax
je 0x1800480c4
inc ebx
add rdi, 4
add rbp, 2
cmp ebx, dword [r12 + 0x18]
jb 0x180048070
jmp 0x1800480c7
mov r15b, 1
mov r9d, dword [rsp + 0x118]
mov r8d, dword [rsp + 0x110]
xor r14d, r14d
mov rdx, r14
test r15b, r15b
mov r15, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rdx
je 0x1800482fe
mov eax, dword [r12 + 0x1c]
movzx edx, word [rbp]
lea rcx, [rsi + rax]
mov eax, dword [rcx + rdx*4]
cmp eax, r9d
jb 0x180048160
cmp eax, r8d
jae 0x180048160
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x40]
mov edx, 0x7fffffff
mov qword [rsp + 0x30], rax
call fcn.1800404b0
mov edx, 0xa6663f86
mov word [rsp + 0x28], ax
inc ax
mov ecx, 0x701ac3f9
mov word [rsp + 0x2a], ax
call fcn.180048dc0
test rax, rax
je 0x180048159
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov rcx, rsi
call rax
mov rdx, qword [rsp + 0x20]
jmp 0x180048169
lea rdx, [rsi + rax]
mov qword [rsp + 0x20], rdx
test rdx, rdx
je 0x1800482fe
cmp byte [0x1800930b0], 0
je 0x1800481a9
cmp r13d, 0xb1fe751c
je 0x18004819d
cmp r13d, 0xe8260df3
jne 0x1800482fe
mov qword [0x180092d98], rdx
jmp 0x1800482fe
mov qword [0x180092da0], rdx
jmp 0x1800482fe
mov rdi, qword [0x180092db8]
mov ebp, 0xf
test rdi, rdi
jne 0x18004822e
mov ecx, 0x288
mov byte [0x1800930b0], 1
call fcn.180046860
mov rdi, rax
test rax, rax
je 0x180048216
mov esi, ebp
lea rbx, [rax + 0x20]
nop dword [rax]
lea rcx, [rbx - 0x20]
xor edx, edx
call fcn.180040c20
mov dword [rbx - 0x10], r14d
mov qword [rbx], r14
add rbx, 0x28
dec esi
jns 0x1800481e0
mov qword [rdi + 0x280], r14
mov rdx, qword [rsp + 0x20]
mov qword [0x180092db8], rdi
mov byte [0x1800930b0], 0
jmp 0x18004824f
mov rdx, qword [rsp + 0x20]
mov rdi, r14
mov qword [0x180092db8], r14
mov byte [0x1800930b0], 0
jmp 0x18004824f
mov rax, qword [rdi + 0x280]
test rax, rax
je 0x18004824f
nop word [rax + rax]
mov rdi, rax
mov rax, qword [rax + 0x280]
test rax, rax
jne 0x180048240
mov r9d, r14d
mov r8, r14
lea rax, [rdi + 0x10]
nop dword [rax]
cmp dword [rax], 0
je 0x1800482d9
inc r8
inc r9d
add rax, 0x28
cmp r8, 0x10
jl 0x180048260
mov ecx, 0x288
call fcn.180046860
mov rsi, rax
test rax, rax
je 0x1800482b3
lea rbx, [rax + 0x20]
nop dword [rax + rax]
lea rcx, [rbx - 0x20]
xor edx, edx
call fcn.180040c20
mov dword [rbx - 0x10], r14d
mov qword [rbx], r14
add rbx, 0x28
dec ebp
jns 0x180048290
mov qword [rsi + 0x280], r14
jmp 0x1800482b6
mov rsi, r14
mov rax, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov qword [rsi + 0x20], rax
call fcn.1800415a0
mov dword [rsi + 0x10], r13d
mov qword [rdi + 0x280], rsi
jmp 0x1800482f9
movsxd rax, r9d
lea rcx, [rax + rax*4]
lea rbx, [rdi + rcx*8]
mov rcx, rbx
mov qword [rbx + 0x20], rdx
lea rdx, [rsp + 0x40]
call fcn.1800415a0
mov dword [rbx + 0x10], r13d
mov rdx, qword [rsp + 0x20]
mov r14, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x100]
mov rax, rdx
add rsp, 0xe8
pop r13
pop rsi
ret