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

Disassembly:
jmp 0x140024370
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x160
lea rdi, [rsp + 0x20]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x170]
mov rax, qword [0x1401e6440]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x20], 0
jmp 0x1400243c9
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x140024405
mov eax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0x20
jae 0x1400243ec
jmp 0x1400243f1
call fcn.140004bab
xor eax, eax
mov rcx, qword [rsp + 0x120]
mov word [rsp + rcx + 0xa8], ax
jmp 0x1400243bf
mov dword [rsp + 0x24], 0
jmp 0x140024419
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x24], eax
jae 0x14002445b
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xa8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x178]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xa8], ax
jmp 0x14002440f
mov rax, qword [rsp + 0x190]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x2c], 0xf
jmp 0x14002447d
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 1
jb 0x140024498
mov eax, dword [rsp + 0x2c]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x140024496
jmp 0x140024498
jmp 0x140024473
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x30], eax
jbe 0x1400244aa
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x2c], 0
jne 0x14002452d
mov byte [rsp + 0x64], 0x40
mov byte [rsp + 0x65], 1
xor eax, eax
mov word [rsp + 0x66], ax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x64]
mov dword [rax], ecx
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x64]
mov dword [rax], ecx
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rax, qword [rsp + 0x190]
mov dword [rax], 1
xor eax, eax
jmp 0x140024c56
mov dword [rsp + 0x28], 1
jmp 0x140024541
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x14002455f
mov eax, dword [rsp + 0x28]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x14002455d
jmp 0x14002455f
jmp 0x140024537
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jae 0x140024571
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x20], 1
jmp 0x14002458d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x1400245c9
mov eax, dword [rsp + 0x3c]
shl eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x1400245c7
mov eax, 0xffffffff
jmp 0x140024c56
jmp 0x140024583
cmp dword [rsp + 0x3c], 0
jle 0x1400245eb
cmp dword [rsp + 0x170], 0
je 0x1400245e1
cmp dword [rsp + 0x2c], 1
je 0x1400245eb
mov eax, 0xffffffff
jmp 0x140024c56
mov qword [rsp + 0x128], 2
cmp qword [rsp + 0x128], 0x20
jae 0x140024604
jmp 0x140024609
call fcn.140004bab
xor eax, eax
mov rcx, qword [rsp + 0x128]
mov word [rsp + rcx + 0xe8], ax
mov dword [rsp + 0x20], 1
jmp 0x14002462f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
jae 0x140024662
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xe8]
mov ecx, dword [rsp + 0x20]
movzx ecx, word [rsp + rcx*2 + 0xa8]
add eax, ecx
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
mov word [rsp + rcx*2 + 0xe8], ax
jmp 0x140024625
mov dword [rsp + 0x24], 0
jmp 0x140024676
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x24], eax
jae 0x1400246f8
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x1400246f3
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xe8]
mov rcx, qword [rsp + 0x198]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xe8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x178]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xe8], ax
jmp 0x14002466c
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x14002471c
cmp dword [rsp + 0x130], 1
je 0x140024749
jmp 0x140024774
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x90], 0x14
jmp 0x14002479d
lea rax, [0x14019cdb0]
mov qword [rsp + 0x80], rax
lea rax, [0x14019cdf0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0x101
jmp 0x14002479d
lea rax, [0x14019ce30]
mov qword [rsp + 0x80], rax
lea rax, [0x14019ce70]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x50], 0xffffffff
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x134], ecx
movzx ecx, al
mov eax, dword [rsp + 0x134]
shl eax, cl
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x170], 1
jne 0x14002481b
cmp dword [rsp + 0x40], 0x354
ja 0x14002482f
cmp dword [rsp + 0x170], 2
jne 0x140024839
cmp dword [rsp + 0x40], 0x250
jbe 0x140024839
mov eax, 1
jmp 0x140024c56
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
inc eax
cmp eax, dword [rsp + 0x90]
jae 0x140024880
mov byte [rsp + 0x64], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x66], ax
jmp 0x1400248fa
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x90]
jb 0x1400248ee
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x90]
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x90]
mov eax, eax
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x66], ax
jmp 0x1400248fa
mov byte [rsp + 0x64], 0x60
xor eax, eax
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x138], ecx
movzx ecx, al
mov eax, dword [rsp + 0x138]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0x13c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x13c]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x44]
shr eax, cl
add eax, dword [rsp + 0x4c]
mov eax, eax
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x64]
mov dword [rcx + rax*4], edx
cmp dword [rsp + 0x4c], 0
jne 0x14002494a
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x140], ecx
movzx ecx, al
mov eax, dword [rsp + 0x140]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400249be
mov eax, dword [rsp + 0x48]
shr eax, 1
mov dword [rsp + 0x48], eax
jmp 0x1400249a2
cmp dword [rsp + 0x48], 0
je 0x1400249e9
mov eax, dword [rsp + 0x48]
dec eax
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x1400249f1
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
dec ax
mov word [rsp + 0x144], ax
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x144]
mov word [rsp + rax*2 + 0xa8], cx
movzx eax, word [rsp + 0x144]
test eax, eax
jne 0x140024a61
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x20], eax
jne 0x140024a41
jmp 0x140024bf5
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x198]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x178]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jbe 0x140024bf0
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x50]
je 0x140024bf0
cmp dword [rsp + 0x38], 0
jne 0x140024a94
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0x148], ecx
movzx ecx, al
mov eax, dword [rsp + 0x148]
shl eax, cl
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x2c]
jae 0x140024b29
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jg 0x140024b13
jmp 0x140024b29
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3c]
shl eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x140024ad6
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov dword [rsp + 0x14c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x14c]
shl eax, cl
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x170], 1
jne 0x140024b65
cmp dword [rsp + 0x40], 0x354
ja 0x140024b79
cmp dword [rsp + 0x170], 2
jne 0x140024b83
cmp dword [rsp + 0x40], 0x250
jbe 0x140024b83
mov eax, 1
jmp 0x140024c56
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x34]
mov byte [rcx + rax*4], dl
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x30]
mov byte [rcx + rax*4 + 1], dl
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 2
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x188]
mov rdx, qword [rdx]
mov word [rdx + rcx*4 + 2], ax
jmp 0x140024839
cmp dword [rsp + 0x44], 0
je 0x140024c28
mov byte [rsp + 0x64], 0x40
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x65], al
xor eax, eax
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x64]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rax, qword [rsp + 0x190]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14019cf90]
call fcn.1400054a2
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000380f
add rsp, 0x160
pop rdi
ret