Function at 0x425830
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x47448a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49274c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49274c]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], 0
mov dword [esp + 0x8c], 1
lea eax, [esp + 0xa0]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 0
push eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
call fcn.00406260
mov byte [esp + 0x8c], 2
mov edx, esi
push 0
lea ecx, [esp + 0x20]
call fcn.00414770
add esp, 4
mov byte [esp + 0x8c], 3
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00406020
mov byte [esp + 0x8c], 2
cmp dword [esp + 0x30], 0x10
jb 0x425918
push dword [esp + 0x1c]
call fcn.0044fd7a
add esp, 4
push 0
mov edx, edi
mov dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00414770
add esp, 4
mov byte [esp + 0x8c], 4
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00406020
mov byte [esp + 0x8c], 2
cmp dword [esp + 0x30], 0x10
jb 0x42596e
push dword [esp + 0x1c]
call fcn.0044fd7a
add esp, 4
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x50]
lea edx, [esp + 0x44]
mov dword [esp + 0x38], 0xf
cmovae edx, dword [esp + 0x44]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.0043ee90
mov byte [esp + 0x94], 5
lea ecx, [esp + 0x5c]
call fcn.00411460
push 0
lea edx, [esp + 0x60]
lea ecx, [esp + 0x28]
call fcn.00414770
add esp, 0xc
mov byte [esp + 0x8c], 6
lea ecx, [esp + 0xa0]
push 0xffffffffffffffff
push 0
push eax
call fcn.00406020
mov byte [esp + 0x8c], 5
cmp dword [esp + 0x30], 0x10
jb 0x4259fa
push dword [esp + 0x1c]
call fcn.0044fd7a
add esp, 4
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
mov dword [esp + 0x4c], 0
cmovae eax, dword [esp + 0x3c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov byte [eax], 0
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0x4c]
cmp edi, esi
ja 0x425a6a
cmp dword [esp + 0x50], esi
je 0x425a6a
push 1
push esi
lea ecx, [esp + 0x44]
call fcn.00407230
test al, al
je 0x425a63
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
mov dword [esp + 0x4c], edi
cmovae eax, dword [esp + 0x3c]
mov byte [eax + edi], 0
mov esi, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0xa0]
mov edx, dword [esp + 0xa0]
cmp ecx, 0x10
cmovae eax, edx
add esi, eax
jmp 0x425a90
cmp ecx, 0x10
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x3c]
cmovae eax, edx
cmp esi, eax
je 0x425af1
mov al, byte [esi - 1]
dec esi
cmp dword [esp + 0x50], 0x10
mov byte [esp + 0x14], al
cmovae ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
add eax, ecx
cmp dword [esp + 0x50], 0x10
lea ecx, [esp + 0x3c]
cmovae ecx, dword [esp + 0x3c]
test eax, eax
je 0x425ad1
sub eax, ecx
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
push 1
push eax
call fcn.00428120
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xa0]
jmp 0x425a90
lea eax, [esp + 0xa0]
push eax
call fcn.00427ed0
mov edi, dword [esp + 0x4c]
xor esi, esi
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], edi
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0xb4], ecx
test edi, edi
je 0x425bb3
mov ebp, ecx
mov eax, 0xaaaaaaab
mov ecx, esi
mul esi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
cmp ecx, 1
jne 0x425ba6
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0xa0]
cmp ebp, 0x10
lea ecx, [esp + 0xa0]
cmovae eax, edx
cmovae ecx, edx
mov bl, byte [eax + esi - 1]
lea eax, [esp + 0xa0]
cmovae eax, edx
mov al, byte [eax + esi]
mov byte [ecx + esi - 1], al
lea eax, [esp + 0xa0]
cmp dword [esp + 0xb4], 0x10
cmovae eax, dword [esp + 0xa0]
mov byte [eax + esi], bl
mov ebp, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
inc esi
cmp esi, edi
jb 0x425b36
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
xor esi, esi
test edi, edi
je 0x425c3a
mov ebp, dword [esp + 0x14]
mov eax, 0xaaaaaaab
mov ecx, esi
mul esi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
cmp ecx, 2
jne 0x425c31
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0xa0]
cmp ebp, 0x10
lea ecx, [esp + 0xa0]
cmovae eax, edx
cmovae ecx, edx
mov bl, byte [eax + esi - 1]
lea eax, [esp + 0xa0]
cmovae eax, edx
mov al, byte [eax + esi]
mov byte [ecx + esi - 1], al
lea eax, [esp + 0xa0]
cmp dword [esp + 0xb4], 0x10
cmovae eax, dword [esp + 0xa0]
mov byte [eax + esi], bl
mov ebp, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
inc esi
cmp esi, edi
jb 0x425bc1
mov ebp, dword [esp + 0x18]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
cmp dword [esp + 0xb4], 0x10
jae 0x425c74
mov eax, dword [esp + 0xb0]
inc eax
je 0x425ca1
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.00450010
add esp, 0xc
jmp 0x425ca1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov byte [esp + 0x8c], 8
mov eax, dword [esp + 0xa0]
mov dword [ebp], eax
mov byte [esp + 0x8c], 5
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xb0]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0xb4]
mov dword [ebp + 0x14], eax
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 0
mov byte [esp + 0xa0], 0
mov dword [esp + 0x34], 1
mov byte [esp + 0x8c], 2
cmp dword [esp + 0x68], 8
jb 0x425cf6
push dword [esp + 0x54]
call fcn.0044fd7a
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov byte [esp + 0x8c], 1
cmp dword [esp + 0x50], 0x10
jb 0x425d28
push dword [esp + 0x3c]
call fcn.0044fd7a
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x8c], 0
cmp dword [esp + 0xb4], 0x10
jb 0x425d5e
push dword [esp + 0xa0]
call fcn.0044fd7a
add esp, 4
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 0
mov byte [esp + 0xa0], 0
mov eax, ebp
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0044fd7f
add esp, 0x7c
ret 0x24