Function at 0x40f000
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x48bf48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9070]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
push 0xb
xor ebx, ebx
mov ebp, 0xf
push str.user_unique
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x90], ebx
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4910fb
mov byte [ecx + 4], bl
call fcn.00405380
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x38]
call fcn.004015e0
add esp, 0x20
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x80], 1
call fcn.00404b80
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x40f0ae
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], esi
jb 0x40f0d5
mov edx, dword [esp + 0x1c]
push edx
call fcn.004700ac
add esp, 4
push 9
push str.user_name
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x90], 2
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4910fb
mov byte [ecx + 4], bl
call fcn.00405380
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x38]
call fcn.004015e0
add esp, 0x20
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x1c
mov byte [esp + 0x80], 3
call fcn.00404b80
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x40f15a
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], esi
jb 0x40f181
mov edx, dword [esp + 0x1c]
push edx
call fcn.004700ac
add esp, 4
push 9
push str.nick_name
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x90], 4
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4910fb
mov byte [ecx + 4], bl
call fcn.00405380
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x38]
call fcn.004015e0
add esp, 0x20
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x38
mov byte [esp + 0x80], 5
call fcn.00404b80
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x40f206
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], esi
jb 0x40f22d
mov edx, dword [esp + 0x1c]
push edx
call fcn.004700ac
add esp, 4
push 0xb
push str.departments
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x90], 6
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4910fb
mov byte [ecx + 4], bl
call fcn.00405380
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x38]
call fcn.004015e0
add esp, 0x20
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x54
mov byte [esp + 0x80], 7
call fcn.00404b80
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x40f2b2
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], esi
jb 0x40f2d9
mov edx, dword [esp + 0x1c]
push edx
call fcn.004700ac
add esp, 4
push 5
push str.email
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x90], 8
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4910fb
mov byte [ecx + 4], bl
call fcn.00405380
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x38]
call fcn.004015e0
add esp, 0x20
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x70
mov byte [esp + 0x80], 9
call fcn.00404b80
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x40f35e
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], esi
jb 0x40f385
mov edx, dword [esp + 0x1c]
push edx
call fcn.004700ac
add esp, 4
push 5
push str.phone
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x90], 0xa
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4910fb
mov byte [ecx + 4], bl
call fcn.00405380
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x38]
call fcn.004015e0
add esp, 0x20
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x8c
mov byte [esp + 0x80], 0xb
call fcn.00404b80
mov esi, 0x10
cmp dword [esp + 0x68], esi
jb 0x40f40d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], esi
jb 0x40f434
mov edx, dword [esp + 0x1c]
push edx
call fcn.004700ac
add esp, 4
push 8
push str.features
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x90], 0xc
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4910fb
mov byte [ecx + 4], bl
call fcn.00405380
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x38]
call fcn.004015e0
add esp, 0x20
mov esi, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0xa8]
mov byte [esp + 0x80], 0xd
call fcn.00404b80
cmp dword [esp + 0x68], 0x10
jb 0x40f4b8
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x74], 0xffffffff
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x40f4e0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004700ac
add esp, 4
push 6
push str.online
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00405380
push edi
lea edi, [esp + 0x38]
mov dword [esp + 0x78], 0xe
call fcn.0040cb70
add esp, 4
cmp dword [esp + 0x4c], 0x10
mov byte [esi + 0xc4], al
jb 0x40f52b
mov eax, dword [esp + 0x38]
push eax
call fcn.004700ac
add esp, 4
cmp dword [esi + 0x30], ebx
je 0x40f53c
cmp dword [esi + 0x14], ebx
je 0x40f53c
mov eax, 1
jmp 0x40f53e
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4