Function at 0x180048a60
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.180048400
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x180048dd9
test rsi, rsi
jne 0x180048a96
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 0x180048b8a
mov r14d, r13d
xor r14d, 0xe427ce1
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 0x180048b52
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 0x180048b41
lea rcx, [rsp + 0x40]
call fcn.180065760
cmp r14d, eax
je 0x180048b74
inc ebx
add rdi, 4
add rbp, 2
cmp ebx, dword [r12 + 0x18]
jb 0x180048b20
jmp 0x180048b77
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 0x180048dae
mov eax, dword [r12 + 0x1c]
movzx edx, word [rbp]
lea rcx, [rsi + rax]
mov eax, dword [rcx + rdx*4]
cmp eax, r9d
jb 0x180048c10
cmp eax, r8d
jae 0x180048c10
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x40]
mov edx, 0x7fffffff
mov qword [rsp + 0x30], rax
call fcn.180040f10
mov edx, 0xb80e6f0f
mov word [rsp + 0x28], ax
inc ax
mov ecx, 0x6e729370
mov word [rsp + 0x2a], ax
call fcn.180049ad0
test rax, rax
je 0x180048c09
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov rcx, rsi
call rax
mov rdx, qword [rsp + 0x20]
jmp 0x180048c19
lea rdx, [rsi + rax]
mov qword [rsp + 0x20], rdx
test rdx, rdx
je 0x180048dae
cmp byte [0x1800970f1], 0
je 0x180048c59
cmp r13d, 0xaf962595
je 0x180048c4d
cmp r13d, 0xf64e5d7a
jne 0x180048dae
mov qword [0x180096da0], rdx
jmp 0x180048dae
mov qword [0x180096da8], rdx
jmp 0x180048dae
mov rdi, qword [0x180096dc0]
mov ebp, 0xf
test rdi, rdi
jne 0x180048cde
mov ecx, 0x288
mov byte [0x1800970f1], 1
call fcn.1800472c0
mov rdi, rax
test rax, rax
je 0x180048cc6
mov esi, ebp
lea rbx, [rax + 0x20]
nop dword [rax]
lea rcx, [rbx - 0x20]
xor edx, edx
call fcn.180041660
mov dword [rbx - 0x10], r14d
mov qword [rbx], r14
add rbx, 0x28
dec esi
jns 0x180048c90
mov qword [rdi + 0x280], r14
mov rdx, qword [rsp + 0x20]
mov qword [0x180096dc0], rdi
mov byte [0x1800970f1], 0
jmp 0x180048cff
mov rdx, qword [rsp + 0x20]
mov rdi, r14
mov qword [0x180096dc0], r14
mov byte [0x1800970f1], 0
jmp 0x180048cff
mov rax, qword [rdi + 0x280]
test rax, rax
je 0x180048cff
nop word [rax + rax]
mov rdi, rax
mov rax, qword [rax + 0x280]
test rax, rax
jne 0x180048cf0
mov r9d, r14d
mov r8, r14
lea rax, [rdi + 0x10]
nop dword [rax]
cmp dword [rax], 0
je 0x180048d89
inc r8
inc r9d
add rax, 0x28
cmp r8, 0x10
jl 0x180048d10
mov ecx, 0x288
call fcn.1800472c0
mov rsi, rax
test rax, rax
je 0x180048d63
lea rbx, [rax + 0x20]
nop dword [rax + rax]
lea rcx, [rbx - 0x20]
xor edx, edx
call fcn.180041660
mov dword [rbx - 0x10], r14d
mov qword [rbx], r14
add rbx, 0x28
dec ebp
jns 0x180048d40
mov qword [rsi + 0x280], r14
jmp 0x180048d66
mov rsi, r14
mov rax, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov qword [rsi + 0x20], rax
call fcn.180042000
mov dword [rsi + 0x10], r13d
mov qword [rdi + 0x280], rsi
jmp 0x180048da9
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.180042000
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