Function at 0x4dedc0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x98]
cmp r12, qword [r14 + 0x10]
jbe 0x4df65e
push rbp
mov rbp, rsp
sub rsp, 0x110
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x80], rdi
test rdi, rdi
je 0x4dee15
jmp 0x4dee2b
jmp 0x4dee17
mov qword [rsp + 0x30], 0
xor eax, eax
add rsp, 0x110
pop rbp
ret
cmp rdi, 1
je 0x4dee36
jmp 0x4deebd
jmp 0x4dee38
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rcx
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax]
mov byte [rsp + 0x2a], al
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], al
call fcn.00403880
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x50], rax
jmp 0x4deeaf
mov qword [rsp + 0x30], rax
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0xc8], rdx
cmp rdi, rdx
je 0x4deed4
jmp 0x4def3d
jmp 0x4deee0
cmp qword [rsp + 0x128], rdi
je 0x4deeec
jmp 0x4def22
mov rbx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x130]
mov rcx, rdi
nop
call fcn.00403380
test al, al
jne 0x4def0b
jmp 0x4def1f
mov qword [rsp + 0x30], 0
xor eax, eax
add rsp, 0x110
pop rbp
ret
nop
jmp 0x4def24
jmp 0x4def24
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0xc0], rdx
cmp rdi, rdx
jg 0x4def54
jmp 0x4def6f
jmp 0x4def56
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
ret
cmp qword [0x007cd9c8], rdi
jge 0x4def7d
jmp 0x4df058
jmp 0x4def7f
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0xb8], rdx
cmp rdx, 0x40
jle 0x4def97
jmp 0x4deffc
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x138]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rbx
call fcn.00403700
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x30], rax
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0x130]
movzx edx, byte [rdx]
mov byte [rsp + 0x2e], dl
mov rdx, qword [rsp + 0x130]
movzx edx, byte [rdx + 1]
mov byte [rsp + 0x2c], dl
mov qword [rsp + 0x60], 0
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0xb8], rdx
mov rsi, qword [rsp + 0x80]
sub rdx, rsi
inc rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0xa8], 0
jmp 0x4df377
jmp 0x4df05a
mov rdx, qword [rsp + 0x130]
movzx edx, byte [rdx]
mov byte [rsp + 0x2d], dl
mov rdx, qword [rsp + 0x130]
movzx edx, byte [rdx + 1]
mov byte [rsp + 0x2b], dl
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 0xc0], rdx
mov rsi, qword [rsp + 0x80]
sub rdx, rsi
inc rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0xa0], 0
jmp 0x4df0b3
mov rdx, qword [rsp + 0x58]
cmp qword [rsp + 0x68], rdx
jg 0x4df0c5
nop
jmp 0x4df35e
mov rdx, qword [rsp + 0x120]
add rdx, qword [rsp + 0x58]
movzx edx, byte [rdx]
cmp byte [rsp + 0x2d], dl
jne 0x4df0e5
nop dword [rax + rax]
jmp 0x4df1c7
mov rax, qword [rsp + 0x58]
lea rcx, [rax + 1]
mov qword [rsp + 0xc0], rcx
mov rdx, qword [rsp + 0x68]
sub rdx, rax
lea rax, [rdx - 1]
mov rdx, rax
neg rax
sar rax, 0x3f
and rcx, rax
add rcx, qword [rsp + 0x120]
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rdx
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x28], al
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], al
nop dword [rax]
call fcn.00403880
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x38], rax
jmp 0x4df18b
mov qword [rsp + 0x90], rax
test rax, rax
jl 0x4df19a
jmp 0x4df1b3
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0x58]
lea rdx, [rax + rdx]
lea rdx, [rdx + 1]
mov qword [rsp + 0x58], rdx
jmp 0x4df1c9
jmp 0x4df1c9
mov rdx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x58]
lea rdx, [rsi + rdx]
lea rdx, [rdx + 1]
movzx edx, byte [rdx]
cmp byte [rsp + 0x2b], dl
sete byte [rsp + 0x2f]
je 0x4df1ee
jmp 0x4df258
mov rax, qword [rsp + 0x58]
add rax, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0x58]
sub rax, rdx
mov rcx, rax
neg rax
sar rax, 0x3f
and rax, rdx
add rax, qword [rsp + 0x120]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
cmp qword [rsp + 0x138], rcx
sete dl
je 0x4df23f
jmp 0x4df24e
mov rbx, qword [rsp + 0x130]
call fcn.00403380
jmp 0x4df252
mov eax, edx
jmp 0x4df252
mov byte [rsp + 0x2f], al
jmp 0x4df25a
jmp 0x4df25a
cmp byte [rsp + 0x2f], 0
nop
jne 0x4df264
jmp 0x4df277
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0x58]
inc rdx
mov qword [rsp + 0x58], rdx
mov rsi, qword [rsp + 0xa0]
inc rsi
mov qword [rsp + 0xa0], rsi
sar rdx, 4
add rdx, 4
cmp rdx, rsi
setle byte [rsp + 0x2f]
jle 0x4df2ab
jmp 0x4df2bc
mov rdx, qword [rsp + 0x58]
cmp qword [rsp + 0x68], rdx
setg byte [rsp + 0x2f]
jmp 0x4df2be
jmp 0x4df2be
cmp byte [rsp + 0x2f], 0
jne 0x4df2ca
jmp 0x4df357
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x128]
sub rbx, rax
mov rdx, rbx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, qword [rsp + 0x120]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rbx
mov rdi, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.00402ba0
mov qword [rsp + 0xb0], rax
nop dword [rax]
test rax, rax
jl 0x4df327
jmp 0x4df341
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
nop
ret
mov rcx, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x30], rax
add rsp, 0x110
pop rbp
ret
jmp 0x4df359
jmp 0x4df0b3
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0x60]
nop dword [rax]
cmp qword [rsp + 0x70], rdx
jg 0x4df38c
jmp 0x4df645
mov rdx, qword [rsp + 0x120]
add rdx, qword [rsp + 0x60]
movzx edx, byte [rdx]
nop dword [rax]
cmp byte [rsp + 0x2e], dl
jne 0x4df3ab
jmp 0x4df48a
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 1]
mov qword [rsp + 0xb8], rcx
mov rdx, qword [rsp + 0x70]
sub rdx, rax
lea rax, [rdx - 1]
mov rdx, rax
neg rax
sar rax, 0x3f
and rcx, rax
add rcx, qword [rsp + 0x120]
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rdx
movzx eax, byte [rsp + 0x2e]
mov byte [rsp + 0x29], al
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], al
call fcn.00403880
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x48], rax
jmp 0x4df44e
mov qword [rsp + 0x98], rax
test rax, rax
jl 0x4df45d
jmp 0x4df476
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0x60]
lea rdx, [rax + rdx]
lea rdx, [rdx + 1]
mov qword [rsp + 0x60], rdx
jmp 0x4df48c
jmp 0x4df48c
mov rdx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x60]
lea rdx, [rsi + rdx]
lea rdx, [rdx + 1]
movzx edx, byte [rdx]
cmp byte [rsp + 0x2c], dl
sete byte [rsp + 0x2f]
je 0x4df4b1
jmp 0x4df51d
mov rax, qword [rsp + 0x60]
add rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x60]
sub rax, rdx
mov rcx, rax
neg rax
sar rax, 0x3f
and rax, rdx
add rax, qword [rsp + 0x120]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
cmp qword [rsp + 0x138], rcx
sete dl
nop
je 0x4df504
jmp 0x4df513
mov rbx, qword [rsp + 0x130]
call fcn.00403380
jmp 0x4df517
mov eax, edx
jmp 0x4df517
mov byte [rsp + 0x2f], al
jmp 0x4df51f
jmp 0x4df51f
cmp byte [rsp + 0x2f], 0
jne 0x4df528
jmp 0x4df53b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
add rsp, 0x110
pop rbp
ret
mov rdx, qword [rsp + 0xa8]
inc rdx
mov qword [rsp + 0xa8], rdx
mov rsi, qword [rsp + 0x60]
lea rdi, [rsi + 1]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x88], rdi
lea r8, [rsi + 0x11]
sar r8, 0x3f
shr r8, 0x3d
lea r8, [rsi + r8]
lea r8, [r8 + 0x11]
sar r8, 3
mov qword [rsp + 0x40], r8
jmp 0x4df583
cmp r8, rdx
jl 0x4df58d
jmp 0x4df63a
mov rax, qword [rsp + 0x128]
sub rax, rsi
dec rax
mov rcx, rax
neg rax
sar rax, 0x3f
and rdi, rax
add rdi, qword [rsp + 0x120]
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], rcx
mov rax, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x130]
mov qword [rsp], rdi
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rax
call fcn.00403700
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
test rax, rax
jge 0x4df60b
jmp 0x4df621
mov rcx, qword [rsp + 0x60]
add rax, rcx
mov qword [rsp + 0x30], rax
add rsp, 0x110
pop rbp
ret
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
ret
jmp 0x4df640
jmp 0x4df377
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x110
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045dde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004dedc0