Function at 0x65f54380
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65f54868
sub esp, 0x28
mov eax, dword [esp + 0x34]
test eax, eax
sete cl
setl dl
mov ebx, dword [esp + 0x30]
test ebx, ebx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
and ebp, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x65f54851
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jl 0x65f5483b
mov eax, dword [esp + 0x2c]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
call fcn.65f028e0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x65f54483
cmp eax, 1
jbe 0x65f5447a
cmp eax, 2
je 0x65f54520
mov eax, dword [0x663127c4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 6
call fcn.65f02900
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65f545c8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x663127c4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x65f543ca
movzx eax, byte [ebx + 0x65]
test al, al
je 0x65f543ca
mov dword [ebx + 8], 0xfffffade
jmp 0x65f543ca
test eax, eax
je 0x65f54495
jmp 0x65f5453d
cmp eax, 5
ja 0x65f5450d
cmp eax, 4
je 0x65f54520
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.65f02900
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65f545f0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x663127c4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x65f543ca
movzx eax, byte [ebx + 0x65]
test al, al
je 0x65f543ca
mov dword [ebx + 8], 0xfffffade
jmp 0x65f543ca
cmp eax, 6
je 0x65f545b5
cmp eax, 8
jbe 0x65f5453d
cmp eax, 9
jne 0x65f54533
lea eax, [0x661c1e28]
mov dword [esp], eax
call fcn.65f63440
jmp 0x65f543ca
call fcn.65f56000
jmp 0x65f543ca
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.65f02900
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65f545fd
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x663127c4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x65f543ca
movzx eax, byte [ebx + 0x65]
test al, al
je 0x65f543ca
mov dword [ebx + 8], 0xfffffade
jmp 0x65f543ca
lea eax, [0x661c1e28]
mov dword [esp], eax
call fcn.65f63440
jmp 0x65f543ca
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test byte [ecx], al
add ecx, 0x119c
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.65f02a50
xor eax, eax
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x65f54608
mov eax, 1
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x65f54608
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, 1
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov dword [ebp + 0x10], ebx
mov ebx, dword [esp + 0x38]
mov dword [ebp + 0xc], ebx
mov ebx, dword [0x663128d0]
test ebx, ebx
jne 0x65f5462a
mov ebx, dword [esp + 0x40]
jmp 0x65f5463b
call fcn.65f64960
mov ebx, dword [esp + 0x40]
mov dword [edi], ebx
mov esi, dword [ebp + 0x14]
mov dword [edi + 4], esi
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x44]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x663128d0]
test ebx, ebx
jne 0x65f54655
mov ebx, dword [esp + 0x48]
jmp 0x65f54666
call fcn.65f64960
mov ebx, dword [esp + 0x48]
mov dword [edi], ebx
mov esi, dword [ebp + 0x1c]
mov dword [edi + 4], esi
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13], dl
mov dword [ebp + 0x1c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ebp + 0x20], ebx
test al, al
jne 0x65f54769
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x28], eax
mov ebx, dword [esp + 0x30]
mov dword [ebp + 0x24], ebx
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x34]
cmp edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
cmp dword [ebp + 4], ebx
seta dl
and edx, esi
or edx, edi
test dl, dl
je 0x65f546ba
mov edx, 7
jmp 0x65f546bf
mov edx, 8
mov dword [esp + 0x14], edx
cmp edx, 7
jne 0x65f546df
mov ecx, dword [ebp]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call fcn.65f55a00
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], edx
call fcn.65f02900
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65f54705
call fcn.65f56000
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
mov ebx, dword [0x663127c4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x65f54743
movzx eax, byte [ebx + 0x65]
test al, al
je 0x65f5473a
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x65f5474a
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x65f5474a
mov eax, dword [esp + 0x14]
cmp eax, 7
jne 0x65f5482e
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.65f3fec0
jmp 0x65f5482e
mov eax, dword [esp + 0x34]
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [ebp + 4], ecx
mov edx, dword [0x663127c4]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
mov dword [esp + 0x20], edx
test byte [edx], al
lea ebx, [edx + 0x1188]
mov dword [esp + 0x1c], ebx
nop
mov dword [esp], ebx
call fcn.65f09b00
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.65f53bb0
nop
nop
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.65f09d00
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.65f02900
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65f547ed
call fcn.65f56000
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x663127c4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x65f5481a
movzx eax, byte [ebx + 0x65]
test al, al
je 0x65f5481a
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.65f3fec0
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x50], al
add esp, 0x28
ret
lea eax, [0x6611af6d]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.65f37060
lea eax, [0x66118e41]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.65f37060
nop
call fcn.65f63530
jmp fcn.65f54380