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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdc1e
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x547320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x128], 0
mov esi, dword [edi]
add esi, 0x30
push esi
mov dword [ebp - 0x130], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
lea ecx, [edi + 4]
mov ebx, dword [edi]
push ecx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x12c], eax
push dword [eax + 4]
push eax
call fcn.00442b40
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 0x14]
sub ecx, eax
cmp ecx, 1
jae 0x475ea3
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x12c]
push esi
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
cmp byte [edi + 8], cl
je 0x475f9c
lea eax, [ebp - 0x58]
mov dword [ebp - 0x78], ecx
push eax
mov eax, dword [edi]
push 0xffffffffffffffff
push ecx
add eax, 0x78
mov word [ebp - 0x88], cx
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
call fcn.0040ab10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xa4], 0
call fcn.00426cf0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040a880
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x475f3a
push dword [ebp - 0x28]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x475f5f
push dword [ebp - 0x88]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x128], 1
call fcn.00482160
mov ebx, 3
jmp 0x47605b
lea eax, [ebp - 0x70]
mov word [ebp - 0x40], cx
push eax
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
add eax, 0x78
mov dword [ebp - 0x2c], 7
push 0
push eax
mov dword [ebp - 0x30], 0
call fcn.0040ab10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xf4], 0
call fcn.00426cf0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040a880
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x476004
push dword [ebp - 0x28]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x476026
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x128], 4
call fcn.004820d0
mov ebx, 0xc
push eax
lea ecx, [ebp - 0x124]
call fcn.0040a880
mov dword [ebp - 4], 6
test bl, 8
je 0x476098
and ebx, 0xfffffff7
cmp dword [ebp - 0x5c], 8
jb 0x476084
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
test bl, 4
je 0x4760d1
and ebx, 0xfffffffb
cmp dword [ebp - 0xdc], 8
jb 0x4760b4
push dword [ebp - 0xf0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
test bl, 2
je 0x4760fb
and ebx, 0xfffffffd
cmp dword [ebp - 0x44], 8
jb 0x4760e7
push dword [ebp - 0x58]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
test bl, 1
je 0x476135
cmp dword [ebp - 0x8c], 8
jb 0x476118
push dword [ebp - 0xa0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov ebx, dword [ebp - 0x134]
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
mov eax, dword [ebx]
push ecx
add eax, 0x78
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.0040ab10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xd8], 0
call fcn.00426cf0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040a880
cmp dword [ebp - 0x2c], 8
jb 0x47619e
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x4761c0
push dword [ebp - 0x28]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xb
call fcn.004820d0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xc0], 8
jb 0x4761fb
push dword [ebp - 0xd4]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
xor ecx, ecx
lea eax, [ebp - 0x10c]
mov word [ebp - 0x40], cx
push eax
mov eax, dword [ebx]
push 0xffffffffffffffff
push ecx
add eax, 0x78
mov dword [ebp - 0xc4], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
call fcn.0040ab10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xa4], 0
call fcn.00426cf0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040a880
cmp dword [ebp - 0x14], 8
jb 0x47627b
push dword [ebp - 0x28]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x47629d
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
call fcn.00482040
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x8c], 8
jb 0x4762d8
push dword [ebp - 0xa0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea ecx, [ebx + 0xc]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x90], 0
push eax
call fcn.0041c410
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00479ca0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x44], 8
jb 0x47631e
push dword [ebp - 0x58]
call edi
add esp, 4
push str.xxxxxxxx_data_add
push 0x1a1
push str.common::Players::cloneEx::_lambda_e0b3630d1092f45f392a50529b63366f_::operator___
call fcn.00484090
add esp, 0xc
push 0
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x130], esp
mov dword [ebp - 0x134], esi
mov dword [esp + 0x18], 0x3e4ccccd
mov dword [esi + 0x10], 0
push 0x30
mov byte [ebp - 4], 0x13
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
jne 0x476370
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
push ecx
lea ecx, [ebx + 0x58]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, eax
call fcn.0047bbf0
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebx + 0x3c]
call fcn.00426c00
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
call fcn.00493230
add esp, 8
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x124]
call fcn.00426c00
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x19
push eax
call fcn.00493230
add esp, 8
mov byte [ebp - 4], 0x1a
push esi
push eax
mov byte [ebp - 4], 0x1e
call fcn.0048fa00
add esp, 0x28
cmp dword [ebp - 0x44], 0x10
jb 0x4763f9
push dword [ebp - 0x58]
call edi
add esp, 4
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x476419
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x47643b
push dword [ebp - 0x28]
call edi
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x476462
push dword [ebp - 0x88]
call edi
add esp, 4
push str.xxxxxxxx_sdcard_add
push 0x1a5
push str.common::Players::cloneEx::_lambda_e0b3630d1092f45f392a50529b63366f_::operator___
call fcn.00484090
add esp, 0xc
push 0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x130], esp
mov dword [esp + 0x18], 0
mov dword [eax + 0x10], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebx + 0x24]
call fcn.00426c00
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x20
push eax
call fcn.00493230
add esp, 8
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0xbc]
call fcn.00426c00
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x22
push eax
call fcn.00493230
add esp, 8
mov byte [ebp - 4], 0x23
push esi
push eax
mov byte [ebp - 4], 0x27
call fcn.0048fa00
add esp, 0x28
cmp dword [ebp - 0x44], 0x10
jb 0x4764ff
push dword [ebp - 0x58]
call edi
add esp, 4
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x47651f
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x476541
push dword [ebp - 0x28]
call edi
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x476568
push dword [ebp - 0x88]
call edi
add esp, 4
push str.xxxxxxxx_ststen_add
push 0x1a9
push str.common::Players::cloneEx::_lambda_e0b3630d1092f45f392a50529b63366f_::operator___
call fcn.00484090
mov esi, dword [ebx]
add esp, 0xc
add esi, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebx]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4765c5
mov edx, dword [ebp - 0x138]
mov edx, dword [edx]
mov edi, edi
cmp dword [eax + 8], edx
je 0x4765ad
mov eax, dword [eax]
cmp eax, ecx
jne 0x4765a0
jmp 0x4765c5
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push eax
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 0x14]
call edi
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xf8], 8
jb 0x4765e0
push dword [ebp - 0x10c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xf8], 7
cmp dword [ebp - 0xa8], 8
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], ax
jb 0x476611
push dword [ebp - 0xbc]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa8], 7
cmp dword [ebp - 0x110], 8
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
jb 0x476642
push dword [ebp - 0x124]
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f188a
mov esp, ebp
pop ebp
ret