Function at 0x410dc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x456130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x46e490]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push ebx
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.00410ca0
mov esi, eax
test esi, esi
jge 0x410e31
push ebx
mov ecx, edi
call fcn.00410bc0
test eax, eax
je 0x410fea
lea edx, [esp + 0x18]
mov ecx, edi
push edx
push ebx
call fcn.00410ca0
mov esi, eax
test esi, esi
jl 0x410fea
mov ebp, dword [esp + 0x44]
mov ecx, 0x18
or eax, 0xffffffff
mov ebx, 1
lea edi, [ebp + 0x23c]
mov dword [esp + 0x40], edi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
add eax, 4
push eax
call fcn.00401000
push esi
lea ecx, [esp + 0x14]
push str.SELECT_FriendGuid__FriendName__Del_FROM_T_FriendList_where_GUID___d
push ecx
mov byte [esp + 0x44], bl
mov dword [ebp], esi
call fcn.00430578
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, 0x4807f0
push edx
call fcn.0040f240
cmp eax, ebx
mov ecx, 0x4807f0
jne 0x410fd7
call fcn.0040f540
cmp ax, 0x64
je 0x410f97
mov eax, dword [esp + 0x40]
add ebp, 0x1e
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], eax
push 1
mov ecx, 0x4807f0
call fcn.0040f5d0
lea ecx, [esp + 0x24]
mov ebp, eax
push ecx
push str.FriendName
mov ecx, 0x4807f0
call fcn.0040f720
push 3
mov ecx, 0x4807f0
call fcn.0040f5d0
mov edx, dword [esp + 0x40]
dec eax
neg eax
sbb eax, eax
lea edi, [esp + 0x24]
and eax, 0xffff8ad1
or ecx, 0xffffffff
add eax, 0x7530
mov word [edx], ax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410f5f
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push ebp
push str.Guid:__d__Name:__s_
push 0x48d640
call dword [sym.imp.LogProc.dll_public:_void___cdecl_CLogProc::Add_char__]
add esp, 0x10
cmp ebx, 0x31
jge 0x410f75
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
inc ebx
add ecx, 2
add eax, 0xb
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], eax
mov ecx, 0x4807f0
call fcn.0040f540
cmp ax, 0x64
jne 0x410eb5
jmp 0x410f93
push 0xcd
push str.D:WORKMU_UNICODE_WORK_MuEXDBSOURCEDbSetFriendDBSet.cpp
push ebx
push str.error_L1_:_SQL_Max_friend___d___s__d
push 0x48d640
call dword [sym.imp.LogProc.dll_public:_void___cdecl_CLogProc::AddTD_char__]
add esp, 0x14
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov ecx, 0x4807f0
mov byte [ebp + 0x29e], bl
mov dword [ebp + 0x3a4], edx
call fcn.0040f560
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00401040
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00439900
mov eax, 1
jmp 0x410ffd
call fcn.0040f560
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00401040
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00439900
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8