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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140005cf8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rax
jae 0x140005cf8
mov dword [rsp + 0x3c], 0xffffffff
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x3c], eax
jne 0x140005bc7
mov dword [rsp + 0x28], 1
jmp 0x140005bcf
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140005c48
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov eax, 1
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x44], eax
jne 0x140005c2a
mov dword [rsp + 0x2c], 1
jmp 0x140005c32
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140005cf8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov dword [rcx], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
dec rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0xb8], eax
je 0x140005cb9
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x34], eax
jmp 0x140005ce2
mov dword [rsp + 0x4c], 0xffffffff
cmp dword [rsp + 0x4c], 0
jne 0x140005cd2
mov dword [rsp + 0x30], 1
jmp 0x140005cda
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
jmp 0x140005e1c
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x80], 0
je 0x140005d43
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x54], eax
jne 0x140005d29
mov dword [rsp + 0x38], 1
jmp 0x140005d31
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140005d59
mov dword [rsp + 0x58], 0xffffffff
mov eax, dword [rsp + 0x58]
jmp 0x140005e1c
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
jne 0x140005daf
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x88], rax
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x23], al
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x23]
call fcn.140001fd0
movzx eax, al
test eax, eax
je 0x140005daf
mov eax, dword [rsp + 0xb8]
jmp 0x140005e1c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xb0]
add rax, 0x70
cmp qword [rsp + 0x90], rax
je 0x140005e10
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0xb0]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0x70], cl
mov rcx, qword [rsp + 0xb0]
call fcn.140006cc0
mov eax, dword [rsp + 0xb8]
jmp 0x140005e1c
mov dword [rsp + 0x5c], 0xffffffff
mov eax, dword [rsp + 0x5c]
add rsp, 0xa8
ret