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

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0xac
push ebx
push esi
push edi
push eax
push ecx
call fcn.004c0d60
push str.loadSwitchStats
push 0x490
push 0x5ef72c
mov dword [0x689b44], eax
call fcn.004bdd70
mov eax, dword [0x689b44]
mov edi, eax
imul eax, eax, 0x74
push 0x27
push eax
call fcn.004be320
mov esi, eax
xor ebx, ebx
add esp, 0x1c
cmp esi, ebx
je 0x4ff318
push fcn.005b6bc0
push edi
push 0x74
push esi
call fcn.0059ee00
cmp dword [0x689b44], ebx
mov dword [0x689b48], esi
push ebp
mov dword [esp + 0x10], ebx
jbe 0x4ff308
mov eax, 4
lea edx, [esp + 0x74]
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, 0x27
lea ecx, [esp + 0x98]
add esi, 4
sub eax, ecx
mov dword [esp + 0x20], eax
jmp 0x4ff170
xor eax, eax
lea ebp, [esi - 4]
mov ecx, 0x1d
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc0]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x74]
push edx
push str.________________f__f__f__f__f__f__f
push edi
mov byte [esp + 0x80], bl
mov byte [esp + 0xa4], bl
mov byte [esp + 0xc8], bl
call fcn.0058cfe8
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
push str.loadSwitchStats
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x68]
push 0x4b0
push 0x5ef72c
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
call fcn.004bdd70
lea eax, [esp + 0x8c]
add esp, 0x3c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4ff231
sub eax, ecx
inc eax
push 0x4d
push eax
call fcn.004be320
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x4ff337
lea ecx, [esp + 0x50]
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x4ff256
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
fmul dword [0x5da6e8]
lea eax, [esi + 0x54]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [esi + 0x60]
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
call fcn.0058c3f0
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x6c], eax
lea eax, [esp + 0x74]
lea edx, [ecx + esi]
jmp 0x4ff2b0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4ff2b0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x98]
add edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4ff2c7
mov eax, dword [esp + 0xc8]
push 0xa
push edi
mov dword [ebp], eax
call fcn.0058cb50
mov ecx, dword [0x689b44]
add esp, 8
inc eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x10]
add esi, 0x74
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4ff170
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xac
ret
push str.Switch_Stats___Out_of_memory
mov dword [0x689b48], ebx
call fcn.004cd600
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xac
ret
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xac
ret