Function at 0x46f820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x549370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x5d9178
lea ecx, [esp + 0x10]
xor ebx, ebx
xor esi, esi
call fcn.0053ffba
mov ecx, dword [0x5d925c]
mov dword [esp + 0x30], ebx
call fcn.0045eb30
mov ecx, dword [esp + 0x38]
mov edi, eax
call fcn.004e1480
cmp edi, 0x22
jne 0x46f873
mov eax, 9
jmp 0x46f888
cmp edi, 0x23
jne 0x46f87f
mov eax, 3
jmp 0x46f888
cmp eax, 0x10
ja case.0x46f890.7
xor ecx, ecx
mov cl, byte [eax + 0x46fb0c]
jmp dword [ecx*4 + 0x46faec]
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.USSortSeries
lea edx, [esp + 0x40]
push str.Defaults
push edx
mov ecx, eax
call fcn.005401ac
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.0053ff54
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x38]
jmp 0x46fa54
mov esi, 0x200011
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.CTSortSeries
lea ecx, [esp + 0x18]
push str.Defaults
push ecx
mov ecx, eax
call fcn.005401ac
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.0053ff54
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x10]
jmp 0x46fa54
mov esi, 0x80031
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.MRSortSeries
lea edx, [esp + 0x1c]
push str.Defaults
push edx
mov ecx, eax
call fcn.005401ac
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.0053ff54
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
jmp 0x46fa54
mov esi, 0x200011
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.PTSortSeries
lea ecx, [esp + 0x20]
push str.Defaults
push ecx
mov ecx, eax
call fcn.005401ac
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call fcn.0053ff54
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
jmp 0x46fa54
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.CRSortSeries
lea edx, [esp + 0x24]
push str.Defaults
push edx
mov ecx, eax
call fcn.005401ac
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 5
call fcn.0053ff54
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x1c]
jmp 0x46fa54
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.RFSortSeries
lea ecx, [esp + 0x28]
push str.Defaults
push ecx
mov ecx, eax
call fcn.005401ac
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 6
call fcn.0053ff54
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x20]
jmp 0x46fa54
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.MGSortSeries
lea edx, [esp + 0x2c]
push str.Defaults
push edx
mov ecx, eax
call fcn.005401ac
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 7
call fcn.0053ff54
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x24]
call fcn.0053feb8
mov eax, dword [esp + 0xc]
mov edi, dword [0x553af0]
push 0x57fe9c
push eax
call edi
add esp, 8
test eax, eax
jne 0x46fa79
mov esi, 0x200011
jmp 0x46fac5
mov ecx, dword [esp + 0xc]
push 0x584994
push ecx
call edi
add esp, 8
test eax, eax
jne 0x46fa93
mov esi, 0x80031
jmp 0x46fac5
mov edx, dword [esp + 0xc]
push 0x584b40
push edx
call edi
add esp, 8
test eax, eax
jne 0x46faad
mov esi, 0x8103e
jmp 0x46fac5
mov eax, dword [esp + 0xc]
push 0x584b2c
push eax
call edi
add esp, 8
test eax, eax
jne 0x46fac5
mov esi, 0x20000e
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0053feb8
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4