Function at 0x414e90
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
lea eax, [esi + 0x60]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4d1130
mov edi, dword fs:[0]
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov dword fs:[0], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0x25
mov edi, dword [edi + 4]
bt edi, 9
jb 0x4150b7
lea eax, [esi + 0x29]
mov byte [eax], 0x6c
mov ebx, edi
and ebx, 0x4a
cmp ebx, 8
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edx
je 0x415047
cmp ebx, 0x40
je 0x415128
mov cl, 0x75
mov edi, esp
mov byte [eax + 1], cl
xor eax, eax
dec eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov byte [esi + 0x20], 0xff
push eax
sub esp, 0x18
mov ebx, esp
mov eax, dword [0x6be6bc]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x415059
mov eax, dword [0x6be6b4]
mov dword [ebx + 8], eax
mov eax, dword [0x6be6b8]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0
lea eax, [esi + 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], 0xd
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.0040b2d0
add esp, 0x1c
mov esp, edi
lea edx, [esi + eax]
add edx, 0x14
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov ebx, ecx
and bl, 0xb0
mov dword [esi + 0x10], edx
cmp bl, 0x20
mov edi, 0xffffffff
je 0x414fac
and ecx, 0xb0
cmp ecx, 0x10
je 0x4150c3
lea edx, [esi + 0x14]
lea eax, [esi + 0x40]
mov dword [eax + 0x13], edi
mov dword [eax + 0xf], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [eax], xmm0
lea ecx, [esi + 0x24]
mov dword [ecx], edi
lea ebx, [esi + 0x38]
mov dword [ebx], edi
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edi, [esi + 0x3c]
mov dword [edi], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
mov dword [esi + 0x68], 0
lea ecx, [esi + 0x14]
push edi
push ebx
lea edi, [esi + 0x24]
push edi
push eax
push dword [esi + 0x10]
call fcn.00415180
add esp, 0x14
mov bl, byte [ebp + 0xc]
mov eax, dword [esi + 0xc]
xor ecx, ecx
dec ecx
lock xadd dword [eax + 4], ecx
test ecx, ecx
je 0x415107
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x68], 0xffffffff
movsx edx, bl
push edx
push dword [ebp + 8]
push eax
push ecx
lea eax, [esi + 0x40]
push eax
push dword [esi + 0x30]
mov edi, dword [esi + 0x34]
push edi
call fcn.004feff0
add esp, 0x1c
mov eax, dword [esi + 0x60]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
bt edi, 0xe
setae cl
shl cl, 5
or cl, 0x58
jmp 0x414f07
push 0x6be6bc
call fcn.00510c6d
add esp, 4
cmp dword [0x6be6bc], 0xffffffff
jne 0x414f43
mov dword [esi + 0x10], esp
mov eax, 0x5db3ea
push eax
push 0
call fcn.00511046
add esp, 8
mov dword [0x6be6b4], eax
mov eax, 0x5db3ea
mov dword [0x6be6b8], eax
mov esp, dword [esi + 0x10]
push fcn.00548450
call fcn.00511031
add esp, 4
push 0x6be6bc
call fcn.00510d9d
add esp, 4
jmp 0x414f43
lea eax, [esi + 0x2a]
mov byte [eax - 1], 0x23
jmp 0x414ee5
lea edx, [esi + 0x15]
movzx ecx, byte [edx - 1]
cmp ecx, 0x2b
je 0x41512f
cmp ecx, 0x2d
mov edi, 0xffffffff
je 0x414fac
cmp eax, 2
jl 0x414fa9
cmp cl, 0x30
jne 0x414fa9
movzx eax, byte [esi + 0x15]
or eax, 0x20
cmp eax, 0x78
jne 0x414fa9
lea edx, [esi + 0x16]
jmp 0x414fac
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov dword [esi + 0x68], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 0xc]
call edi
jmp 0x41500b
mov cl, 0x6f
jmp 0x414f07
xor edi, edi
dec edi
jmp 0x414fac