Function at 0x4286e0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4647d0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x482738]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x482738]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x42874b
mov al, byte [esi]
cmp al, 0x2b
je 0x428744
cmp al, 0x2d
jne 0x42874b
mov ebx, 1
jmp 0x42874d
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x38], ebx
call fcn.00402521
and eax, 0x3000
cmp eax, 0x3000
je 0x42876b
mov edx, 0x470e78
jmp 0x428793
lea eax, [ebx + 2]
mov edx, 0x470e7c
cmp eax, dword [esp + 0x14]
ja 0x428793
cmp byte [esi + ebx], 0x30
jne 0x428793
mov cl, byte [esi + ebx + 1]
cmp cl, 0x78
je 0x42878d
cmp cl, 0x58
jne 0x428793
mov ebx, eax
mov dword [esp + 0x38], ebx
push edx
push esi
call fcn.00449310
mov dword [esp + 0x48], eax
mov eax, 0x2e
mov word [esp + 0x24], ax
call fcn.00449179
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00449310
add esp, 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0040254e
mov dword [esp + 0x88], 0
push eax
call fcn.00419e70
add esp, 4
mov esi, eax
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00401910
mov eax, dword [esi]
mov ecx, esi
push 0x30
mov eax, dword [eax + 0x20]
call eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], al
call fcn.004026f0
push eax
lea ecx, [esp + 0x4c]
call fcn.0040779d
push 0
push 0
lea ecx, [esp + 0x50]
call fcn.0040773f
push 0
push dword [esp + 0x18]
lea ecx, [esp + 0x50]
call fcn.00422080
mov dword [esp + 0x88], 1
lea ecx, [esp + 0x48]
call fcn.004077b5
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x18]
add eax, ecx
push eax
push ecx
mov ecx, esi
call dword [edx + 0x1c]
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.0040254e
mov byte [esp + 0x88], 2
push eax
call fcn.00429360
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x20]
call fcn.00401910
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.00429130
mov byte [esp + 0x88], 3
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x1b], al
cmp ecx, dword [esp + 0x14]
jne 0x4288dd
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x40]
push dword [esp + 0x3c]
push ecx
lea esi, [eax + ecx]
push eax
lea ecx, [esp + 0x54]
call fcn.004151f0
jmp 0x428939
mov edi, dword [esp + 0x3c]
mov esi, dword [ebp + 0x24]
push edi
push dword [ebp + 0x2c]
add esi, ecx
lea ecx, [esp + 0x50]
push dword [esp + 0x48]
call fcn.004151f0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x48]
push edi
push dword [ebp + 0x28]
inc eax
push eax
call fcn.004151f0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea ecx, [esp + 0x48]
mov bl, al
call fcn.004077b5
mov ecx, dword [esp + 0x34]
push edi
push dword [ebp + 0x24]
mov byte [eax + ecx], bl
push ecx
lea ecx, [esp + 0x54]
call fcn.004151f0
mov ebx, dword [esp + 0x38]
push 0
lea ecx, [esp + 0x64]
call fcn.0040893a
mov edi, eax
mov al, byte [edi]
cmp al, 0x7f
je 0x4289fc
test al, al
jle 0x4289fc
movsx ecx, al
mov eax, esi
sub eax, ebx
cmp ecx, eax
jae 0x4289fc
sub esi, ecx
mov ecx, dword [esp + 0x58]
cmp ecx, esi
jb 0x428a31
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x428a28
lea eax, [ecx + 1]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
call fcn.00408972
test al, al
je 0x4289e8
lea ecx, [esp + 0x48]
call fcn.004077b5
lea ecx, [eax + esi]
mov eax, dword [esp + 0x58]
sub eax, esi
push eax
push ecx
lea eax, [ecx + 1]
push eax
call fcn.00401565
mov al, byte [esp + 0x27]
lea ecx, [esp + 0x54]
add esp, 0xc
mov byte [esp + 0x10], al
lea eax, [esp + 0x10]
push eax
call fcn.004077b5
add eax, esi
push eax
call fcn.00401579
add esp, 8
lea ecx, [esp + 0x48]
push dword [esp + 0x20]
call fcn.00408949
cmp byte [edi + 1], 0
lea eax, [edi + 1]
cmovg edi, eax
mov al, byte [edi]
cmp al, 0x7f
jne 0x428950
lea ecx, [esp + 0x48]
call fcn.0040773b
mov ecx, dword [esp + 0x30]
mov edi, eax
mov dword [esp + 0x20], edi
call fcn.0040252c
mov esi, eax
test edx, edx
jl 0x428a3a
jg 0x428a20
test esi, esi
je 0x428a3a
cmp esi, edi
jbe 0x428a3a
sub esi, edi
jmp 0x428a3c
lea ecx, [esp + 0x48]
call fcn.00408a08
lea ecx, [esp + 0x48]
call fcn.00408a13
xor esi, esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], esi
call fcn.00402521
and eax, 0x1c0
cmp eax, 0x40
je 0x428aed
cmp eax, 0x100
je 0x428aa0
mov edi, dword [ebp + 8]
lea eax, [esp + 0x28]
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.004290c0
mov esi, eax
mov dword [esp + 0x2c], 0
add esp, 0x18
lea ecx, [esp + 0x48]
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0x14], eax
call fcn.004077b5
push ebx
push eax
push dword [esi + 4]
push dword [esi]
jmp 0x428b01
lea ecx, [esp + 0x48]
call fcn.004077b5
mov edi, dword [ebp + 8]
push ebx
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x34]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00429050
mov ecx, eax
push esi
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x48]
push dword [ecx + 4]
push dword [ecx]
push eax
push edi
call fcn.004290c0
add esp, 0x30
mov dword [esp + 0x14], 0
jmp 0x428b0f
lea ecx, [esp + 0x48]
call fcn.004077b5
mov edi, dword [ebp + 8]
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00429050
add esp, 0x18
mov esi, dword [eax]
lea ecx, [esp + 0x48]
mov dword [ebp + 0x10], esi
mov edi, dword [eax + 4]
mov dword [ebp + 0x14], edi
call fcn.004077b5
mov ecx, dword [esp + 0x20]
add eax, ebx
sub ecx, ebx
mov ebx, dword [ebp + 8]
push ecx
push eax
push edi
push esi
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.00429050
mov ecx, dword [esp + 0x48]
add esp, 0x18
mov edi, dword [eax]
push 0
mov dword [ebp + 0x10], edi
mov esi, dword [eax + 4]
push 0
mov dword [ebp + 0x14], esi
call fcn.00402533
push dword [esp + 0x14]
push dword [ebp + 0x1c]
push esi
mov esi, dword [esp + 0x50]
push edi
push esi
push ebx
call fcn.004290c0
add esp, 0x18
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x60]
call fcn.004063e2
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.004063e2
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00448892
mov esp, ebp
pop ebp
ret