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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fabbe
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x540320]
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.0043c000
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 0x14]
sub ecx, eax
cmp ecx, 1
jae 0x479023
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 0x47911c
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.00409bc0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xa4], 0
call fcn.004250c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040d760
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4790ba
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 0x4790df
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.00475060
mov ebx, 3
jmp 0x4791db
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.00409bc0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xf4], 0
call fcn.004250c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040d760
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x479184
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 0x4791a6
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.00474fd0
mov ebx, 0xc
push eax
lea ecx, [ebp - 0x124]
call fcn.0040d760
mov dword [ebp - 4], 6
test bl, 8
je 0x479218
and ebx, 0xfffffff7
cmp dword [ebp - 0x5c], 8
jb 0x479204
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 0x479251
and ebx, 0xfffffffb
cmp dword [ebp - 0xdc], 8
jb 0x479234
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 0x47927b
and ebx, 0xfffffffd
cmp dword [ebp - 0x44], 8
jb 0x479267
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 0x4792b5
cmp dword [ebp - 0x8c], 8
jb 0x479298
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.00409bc0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xd8], 0
call fcn.004250c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040d760
cmp dword [ebp - 0x2c], 8
jb 0x47931e
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 0x479340
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.00474fd0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xc0], 8
jb 0x47937b
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.00409bc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xa4], 0
call fcn.004250c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040d760
cmp dword [ebp - 0x14], 8
jb 0x4793fb
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 0x47941d
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.00474f30
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x8c], 8
jb 0x479458
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.0041a770
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.004751c0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x44], 8
jb 0x47949e
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.00480870
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 0x4794f0
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.0047e160
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebx + 0x3c]
call fcn.00424fd0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
call fcn.0048f830
add esp, 8
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x124]
call fcn.00424fd0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x19
push eax
call fcn.0048f830
add esp, 8
mov byte [ebp - 4], 0x1a
push esi
push eax
mov byte [ebp - 4], 0x1e
call fcn.0048e260
add esp, 0x28
cmp dword [ebp - 0x44], 0x10
jb 0x479579
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 0x479599
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 0x4795bb
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 0x4795e2
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.00480870
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.00424fd0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x20
push eax
call fcn.0048f830
add esp, 8
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0xbc]
call fcn.00424fd0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x22
push eax
call fcn.0048f830
add esp, 8
mov byte [ebp - 4], 0x23
push esi
push eax
mov byte [ebp - 4], 0x27
call fcn.0048e260
add esp, 0x28
cmp dword [ebp - 0x44], 0x10
jb 0x47967f
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 0x47969f
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 0x4796c1
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 0x4796e8
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.00480870
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 0x479745
mov edx, dword [ebp - 0x138]
mov edx, dword [edx]
mov edi, edi
cmp dword [eax + 8], edx
je 0x47972d
mov eax, dword [eax]
cmp eax, ecx
jne 0x479720
jmp 0x479745
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 0x479760
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 0x479791
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 0x4797c2
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.004edbca
mov esp, ebp
pop ebp
ret