Function at 0x65414c
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x143
push 0
push 0
dec ecx
jne 0x654155
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004044cc
mov eax, dword [ebp - 0xc]
call fcn.004044cc
mov eax, dword [ebp + 0x14]
call fcn.004044cc
mov eax, dword [ebp + 0x10]
call fcn.004044cc
xor eax, eax
push ebp
push 0x654b65
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
call fcn.00650554
mov eax, 0x9bb2d0
mov edx, dword [ebp - 8]
call fcn.004040dc
mov eax, dword [ebp - 4]
mov dword [0x9bb2cc], eax
mov eax, dword [ebp + 0xc]
mov dword [0x9bb2d4], eax
mov al, byte [ebp + 8]
mov byte [0x9bb2d8], al
mov dl, 1
mov eax, dword [0x412264]
call fcn.00403230
mov dword [0x9bb2e8], eax
lea ecx, [ebp - 0x9c8]
mov edx, 0x654b80
mov eax, dword [0x9bb2cc]
call fcn.006d29d0
lea eax, [ebp - 0x9c8]
push eax
lea eax, [ebp - 0x9d8]
mov edx, 0x654b90
call fcn.0040589c
lea edx, [ebp - 0x9d8]
pop eax
call fcn.00405f24
sete byte [ebp - 0x15]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004a60d8
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov ecx, dword [0x9b8724]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x6504a8]
call fcn.0064e858
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
call fcn.004a69bc
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xe0]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0xe4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xe8]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0xec]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax + 0xe0], edx
mov dword [eax + 0xe4], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax + 0xe8], edx
mov dword [eax + 0xec], edx
mov eax, dword [ebp + 0xc]
call fcn.004a5de0
dec eax
test eax, eax
jl 0x654394
inc eax
mov dword [ebp - 0x48], eax
xor ebx, ebx
lea esi, [ebp - 0x500]
lea edi, [ebp - 0x9b8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
mov edx, dword [eax + 0xc8]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0xcc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
xor edx, edx
mov dword [eax + 0xc8], edx
mov dword [eax + 0xcc], edx
mov eax, dword [ebp - 0x38]
mov dword [esi], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
mov edx, dword [eax + 0xb8]
mov dword [edi], edx
mov edx, dword [eax + 0xbc]
mov dword [edi + 4], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
xor edx, edx
mov dword [eax + 0xb8], edx
mov dword [eax + 0xbc], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
cmp byte [eax + 0x35], 0
je 0x654384
push dword [ebp - 0x44]
push 0x654b9c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
push dword [eax + 0x2c]
push 0x654b9c
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.004043d8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
xor edx, edx
call fcn.0049d118
inc ebx
add edi, 8
add esi, 8
dec dword [ebp - 0x48]
jne 0x6542b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
xor edx, edx
call fcn.00460718
xor eax, eax
push ebp
push 0x654af5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], fcn.00652384
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], 0x6521dc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x65197c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x6508bc
mov eax, dword [ebp - 0x14]
add eax, 0x68
mov edx, 0x654ba8
call fcn.004040dc
mov eax, dword [0x9b7c54]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x58], eax
lea edx, [ebp - 0x9dc]
mov eax, dword [ebp + 0x10]
call fcn.0040a510
cmp dword [ebp - 0x9dc], 0
jne 0x654731
lea edx, [ebp - 0x9e0]
mov eax, dword [ebp - 0x1c]
call fcn.0040a510
cmp dword [ebp - 0x9e0], 0
je 0x654624
lea edx, [ebp - 0x9e4]
mov eax, dword [ebp - 0xc]
call fcn.0040a2b8
mov eax, dword [ebp - 0x9e4]
mov edx, 0x654bb8
call fcn.00404428
jne 0x654568
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654bc8
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c14
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x654c2c
push dword [ebp - 0x1c]
push 0x654c44
lea eax, [ebp - 0x9e8]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0x9e8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c50
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c6c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c84
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x654cc0
push dword [ebp - 0x1c]
push 0x654cd8
lea eax, [ebp - 0x9ec]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0x9ec]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x654ce4
push dword [ebp - 0x1c]
push 0x654cf8
lea eax, [ebp - 0x9f0]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0x9f0]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654d04
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c6c
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x654644
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c84
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x654d20
push dword [ebp - 0x1c]
push 0x654cd8
lea eax, [ebp - 0x9f4]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0x9f4]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x654d38
push dword [ebp - 0x1c]
push 0x654cd8
lea eax, [ebp - 0x9f8]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0x9f8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x654d50
push dword [ebp - 0x1c]
push 0x654d6c
lea eax, [ebp - 0x9fc]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0x9fc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654d04
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c6c
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x654644
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654d78
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x654c6c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x48], 0
mov eax, dword [0x9bb2d0]
mov edx, 0x654dc0
call fcn.00404428
jne 0x654679
mov eax, dword [ebp - 0x14]
add eax, 0x70
call fcn.00404088
mov eax, dword [ebp - 0x14]
add eax, 0x50
mov edx, 0x654dcc
call fcn.004040dc
jmp 0x654699
mov eax, dword [ebp - 0x14]
add eax, 0x70
mov edx, 0x654de0
call fcn.004040dc
mov eax, dword [ebp - 0x14]
add eax, 0x50
mov edx, 0x654dec
call fcn.004040dc
lea edx, [ebp - 0xa00]
mov eax, dword [0x9b8784]
mov eax, dword [eax]
call fcn.0041544c
mov edx, dword [ebp - 0xa00]
mov eax, dword [ebp - 0x14]
add eax, 0x6c
call fcn.004040dc
mov eax, dword [0x9b84b8]
mov al, byte [eax]
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0x60]
mov byte [ebx + 4], al
lea eax, [ebx + 0xc]
mov edx, 0x654dfc
call fcn.004040dc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x60]
add eax, 8
mov edx, 0x654e0c
call fcn.004040dc
mov eax, dword [ebp - 0x14]
add eax, 0x54
mov edx, dword [0x9b7fa8]
mov edx, dword [edx]
call fcn.004040dc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x5c]
add eax, 0xc
mov edx, 0x654e24
call fcn.004040dc
mov eax, dword [0x9b8074]
mov al, byte [eax]
xor al, 1
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x64], al
mov al, byte [ebp - 0x15]
xor al, 1
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x7c], al
jmp 0x6547d7
mov eax, dword [ebp - 0x14]
add eax, 0x4c
mov edx, dword [ebp + 0x10]
call fcn.004040dc
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x48], 1
mov edx, 0x654e38
mov eax, dword [ebp - 0x14]
call fcn.0064eacc
push eax
lea eax, [ebp - 0xa04]
mov ecx, 0x654e48
mov edx, dword [ebp - 0x1c]
call fcn.00404364
mov edx, dword [ebp - 0xa04]
pop eax
call fcn.004a4684
mov edx, 0x654e54
mov eax, dword [ebp - 0x14]
call fcn.0064eacc
push eax
lea eax, [ebp - 0xa08]
mov ecx, 0x654e48
mov edx, dword [ebp - 0x1c]
call fcn.00404364
mov edx, dword [ebp - 0xa08]
pop eax
call fcn.004a4684
mov edx, 0x654e64
mov eax, dword [ebp - 0x14]
call fcn.0064eacc
push eax
push 0x654e48
push dword [ebp - 0x1c]
push 0x654e48
lea eax, [ebp - 0xa0c]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0xa0c]
pop eax
call fcn.004a4684
mov byte [0x9bb2d9], 0
xor eax, eax
push ebp
push 0x65481a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x654e74
mov eax, dword [ebp - 0x14]
call fcn.0064eacc
mov edx, dword [0x9b86ec]
mov edx, dword [edx]
call fcn.004a4684
mov eax, dword [ebp - 0x14]
call fcn.0064eaf4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x654826
test ebx, ebx
jne 0x654976
cmp byte [ebp - 0x15], 0
je 0x65497c
push 0x21
mov ecx, 0x654e80
mov edx, 0x654e8c
mov eax, dword [0x9b8724]
mov eax, dword [eax]
call fcn.0045b480
dec eax
jne 0x654970
mov dl, 1
mov eax, dword [0x4127b0]
call fcn.00403230
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x654969
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xa10]
mov eax, dword [ebp - 0xc]
call fcn.0040a2b8
mov eax, dword [ebp - 0xa10]
mov edx, 0x654bb8
call fcn.00404428
sete al
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x6472cc]
call fcn.006476ac
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x654953
lea ecx, [ebp - 0x24]
mov edx, 0x654dec
mov eax, dword [ebp - 0x20]
call fcn.00415714
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b3600]
call fcn.004c26f8
mov dword [ebp - 0x28], eax
mov edx, 0x654ba8
mov eax, dword [ebp - 0x28]
call fcn.004bd244
xor eax, eax
push ebp
push 0x65494c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x654eb0
push dword [ebp - 0x24]
push 0x654c44
lea eax, [ebp - 0xa14]
mov edx, 3
call fcn.004043d8
mov edx, dword [ebp - 0xa14]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x28]
call fcn.004a51dc
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
call fcn.00652384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x654953
mov eax, dword [ebp - 0x28]
call fcn.00403260
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65497c
mov eax, dword [ebp - 0x20]
call fcn.00403260
ret
mov byte [ebp - 0xd], 0
jmp 0x65497c
test ebx, ebx
setg byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x654997
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.004a60d8
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x654aff
mov eax, dword [ebp - 0x14]
call fcn.00403260
mov eax, dword [ebp + 0xc]
call fcn.004a69dc
mov eax, dword [0x9bb2e8]
call fcn.00403260
mov eax, dword [ebp + 0xc]
call fcn.004a5de0
dec eax
test eax, eax
jl 0x654a7d
inc eax
mov dword [ebp - 0x48], eax
xor ebx, ebx
lea edi, [ebp - 0x500]
lea esi, [ebp - 0x9b8]
push 0x654b9c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
push dword [eax + 0x2c]
push 0x654b9c
lea eax, [ebp - 0xa18]
mov edx, 3
call fcn.004043d8
mov eax, dword [ebp - 0xa18]
mov edx, dword [ebp - 0x44]
call fcn.00404604
test eax, eax
jle 0x654a31
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
mov dl, 1
call fcn.0049d118
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
mov edx, dword [edi]
mov dword [eax + 0xc8], edx
mov edx, dword [edi + 4]
mov dword [eax + 0xcc], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov edx, ebx
call fcn.0049b520
mov edx, dword [esi]
mov dword [eax + 0xb8], edx
mov edx, dword [esi + 4]
mov dword [eax + 0xbc], edx
inc ebx
add esi, 8
add edi, 8
dec dword [ebp - 0x48]
jne 0x6549e1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0xe0], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0xe4], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xe8], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xec], edx
mov eax, dword [ebp + 0xc]
call fcn.004a7784
mov edx, 0x654bb8
mov eax, dword [ebp + 0xc]
call fcn.004a60d8
lea edx, [ebp - 0xa1c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0xa1c]
push eax
mov edx, 0x654bb8
mov eax, dword [ebp + 0xc]
call fcn.004a60d8
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov dl, 1
call fcn.00460718
ret