Function at 0x180057850
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 0x180057b8b
test rbp, rbp
je 0x180057b8b
movzx r8d, byte [rbp]
mov eax, r8d
xor eax, 1
mov dword [rsp + 0x40], eax
lea eax, [r8 - 0x13]
cmp eax, 0x81
ja case.0x1800578cf.20
lea r10, [0x180000000]
cdqe
movzx eax, byte [r10 + rax + 0x57bbc]
mov ecx, dword [r10 + rax*4 + 0x57b98]
add rcx, r10
jmp rcx
mov rdx, qword [rbp + 0x10]
mov r8d, ebx
mov rcx, rdi
call fcn.180057850
inc dword [rdi + 0x78]
mov rdx, qword [rbp + 0x18]
mov r9d, dword [rsp + 0x88]
mov r8d, ebx
mov rcx, rdi
call fcn.180057850
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.180055310
mov rcx, rdx
call fcn.18003ad30
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.180057460
inc dword [rdi + 0x78]
mov rdx, qword [rbp + 0x18]
mov r8d, dword [rsp + 0x80]
mov r9d, esi
mov rcx, rdi
call fcn.180057850
mov rcx, qword [rsp + 0x48]
mov edx, ebx
call fcn.18003ada0
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.180055310
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.180057460
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.180056d60
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x44]
mov rcx, rdi
mov ebx, eax
call fcn.180056d60
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.180051190
jmp 0x180057b09
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.180056d60
mov edx, dword [rsp + 0x40]
mov dword [rsp + 0x20], esi
jmp 0x180057af9
mov dword [rsp + 0x20], r9d
mov r8d, ebx
mov rdx, rbp
xor r9d, r9d
mov rcx, rdi
call fcn.180057310
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
test r9d, r9d
je 0x180057a66
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.1800544d0
mov rcx, rdx
call fcn.18003ad30
mov r8d, dword [rsp + 0x80]
mov rdx, rbp
mov r9d, eax
mov rcx, rdi
mov ebx, eax
call fcn.1800544d0
mov rcx, qword [rsp + 0x48]
mov edx, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.18003ada0
mov rcx, rbp
call fcn.180051990
test eax, eax
je 0x180057ac2
mov rcx, qword [rsp + 0x48]
mov edx, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.18003a830
mov rcx, rbp
call fcn.1800518d0
test eax, eax
jne 0x180057b8b
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rdi
call fcn.180056d60
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.18003a6c0
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x180057b46
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x180057b46
mov ecx, esi
lea rax, [rdi + 0x90]
cmp dword [rax + 0xc], edx
je 0x180057b42
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180057b25
movzx eax, r8b
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
jmp 0x180057b46
mov byte [rax + 6], 1
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x180057b8b
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x180057b8b
lea rax, [rdi + 0x90]
nop
cmp dword [rax + 0xc], ecx
je 0x180057b87
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180057b60
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