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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x1400583ab
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x5c], 0x25
jne 0x1400583a6
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x25
jne 0x140057bc5
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x140057b75
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140057940
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x140057bf9
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jle 0x140057c0b
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x28]
call fcn.1400579f0
movzx eax, al
test eax, eax
je 0x140057f23
mov r8d, 3
lea rdx, [0x140116d84]
mov rcx, qword [rsp + 0x28]
call fcn.1400a1b30
test eax, eax
jne 0x140057c69
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 3
mov qword [rsp + 0x28], rax
jmp case.0x140057cec.0
mov r8d, 3
lea rdx, [0x140116d88]
mov rcx, qword [rsp + 0x28]
call fcn.1400a1b30
test eax, eax
jne 0x140057ca2
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 3
mov qword [rsp + 0x28], rax
jmp case.0x140057cec.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x7a
ja case.0x140057cec.0
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x58830]
mov eax, dword [rcx + rax*4 + 0x587cc]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
btr eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x2a
jne 0x140057daa
mov eax, dword [rsp + 0x20]
bts eax, 0x10
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140057940
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140057d8e
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], eax
jmp 0x140057d96
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x3c], eax
jle 0x140057da8
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
jmp 0x140057dcf
mov eax, dword [rsp + 0x20]
bts eax, 0xf
mov dword [rsp + 0x20], eax
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.1400a3f78
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
and eax, 0x18000
cmp eax, 0x18000
jne 0x140057de9
mov eax, 1
jmp 0x1400587c5
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
je 0x140057e26
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp 0x140057e31
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
bts eax, 7
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne case.0x140057cec.48
mov eax, dword [rsp + 0x20]
bts eax, 8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
bts eax, 0xd
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
dec rax
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1400a3f78
mov dword [rsp + 0x34], eax
jmp case.0x140057cec.0
mov eax, dword [rsp + 0x20]
bts eax, 0xe
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140057940
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140057ef5
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x140057efd
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jle 0x140057f0f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
jmp case.0x140057cec.0
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
jmp 0x140057c1b
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140057f3e
cmp dword [rsp + 0x24], 0x80
jl 0x140057f48
mov eax, 1
jmp 0x1400587c5
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x45
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x33
ja case.0x140057f88.70
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x588f0]
mov eax, dword [rcx + rax*4 + 0x588ac]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 1
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 4
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 2
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 9
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 0xa
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
or eax, 0xa00
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
or eax, 0x1a00
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 0x11
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
bts eax, 0x12
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
or eax, 0x41000
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
bts eax, 0x13
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
or eax, 0x81000
mov dword [rsp + 0x20], eax
jmp 0x1400581aa
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax + 4], edx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax + 8], edx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax + 0xc], edx
mov eax, dword [rsp + 0x20]
and eax, 0x4000
test eax, eax
je 0x1400582a7
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140058221
cmp dword [rsp + 0x38], 0x80
jl 0x14005822b
mov eax, 1
jmp 0x1400587c5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax + 8], edx
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 9
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 4], 0
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 0xc], 0
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x140058359
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400582d3
cmp dword [rsp + 0x40], 0x80
jl 0x1400582dd
mov eax, 1
jmp 0x1400587c5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax + 0xc], edx
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 9
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 4], 0
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 0xc], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
jne 0x14005836f
mov dword [rsp + 0x54], 0
jmp 0x140058377
mov dword [rsp + 0x54], 1
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
jmp 0x140057b75
mov dword [rsp + 0x24], 0
jmp 0x1400583bf
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x24], eax
jge 0x1400587c3
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x4000
test eax, eax
je 0x140058432
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
movsxd rcx, dword [rdx + rcx + 8]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x10000
test eax, eax
je 0x140058497
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
movsxd rcx, dword [rdx + rcx + 0xc]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 9
ja case.0x1400584d0.5
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x58924]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp case.0x1400584d0.5
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp case.0x1400584d0.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x40
test eax, eax
je 0x1400585bd
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x1400585bd
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp 0x14005876a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x40
test eax, eax
je 0x140058614
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp 0x14005876a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x20
test eax, eax
je 0x140058688
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140058688
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x14005876a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x20
test eax, eax
je 0x1400586df
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x14005876a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140058734
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x14005876a
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp case.0x1400584d0.5
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsd xmm0, qword [rax - 8]
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
movsd qword [rcx + rax + 0x10], xmm0
jmp case.0x1400584d0.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x1400583b5
xor eax, eax
add rsp, 0x78
ret