Function at 0x4df840
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x1c0]
cmp r12, qword [r14 + 0x10]
jbe 0x4e03fe
push rbp
mov rbp, rsp
sub rsp, 0x238
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x250], rbx
mov qword [rsp + 0x258], rcx
mov qword [rsp + 0x260], rdi
mov qword [rsp + 0x268], rsi
mov qword [rsp + 0x270], r8
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x78], rsi
nop dword [rax + rax]
test rsi, rsi
je 0x4df8a7
jmp 0x4df8c0
jmp 0x4df8a9
mov qword [rsp + 0x48], 0
xor eax, eax
add rsp, 0x238
pop rbp
ret
cmp rsi, 1
je 0x4df8cb
jmp 0x4df970
jmp 0x4df8cd
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], rcx
mov qword [rsp + 0x218], rdx
mov rax, qword [rsp + 0x260]
movzx eax, byte [rax]
mov byte [rsp + 0x44], al
mov rcx, qword [rsp + 0x208]
mov rdx, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x218]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], al
call fcn.00403860
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x68], rax
nop
jmp 0x4df962
mov qword [rsp + 0x48], rax
add rsp, 0x238
pop rbp
ret
mov rdx, qword [rsp + 0x250]
mov qword [rsp + 0xe0], rdx
cmp rsi, rdx
je 0x4df98a
jmp 0x4dfa87
jmp 0x4df98c
mov rdx, qword [rsp + 0x260]
mov rsi, qword [rsp + 0x268]
mov qword [rsp + 0x178], rdx
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x188], r8
mov rdx, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x258]
mov rdi, qword [rsp + 0x248]
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1f8], rdx
mov qword [rsp + 0x200], rsi
mov rdx, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x180]
mov qword [rsp + 0x138], rdx
mov qword [rsp + 0x140], rsi
mov rbx, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x1f8]
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rdx
cmp qword [rsp + 0x140], rdx
sete dl
je 0x4dfa33
jmp 0x4dfa4a
mov rcx, qword [rsp + 0x140]
mov rax, qword [rsp + 0x138]
call fcn.00403380
jmp 0x4dfa4e
mov eax, edx
jmp 0x4dfa4e
mov byte [rsp + 0x3f], al
jmp 0x4dfa54
test al, al
jne 0x4dfa5a
jmp 0x4dfa6e
mov qword [rsp + 0x48], 0
xor eax, eax
add rsp, 0x238
pop rbp
ret
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x238
pop rbp
ret
mov rdx, qword [rsp + 0x250]
mov qword [rsp + 0xd8], rdx
cmp rsi, rdx
jg 0x4dfa9e
jmp 0x4dfac0
nop
jmp 0x4dfaa2
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x238
pop rbp
ret
cmp qword [0x007cd9c8], rsi
jge 0x4dface
jmp 0x4dfbc6
jmp 0x4dfad0
mov rdx, qword [rsp + 0x250]
mov qword [rsp + 0xd0], rdx
cmp rdx, 0x40
jle 0x4dfae8
jmp 0x4dfb67
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x248]
mov rdx, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x258]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rsi
call fcn.004036c0
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x48], rax
add rsp, 0x238
pop rbp
ret
mov rdx, qword [rsp + 0x260]
movzx edx, byte [rdx]
mov byte [rsp + 0x46], dl
mov rdx, qword [rsp + 0x260]
movzx edx, byte [rdx + 1]
mov byte [rsp + 0x41], dl
mov qword [rsp + 0x98], 0
mov rdx, qword [rsp + 0x250]
mov qword [rsp + 0xd0], rdx
mov rsi, qword [rsp + 0x78]
sub rdx, rsi
inc rdx
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0x88], 0
jmp 0x4dffed
jmp 0x4dfbc8
mov rdx, qword [rsp + 0x260]
movzx edx, byte [rdx]
mov byte [rsp + 0x45], dl
mov rdx, qword [rsp + 0x260]
movzx edx, byte [rdx + 1]
mov byte [rsp + 0x40], dl
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x80], 0
mov rdx, qword [rsp + 0x250]
mov qword [rsp + 0xd8], rdx
mov r9, qword [rsp + 0x78]
sub rdx, r9
inc rdx
mov qword [rsp + 0xb8], rdx
jmp 0x4dfc24
mov rdx, qword [rsp + 0x90]
cmp qword [rsp + 0xb8], rdx
jg 0x4dfc3b
jmp 0x4dffd2
mov rdx, qword [rsp + 0x248]
add rdx, qword [rsp + 0x90]
movzx edx, byte [rdx]
cmp byte [rsp + 0x45], dl
jne 0x4dfc59
jmp 0x4dfd60
mov rax, qword [rsp + 0x90]
lea rcx, [rax + 1]
mov qword [rsp + 0xd8], rcx
mov rdx, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x258]
sub rbx, rax
dec rbx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and rcx, rbx
add rcx, qword [rsp + 0x248]
sub rdx, rax
lea rax, [rdx - 1]
mov qword [rsp + 0x220], rcx
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x1a8], rcx
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], rsi
movzx eax, byte [rsp + 0x45]
mov byte [rsp + 0x42], al
mov rcx, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x1b8]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], al
call fcn.00403860
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x50], rax
jmp 0x4dfd2d
mov qword [rsp + 0xa0], rax
test rax, rax
jl 0x4dfd3c
jmp 0x4dfd45
nop dword [rax]
jmp 0x4dffd4
mov rdx, qword [rsp + 0x90]
lea rdx, [rax + rdx]
lea rdx, [rdx + 1]
mov qword [rsp + 0x90], rdx
jmp 0x4dfd62
jmp 0x4dfd62
mov rdx, qword [rsp + 0x248]
mov r9, qword [rsp + 0x90]
lea rdx, [r9 + rdx]
lea rdx, [rdx + 1]
movzx edx, byte [rdx]
cmp byte [rsp + 0x40], dl
sete byte [rsp + 0x47]
je 0x4dfd8d
jmp 0x4dfea3
mov rdx, qword [rsp + 0x90]
add rdx, qword [rsp + 0x78]
mov qword [rsp + 0xd8], rdx
mov r9, qword [rsp + 0x90]
sub rdx, r9
mov r10, qword [rsp + 0x258]
sub r10, r9
mov r11, r10
neg r10
sar r10, 0x3f
and r9, r10
add r9, qword [rsp + 0x248]
mov qword [rsp + 0x220], r9
mov qword [rsp + 0x228], rdx
mov qword [rsp + 0x230], r11
mov qword [rsp + 0x148], r9
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], r11
mov rdx, qword [rsp + 0x260]
mov r9, qword [rsp + 0x268]
mov r10, qword [rsp + 0x270]
mov qword [rsp + 0x190], rdx
mov qword [rsp + 0x198], r9
mov qword [rsp + 0x1a0], r10
mov rdx, qword [rsp + 0x148]
mov r9, qword [rsp + 0x150]
mov qword [rsp + 0xf8], rdx
mov qword [rsp + 0x100], r9
mov rbx, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x198]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rdx
cmp qword [rsp + 0x100], rdx
sete dl
je 0x4dfe7c
jmp 0x4dfe93
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0xf8]
call fcn.00403380
jmp 0x4dfe97
mov eax, edx
jmp 0x4dfe97
mov byte [rsp + 0x3d], al
jmp 0x4dfe9d
mov byte [rsp + 0x47], al
jmp 0x4dfea5
jmp 0x4dfea5
cmp byte [rsp + 0x47], 0
jne 0x4dfeae
jmp 0x4dfec4
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
add rsp, 0x238
pop rbp
ret
mov rdx, qword [rsp + 0x90]
inc rdx
mov qword [rsp + 0x90], rdx
mov r9, qword [rsp + 0x80]
inc r9
mov qword [rsp + 0x80], r9
sar rdx, 4
add rdx, 4
cmp rdx, r9
setle byte [rsp + 0x47]
jle 0x4dfefe
jmp 0x4dff15
mov rdx, qword [rsp + 0x90]
cmp qword [rsp + 0xb8], rdx
setg byte [rsp + 0x47]
jmp 0x4dff17
jmp 0x4dff17
cmp byte [rsp + 0x47], 0
jne 0x4dff25
nop
jmp 0x4dffcb
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x250]
sub rbx, rax
mov rcx, qword [rsp + 0x258]
sub rcx, rax
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, qword [rsp + 0x248]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], rbx
mov qword [rsp + 0x230], rcx
mov rsi, qword [rsp + 0x268]
mov r8, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x260]
call fcn.00402960
mov qword [rsp + 0x70], rax
test rax, rax
jl 0x4dff99
jmp 0x4dffb2
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x238
pop rbp
ret
mov rcx, qword [rsp + 0x90]
add rax, rcx
mov qword [rsp + 0x48], rax
add rsp, 0x238
pop rbp
ret
jmp 0x4dffcd
jmp 0x4dfc24
jmp 0x4dffd4
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x238
pop rbp
ret
mov rdx, qword [rsp + 0x98]
cmp qword [rsp + 0xc0], rdx
jg 0x4e0005
nop
jmp 0x4e03e5
mov rdx, qword [rsp + 0x248]
add rdx, qword [rsp + 0x98]
movzx edx, byte [rdx]
cmp byte [rsp + 0x46], dl
jne 0x4e0025
nop
jmp 0x4e013b
mov rax, qword [rsp + 0x98]
lea rcx, [rax + 1]
mov qword [rsp + 0xd0], rcx
mov rdx, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x258]
sub rbx, rax
dec rbx
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and rcx, rbx
add rcx, qword [rsp + 0x248]
sub rdx, rax
lea rax, [rdx - 1]
mov qword [rsp + 0x220], rcx
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x1d8], rcx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rsi
movzx eax, byte [rsp + 0x46]
mov byte [rsp + 0x43], al
mov rcx, qword [rsp + 0x1d8]
mov rdx, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x1e8]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], al
call fcn.00403860
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x60], rax
jmp 0x4e00f9
mov qword [rsp + 0xa8], rax
test rax, rax
jl 0x4e0108
jmp 0x4e0121
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x238
pop rbp
ret
mov rdx, qword [rsp + 0x98]
lea rdx, [rax + rdx]
lea rdx, [rdx + 1]
mov qword [rsp + 0x98], rdx
jmp 0x4e013d
jmp 0x4e013d
mov rdx, qword [rsp + 0x248]
mov rsi, qword [rsp + 0x98]
lea rdx, [rsi + rdx]
lea rdx, [rdx + 1]
movzx edx, byte [rdx]
cmp byte [rsp + 0x41], dl
sete byte [rsp + 0x47]
je 0x4e0168
jmp 0x4e027e
mov rdx, qword [rsp + 0x98]
add rdx, qword [rsp + 0x78]
mov qword [rsp + 0xd0], rdx
mov rsi, qword [rsp + 0x98]
sub rdx, rsi
mov rdi, qword [rsp + 0x258]
sub rdi, rsi
mov r8, rdi
neg rdi
sar rdi, 0x3f
and rsi, rdi
add rsi, qword [rsp + 0x248]
mov qword [rsp + 0x220], rsi
mov qword [rsp + 0x228], rdx
mov qword [rsp + 0x230], r8
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x170], r8
mov rdx, qword [rsp + 0x260]
mov rsi, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x270]
mov qword [rsp + 0x1c0], rdx
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x1d0], rdi
mov rdx, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x120], rsi
mov rbx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rdx
cmp qword [rsp + 0x120], rdx
sete dl
je 0x4e0257
jmp 0x4e026e
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x118]
call fcn.00403380
jmp 0x4e0272
mov eax, edx
jmp 0x4e0272
mov byte [rsp + 0x3e], al
jmp 0x4e0278
mov byte [rsp + 0x47], al
jmp 0x4e0282
nop
jmp 0x4e0282
cmp byte [rsp + 0x47], 0
jne 0x4e028b
jmp 0x4e02a1
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
add rsp, 0x238
pop rbp
ret
mov rdx, qword [rsp + 0x88]
inc rdx
mov qword [rsp + 0x88], rdx
mov rsi, qword [rsp + 0x98]
lea rdi, [rsi + 1]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xb0], 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 + 0x58], r8
jmp 0x4e02ef
cmp r8, rdx
jl 0x4e02f9
jmp 0x4e03da
mov rax, qword [rsp + 0x250]
sub rax, rsi
dec rax
mov rcx, qword [rsp + 0x258]
sub rcx, rsi
dec rcx
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and rdi, rcx
add rdi, qword [rsp + 0x248]
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x230], rdx
mov rcx, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x260]
mov qword [rsp], rdi
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
call fcn.004036c0
xorps xmm15, xmm15
mov r14, qword [0x007cd9d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xc8], rax
nop dword [rax + rax]
test rax, rax
jge 0x4e03a7
jmp 0x4e03c1
mov rcx, qword [rsp + 0x98]
add rax, rcx
mov qword [rsp + 0x48], rax
add rsp, 0x238
pop rbp
nop
ret
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x238
pop rbp
ret
jmp 0x4e03e0
jmp 0x4dffed
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0x238
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
nop dword [rax]
call fcn.0045dde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.004df840