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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x34]
call fcn.140008158
mov r8, rax
mov edx, 0x100
lea rcx, [rsp + 0x48]
call fcn.1400080dc
nop
mov dword [rsp + 0x28], 0
jmp 0x140005dbb
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x100
jge 0x140005ddf
movsxd rax, dword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007ee8
mov cl, byte [rsp + 0x28]
mov byte [rax], cl
jmp 0x140005db1
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
jmp 0x140005dfb
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100
jge 0x140005ec8
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007ee8
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
movsxd rcx, dword [rsp + 0x24]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0xd0]
call fcn.1400083dc
mov qword [rsp + 0x70], rax
xor edx, edx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
mov rcx, qword [rsp + 0x70]
div rcx
mov rax, rdx
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.140008408
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007ee8
mov qword [rsp + 0x78], rax
movsxd rcx, dword [rsp + 0x24]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140007ee8
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call fcn.140009784
jmp 0x140005df1
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x90]
call fcn.14000875c
mov dword [rsp + 0x30], 0
jmp 0x140005f01
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400083dc
mov rcx, qword [rsp + 0x80]
cmp rcx, rax
jae 0x140006040
mov eax, dword [rsp + 0x2c]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007ee8
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007ee8
mov qword [rsp + 0x88], rax
movsxd rcx, dword [rsp + 0x2c]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140007ee8
mov rcx, qword [rsp + 0x88]
mov rdx, rcx
mov rcx, rax
call fcn.140009784
movsxd rax, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140008408
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x2c]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007ee8
movzx eax, byte [rax]
mov dword [rsp + 0x40], eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140007ee8
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007ee8
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x60]
movsx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x60]
mov byte [rcx], al
jmp 0x140005ef7
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xc0]
call fcn.140008668
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x90]
call fcn.140008640
nop
lea rcx, [rsp + 0x48]
call fcn.140007fc4
mov rax, qword [rsp + 0xc0]
add rsp, 0xb8
ret