Function at 0x410bad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b5e03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x460
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x19]
lea ecx, [esp + 0x1b]
push eax
push 0
push ecx
lea ecx, [esp + 0x50]
call fcn.00416790
mov edx, dword [esi + 4]
lea ebx, [esi + 4]
mov ecx, ebx
mov dword [esp + 0x474], 0
mov dword [esp + 0x10], ebx
call dword [edx + 4]
mov eax, dword [esp + 0x47c]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esi + 0x4c]
mov byte [esp + 0x47c], 1
call fcn.00415a40
mov ebp, dword [eax]
mov eax, dword [esi + 0x50]
cmp ebp, eax
jne 0x410c2f
mov edx, dword [ebx]
mov ecx, ebx
mov byte [esp + 0x474], 0
call dword [edx + 8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x474], 0xffffffff
call fcn.00414840
xor eax, eax
jmp 0x41112e
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x410c60
mov eax, dword [ebx]
mov ecx, ebx
mov byte [esp + 0x474], 0
call dword [eax + 8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x474], 0xffffffff
call fcn.00414840
xor eax, eax
jmp 0x41112e
mov eax, dword [ebp + 0x28]
push edi
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x28]
cmp eax, ecx
je 0x410de6
mov cl, byte [eax + 0xc]
lea esi, [eax + 0xc]
mov byte [esp + 0x20], cl
push 0
lea ecx, [esp + 0x24]
call fcn.004061f0
mov edx, dword [0x4b9364]
lea ecx, [esp + 0x20]
push edx
push 0
push esi
call fcn.00405de0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x478], 2
lea esi, [eax + 0x1c]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x410dbb
mov cl, byte [esi + 0x10]
test cl, cl
je 0x410ccf
cmp byte [eax], 0
jne 0x410dbb
test cl, cl
jne 0x410dbb
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
push 0
mov ecx, 0x4ce830
call fcn.004257b0
mov edi, eax
test edi, edi
jne 0x410cff
mov eax, dword [esp + 0x490]
test eax, eax
je 0x410dbb
lea edx, [esp + 0x1e]
lea ecx, [esp + 0x34]
push edx
call fcn.00416a50
push eax
push esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x480], 3
call fcn.00416900
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x480], 4
call fcn.00416760
mov esi, dword [eax]
lea ecx, [esp + 0x84]
mov byte [esp + 0x478], 5
call fcn.00416a80
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x47c], 3
call fcn.004061f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x478], 2
call fcn.00416a80
add esi, 0x1c
lea ecx, [esp + 0x20]
test edi, edi
setne al
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x64], al
call fcn.00405420
mov eax, dword [esi + 4]
lea edx, [esp + 0x60]
push edx
push eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
mov byte [esp + 0x484], 6
call fcn.00416ae0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x47c], 2
call fcn.004061f0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x47c], 1
call fcn.004061f0
lea ecx, [esp + 0x10]
call fcn.00417800
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x410c75
mov edx, dword [ebx]
mov ecx, ebx
mov byte [esp + 0x478], 0
call dword [edx + 8]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x411085
mov ecx, dword [esp + 0x484]
mov eax, dword [esp + 0x488]
mov dl, byte [esp + 0x494]
mov dword [esp + 0x96], ecx
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x90], 8
mov byte [esp + 0x91], 0
mov dword [esp + 0x92], eax
mov byte [esp + 0x9c], 7
mov byte [esp + 0x9d], 5
mov byte [esp + 0x9e], dl
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x411085
lea esi, [eax + 0xc]
push 0
lea ecx, [esp + 0x38]
mov al, byte [esi]
mov byte [esp + 0x38], al
call fcn.004061f0
mov ecx, dword [0x4b9364]
push ecx
push 0
push esi
lea ecx, [esp + 0x40]
call fcn.00405de0
mov edx, dword [esp + 0x38]
mov byte [esp + 0x478], 7
test edx, edx
mov byte [esp + 0x9f], 1
mov edi, 0x4b9360
je 0x410ea3
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0xa0]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
add eax, 0x20
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
lea edi, [ecx + 0x11]
mov ebx, dword [eax]
mov dword [esp + 0x58], edi
cmp ebx, eax
mov ebp, edi
je 0x411035
jmp 0x410ef1
mov edi, dword [esp + 0x58]
mov cl, byte [ebx + 8]
mov dl, byte [ebx + 0xc]
lea esi, [ebx + 0xc]
mov byte [esp + 0x20], cl
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.004061f0
mov eax, dword [0x4b9364]
lea ecx, [esp + 0x24]
push eax
push 0
push esi
call fcn.00405de0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x478], 8
lea eax, [ecx + 3]
mov dword [esp + 0x18], eax
lea edx, [eax + ebp + 1]
cmp edx, 0x3e0
jbe 0x410f69
mov byte [esp + ebp + 0x90], 0
inc ebp
lea ecx, [esp + 0x90]
push ebp
lea eax, [ebp - 0xc]
push ecx
mov ecx, dword [esp + 0x494]
mov word [esp + 0xa2], ax
call fcn.00429aa0
mov ebp, edi
mov dl, byte [esp + 0x20]
mov byte [esp + ebp + 0x90], 2
mov byte [esp + ebp + 0x91], dl
mov edx, dword [esp + 0x28]
test edx, edx
mov edi, 0x4b9360
je 0x410f8b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + ebp + 0x92]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x44], esi
mov esi, edi
mov edi, dword [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x478], 7
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
add ebp, ecx
cmp edx, esi
je 0x410fe6
mov al, byte [edx - 1]
lea ecx, [edx - 1]
test al, al
je 0x410fdd
cmp al, 0xff
je 0x410fdd
dec al
mov byte [ecx], al
jmp 0x410fe6
push ecx
call fcn.004a5c41
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebx]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov eax, dword [ecx]
mov dword [esp + 0x30], esi
cmp ebx, eax
jne 0x410eed
cmp ebp, dword [esp + 0x58]
jbe 0x411031
mov ecx, dword [esp + 0x48c]
mov byte [esp + ebp + 0x90], 0
inc ebp
lea eax, [esp + 0x90]
push ebp
push eax
lea edx, [ebp - 0xc]
mov word [esp + 0xa2], dx
call fcn.00429aa0
mov edx, dword [esp + 0x38]
xor esi, esi
mov byte [esp + 0x478], 0
cmp edx, esi
je 0x411060
mov al, byte [edx - 1]
lea ecx, [edx - 1]
test al, al
je 0x411057
cmp al, 0xff
je 0x411057
dec al
mov byte [ecx], al
jmp 0x411060
push ecx
call fcn.004a5c41
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.00419970
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jne 0x410e5d
mov eax, dword [esp + 0x490]
xor esi, esi
cmp eax, esi
pop edi
mov ecx, str.full
jne 0x41109d
mov ecx, str.part
mov edx, dword [esp + 0x47c]
mov eax, dword [edx + 4]
cmp eax, esi
jne 0x4110b0
mov eax, 0x4b9360
push ecx
push eax
push str.sync_friend_list:__s___s_
call fcn.0042feb0
mov eax, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x474], 0xffffffff
mov ecx, dword [eax]
push eax
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.004167c0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004a5c41
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
call fcn.004a5b90
mov eax, dword [0x4cdfd4]
dec eax
mov dword [0x4cdfd4], eax
jne 0x411120
mov edx, dword [0x4cdfd0]
push edx
call fcn.004a5c41
add esp, 4
mov dword [0x4cdfd0], esi
lea ecx, [esp + 0x10]
call fcn.004a5c2c
mov eax, 1
mov ecx, dword [esp + 0x46c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x46c
ret 0x18