Function at 0x5920f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8bccc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], ecx
lea eax, [ecx + 8]
mov ecx, edx
push eax
call fcn.0040618c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406514
push 0x60
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push 0
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push 0xa21edc
push eax
push edx
call fcn.004fe908
mov eax, dword [ebp + 0x10]
lea edx, [eax + 1]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
push 0xa1610c
push edx
push ecx
call fcn.004fe908
add esp, 0x28
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 2]
add esp, 0xffffffe8
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa161b8
mov dword [esp + 0xc], 0xa178e0
fld dword [ebx + 0x18]
fstp qword [esp + 0x10]
call fcn.004fe908
add esp, 0x18
add esp, 0xffffffe8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [esp], eax
mov ecx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa161b8
mov dword [esp + 0xc], 0xa17914
fld dword [ecx + 0x1c]
fstp qword [esp + 0x10]
call fcn.004fe908
add esp, 0x18
add esp, 0xffffffe8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [esp], eax
mov ecx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xa161b8
mov dword [esp + 0xc], 0xa18200
fld dword [ecx + 0x20]
fstp qword [esp + 0x10]
call fcn.004fe908
add esp, 0x18
mov esi, dword [ebp - 0x18]
mov al, byte [esi + 0x30]
test al, al
je 0x59221b
mov eax, 0xa1627c
jmp 0x592220
mov eax, 0xa16280
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push 0xa21f10
push 0xa16248
push eax
push edx
call fcn.004fe908
add esp, 0x14
mov al, byte [esi + 0x31]
test al, al
je 0x592249
mov eax, 0xa1627c
jmp 0x59224e
mov eax, 0xa16280
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push 0xa21f1c
push 0xa16248
push eax
push edx
call fcn.004fe908
add esp, 0x14
mov al, byte [esi + 0x32]
test al, al
je 0x592277
mov eax, 0xa1627c
jmp 0x59227c
mov eax, 0xa16280
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push 0xa21f24
push 0xa16248
push eax
push edx
call fcn.004fe908
add esp, 0x14
mov al, byte [esi + 0x33]
test al, al
je 0x5922a5
mov eax, 0xa1627c
jmp 0x5922aa
mov eax, 0xa16280
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push 0xa21f34
push 0xa16248
push eax
push edx
call fcn.004fe908
add esp, 0x14
mov al, byte [esi + 0x24]
test al, al
je 0x5922d3
mov eax, 0xa1627c
jmp 0x5922d8
mov eax, 0xa16280
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push 0xa21f54
push 0xa16248
push eax
push edx
call fcn.004fe908
add esp, 0x14
mov al, byte [esi + 0x25]
test al, al
je 0x592301
mov eax, 0xa1627c
jmp 0x592306
mov eax, 0xa16280
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push 0xa21f60
push 0xa16248
push eax
push edx
call fcn.004fe908
mov eax, esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push dword [eax + 0x28]
push 0xa21f68
push 0xa1611c
push edx
push ecx
call fcn.004fe908
mov eax, esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push dword [eax + 0x2c]
push 0xa21f70
push 0xa1611c
push edx
push ecx
call fcn.004fe908
mov eax, esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push dword [eax + 0x34]
push 0xa21f78
push 0xa1611c
push edx
push ecx
call fcn.004fe908
mov eax, esi
movsx edx, byte [eax + 0x11]
mov ecx, dword [ebp - 0x24]
push edx
mov ebx, dword [ebp + 8]
push 0xa208c0
push 0xa1611c
push ecx
push ebx
call fcn.004fe908
mov eax, esi
movsx edx, byte [eax + 0x10]
mov ecx, dword [ebp - 0x24]
push edx
mov ebx, dword [ebp + 8]
push 0xa208b4
push 0xa1611c
push ecx
push ebx
call fcn.004fe908
add esp, 0x78
mov eax, esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push dword [eax + 0x14]
push 0xa21f88
push 0xa1611c
push edx
push ecx
call fcn.004fe908
add esp, 0x14
mov al, byte [esi]
test al, al
je 0x5923dd
mov eax, 0xa1627c
jmp 0x5923e2
mov eax, 0xa16280
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push 0xa21f94
push 0xa16248
push eax
push edx
call fcn.004fe908
push 0xa16330
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0x20
mov eax, esi
lea ecx, [eax + 0xfc]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00533248
mov eax, esi
lea ecx, [eax + 0x504]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005a7b20
mov eax, esi
lea ecx, [eax + 0x520]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005a8458
mov eax, esi
lea ecx, [eax + 0x554]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00676414
mov eax, dword [0x9ebca0]
cmp eax, 0x80
jl 0x5924c1
push 0xa21fa4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
xor ebx, ebx
lea edx, [ebx + ebx]
add edx, edx
sub edx, ebx
add edx, edx
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx*8 + 0x38]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
push esi
push ebx
push edi
call fcn.005a69fc
inc ebx
cmp ebx, 4
jl 0x592486
push 0xa21fb4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
jmp 0x5924d5
mov eax, esi
lea ecx, [eax + 0x38]
mov edx, dword [ebp - 0x24]
push edx
mov ebx, dword [ebp + 8]
push 0
push ebx
call fcn.005a69fc
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0xa624]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005a430c
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0xa5b8]
mov edx, dword [ebp - 0x28]
push 1
mov ebx, dword [ebp + 8]
push edx
push ebx
call fcn.005afdac
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x570]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005ad170
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x594]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005adcd8
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x5a4]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005af590
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x5c0]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005ae3c8
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x5d0]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005af08c
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x5e0]
mov edx, dword [ebp - 0x28]
push edx
mov ebx, dword [ebp + 8]
push ebx
call fcn.005ae8b0
xor ebx, ebx
lea eax, [ebx + ebx]
add eax, eax
sub eax, ebx
add eax, eax
add eax, eax
sub eax, ebx
lea ecx, [ebx + eax*8]
lea eax, [ecx + ecx]
add eax, eax
sub eax, ecx
lea ecx, [eax + eax]
add ecx, ecx
add ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x9f8]
test edx, edx
jne 0x5925bd
inc ebx
cmp ebx, 0x10
jl 0x592589
jmp 0x59264e
xor edx, edx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + eax*4 + 0x6b8]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x5925b2
cmp eax, 6
jl 0x59262b
lea esi, [eax - 6]
mov dword [ebp - 0x20], esi
lea esi, [edx + edx]
add esi, esi
lea eax, [esi + esi]
add eax, esi
movzx edi, word [eax + ecx + 0x5f8]
test edi, edi
jne 0x59264e
movzx esi, word [eax + ecx + 0x604]
test esi, esi
jne 0x59264e
movzx esi, word [eax + ecx + 0x610]
test esi, esi
jne 0x59264e
movzx esi, word [eax + ecx + 0x61c]
test esi, esi
jne 0x59264e
movzx eax, word [eax + ecx + 0x628]
test eax, eax
jne 0x59264e
add edx, 5
mov eax, dword [ebp - 0x20]
cmp edx, eax
jle 0x5925db
lea eax, [edx + edx]
add eax, eax
lea esi, [eax + eax]
add esi, eax
movzx edi, word [esi + ecx + 0x5f8]
test edi, edi
jne 0x59264e
inc edx
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jl 0x59262b
jmp 0x5925b2
cmp ebx, 0x10
je 0x5929cf
push 0xa21fd8
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
xor ebx, ebx
lea eax, [ebx + ebx]
add eax, eax
sub eax, ebx
add eax, eax
add eax, eax
sub eax, ebx
lea esi, [ebx + eax*8]
lea eax, [esi + esi]
add eax, eax
sub eax, esi
lea esi, [eax + eax]
add esi, esi
mov ecx, dword [ebp - 0x18]
add esi, ecx
lea ecx, [ecx + eax*4 + 0x5f8]
mov edx, dword [ecx + 0x400]
test edx, edx
jne 0x5926bb
jmp 0x5926b0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push eax
push ebx
push edx
call fcn.0059b680
inc ebx
cmp ebx, 0x10
jl 0x59266e
jmp 0x592750
xor edx, edx
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + eax*4 + 0x6b8]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x5926b0
cmp eax, 6
jl 0x592729
lea edi, [eax - 6]
mov dword [ebp - 0x20], edi
lea edi, [edx + edx]
add edi, edi
lea eax, [edi + edi]
add eax, edi
movzx edi, word [eax + esi + 0x5f8]
test edi, edi
jne 0x5926a2
movzx edi, word [eax + esi + 0x604]
test edi, edi
jne 0x5926a2
movzx edi, word [eax + esi + 0x610]
test edi, edi
jne 0x5926a2
movzx edi, word [eax + esi + 0x61c]
test edi, edi
jne 0x5926a2
movzx eax, word [eax + esi + 0x628]
test eax, eax
jne 0x5926a2
add edx, 5
mov eax, dword [ebp - 0x20]
cmp edx, eax
jle 0x5926d9
lea eax, [edx + edx]
add eax, eax
lea edi, [eax + eax]
add edi, eax
movzx eax, word [edi + esi + 0x5f8]
test eax, eax
jne 0x5926a2
inc edx
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jl 0x592729
jmp 0x5926b0
push 0xa21fe8
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
xor ebx, ebx
lea ecx, [ebx + ebx]
add ecx, ecx
sub ecx, ebx
add ecx, ecx
add ecx, ecx
add ecx, ecx
lea eax, [ecx + ecx]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, ecx
mov esi, dword [ebp - 0x18]
lea ecx, [esi + eax]
mov dl, byte [ecx + 0x4b97]
test dl, dl
je 0x592814
mov dl, byte [eax + esi + 0x4b98]
test dl, dl
je 0x592814
xor edx, edx
mov eax, dword [eax + esi + 0x4978]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x592814
cmp eax, 6
jl 0x5929a8
lea esi, [eax - 6]
mov dword [ebp - 0x20], esi
lea esi, [edx + edx]
add esi, esi
lea eax, [esi + esi]
add eax, esi
movzx edi, word [eax + ecx + 0x48b8]
test edi, edi
jne 0x59281e
movzx esi, word [eax + ecx + 0x48c4]
test esi, esi
jne 0x59281e
movzx esi, word [eax + ecx + 0x48d0]
test esi, esi
jne 0x59281e
movzx esi, word [eax + ecx + 0x48dc]
test esi, esi
jne 0x59281e
movzx eax, word [eax + ecx + 0x48e8]
test eax, eax
jne 0x59281e
add edx, 5
mov eax, dword [ebp - 0x20]
cmp edx, eax
jle 0x5927bf
jmp 0x5929a8
inc ebx
cmp ebx, 0x20
jl 0x592767
cmp ebx, 0x20
je 0x592991
push 0xa22010
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
xor ebx, ebx
lea esi, [ebx + ebx]
add esi, esi
sub esi, ebx
add esi, esi
add esi, esi
add esi, esi
lea edx, [esi + esi]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, esi
mov ecx, dword [ebp - 0x18]
lea esi, [ecx + edx]
lea ecx, [ecx + edx + 0x48b8]
mov al, byte [esi + 0x4b97]
test al, al
je 0x592909
mov edi, dword [ebp - 0x18]
mov al, byte [edx + edi + 0x4b98]
test al, al
je 0x592909
xor edi, edi
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + eax + 0x4978]
mov dword [ebp - 0x1c], edx
test edx, edx
jle 0x592909
mov eax, edx
cmp eax, 6
jl 0x59296a
lea edx, [eax - 6]
mov dword [ebp - 0x20], edx
lea edx, [edi + edi]
add edx, edx
lea eax, [edx + edx]
add eax, edx
movzx edx, word [eax + esi + 0x48b8]
test edx, edx
jne 0x5928fb
movzx edx, word [eax + esi + 0x48c4]
test edx, edx
jne 0x5928fb
movzx edx, word [eax + esi + 0x48d0]
test edx, edx
jne 0x5928fb
movzx edx, word [eax + esi + 0x48dc]
test edx, edx
jne 0x5928fb
movzx eax, word [eax + esi + 0x48e8]
test eax, eax
jne 0x5928fb
add edi, 5
mov eax, dword [ebp - 0x20]
cmp edi, eax
jle 0x5928a9
jmp 0x59296a
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
push eax
push ebx
push edx
call fcn.00597550
inc ebx
cmp ebx, 0x20
jl 0x59283e
push 0xa22020
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
push 0xa22034
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406220
mov eax, 1
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [edi + edi]
add eax, eax
lea edx, [eax + eax]
add edx, eax
movzx eax, word [edx + esi + 0x48b8]
test eax, eax
jne 0x5928fb
inc edi
mov eax, dword [ebp - 0x1c]
cmp edi, eax
jl 0x59296a
jmp 0x592909
push 0xa21ffc
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
jmp 0x592928
lea eax, [edx + edx]
add eax, eax
lea esi, [eax + eax]
add esi, eax
movzx edi, word [esi + ecx + 0x48b8]
test edi, edi
jne 0x59281e
inc edx
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jl 0x5929a8
jmp 0x592814
push 0xa21fc4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004fe908
add esp, 0xc
jmp 0x592765