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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
sub rsp, 0x50
xor esi, esi
mov rbp, rdx
mov rdx, qword [rcx + 0x10]
mov ebx, r8d
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x44], esi
test rdx, rdx
je 0x180052bcb
test rbp, rbp
je 0x180052bcb
movzx r8d, byte [rbp]
mov eax, r8d
xor eax, 1
mov dword [rsp + 0x40], eax
lea eax, [r8 - 0x13]
cmp eax, 0x81
ja case.0x18005290f.20
lea r10, [0x180000000]
cdqe
movzx eax, byte [r10 + rax + 0x52bfc]
mov ecx, dword [r10 + rax*4 + 0x52bd8]
add rcx, r10
jmp rcx
mov rdx, qword [rbp + 0x10]
mov r8d, ebx
mov rcx, rdi
call fcn.180052890
inc dword [rdi + 0x78]
mov rdx, qword [rbp + 0x18]
mov r9d, dword [rsp + 0x88]
mov r8d, ebx
mov rcx, rdi
call fcn.180052890
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.180050350
mov rcx, rdx
call fcn.180035d60
mov esi, dword [rsp + 0x88]
mov rdx, qword [rbp + 0x10]
mov r9d, esi
mov r8d, eax
mov rcx, rdi
xor r9d, 0x10
mov ebx, eax
call fcn.1800524a0
inc dword [rdi + 0x78]
mov rdx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0x80]
mov r9d, esi
mov rcx, rdi
call fcn.180052890
mov rcx, qword [rsp + 0x48]
mov edx, ebx
call fcn.180035dd0
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.180050350
mov rdx, qword [rbp + 0x10]
mov r8d, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.1800524a0
cmp r8b, 0x49
mov eax, esi
mov dword [rsp + 0x88], 0x80
setne al
add eax, 0x4e
mov dword [rsp + 0x40], eax
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.180051da0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x44]
mov rcx, rdi
mov ebx, eax
call fcn.180051da0
mov edx, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x38], edx
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x30], r8d
mov r8, qword [rbp + 0x18]
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.18004c1d0
jmp 0x180052b49
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.180051da0
mov edx, dword [rsp + 0x40]
mov dword [rsp + 0x20], esi
jmp 0x180052b39
mov dword [rsp + 0x20], r9d
mov r8d, ebx
mov rdx, rbp
xor r9d, r9d
mov rcx, rdi
call fcn.180052350
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
test r9d, r9d
je 0x180052aa6
mov r9d, ebx
mov r8d, ebx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.18004f510
mov rcx, rdx
call fcn.180035d60
mov r8d, dword [rsp + 0x80]
mov rdx, rbp
mov r9d, eax
mov rcx, rdi
mov ebx, eax
call fcn.18004f510
mov rcx, qword [rsp + 0x48]
mov edx, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.180035dd0
mov rcx, rbp
call fcn.18004c9d0
test eax, eax
je 0x180052b02
mov rcx, qword [rsp + 0x48]
mov edx, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.180035860
mov rcx, rbp
call fcn.18004c910
test eax, eax
jne 0x180052bcb
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rdi
call fcn.180051da0
mov edx, dword [rsp + 0x88]
mov ecx, esi
test edx, edx
mov edx, 0x2e
setne cl
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8d, eax
call fcn.1800356f0
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x180052b86
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x180052b86
mov ecx, esi
lea rax, [rdi + 0x90]
cmp dword [rax + 0xc], edx
je 0x180052b82
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180052b65
movzx eax, r8b
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
jmp 0x180052b86
mov byte [rax + 6], 1
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x180052bcb
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180052bcb
lea rax, [rdi + 0x90]
nop
cmp dword [rax + 0xc], ecx
je 0x180052bc7
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180052ba0
movzx eax, dl
mov dword [rdi + rax*4 + 0x28], ecx
inc byte [rdi + 0x1f]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov byte [rax + 6], 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret