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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9bbe
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x53e320]
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.0043bc10
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 0x14]
sub ecx, eax
cmp ecx, 1
jae 0x478893
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 0x47898c
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.00409a20
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xa4], 0
call fcn.00424f30
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040d5c0
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x47892a
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 0x47894f
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.004748d0
mov ebx, 3
jmp 0x478a4b
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.00409a20
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xf4], 0
call fcn.00424f30
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040d5c0
cmp dword [ebp - 0x14], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4789f4
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 0x478a16
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.00474840
mov ebx, 0xc
push eax
lea ecx, [ebp - 0x124]
call fcn.0040d5c0
mov dword [ebp - 4], 6
test bl, 8
je 0x478a88
and ebx, 0xfffffff7
cmp dword [ebp - 0x5c], 8
jb 0x478a74
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 0x478ac1
and ebx, 0xfffffffb
cmp dword [ebp - 0xdc], 8
jb 0x478aa4
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 0x478aeb
and ebx, 0xfffffffd
cmp dword [ebp - 0x44], 8
jb 0x478ad7
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 0x478b25
cmp dword [ebp - 0x8c], 8
jb 0x478b08
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.00409a20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xd8], 0
call fcn.00424f30
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040d5c0
cmp dword [ebp - 0x2c], 8
jb 0x478b8e
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 0x478bb0
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.00474840
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xc0], 8
jb 0x478beb
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.00409a20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xa4], 0
call fcn.00424f30
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040d5c0
cmp dword [ebp - 0x14], 8
jb 0x478c6b
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 0x478c8d
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.004747b0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x8c], 8
jb 0x478cc8
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.0041a5d0
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00474a30
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x44], 8
jb 0x478d0e
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.004800e0
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 0x478d60
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.0047d9d0
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebx + 0x3c]
call fcn.00424e40
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
call fcn.0048e7d0
add esp, 8
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x124]
call fcn.00424e40
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x19
push eax
call fcn.0048e7d0
add esp, 8
mov byte [ebp - 4], 0x1a
push esi
push eax
mov byte [ebp - 4], 0x1e
call fcn.0048d200
add esp, 0x28
cmp dword [ebp - 0x44], 0x10
jb 0x478de9
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 0x478e09
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 0x478e2b
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 0x478e52
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.004800e0
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.00424e40
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x20
push eax
call fcn.0048e7d0
add esp, 8
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0xbc]
call fcn.00424e40
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x22
push eax
call fcn.0048e7d0
add esp, 8
mov byte [ebp - 4], 0x23
push esi
push eax
mov byte [ebp - 4], 0x27
call fcn.0048d200
add esp, 0x28
cmp dword [ebp - 0x44], 0x10
jb 0x478eef
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 0x478f0f
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 0x478f31
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 0x478f58
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.004800e0
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 0x478fb5
mov edx, dword [ebp - 0x138]
mov edx, dword [edx]
mov edi, edi
cmp dword [eax + 8], edx
je 0x478f9d
mov eax, dword [eax]
cmp eax, ecx
jne 0x478f90
jmp 0x478fb5
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 0x478fd0
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 0x479001
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 0x479032
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.004ecbfa
mov esp, ebp
pop ebp
ret