Function at 0x46fb20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5493c0
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 edi, edi
call fcn.0053ffba
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ebx
call fcn.004e1480
cmp eax, 0x10
ja case.0x46fb6b.7
xor ecx, ecx
mov cl, byte [eax + 0x46fde0]
jmp dword [ecx*4 + 0x46fdc0]
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.USSortImage
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 0x46fd25
mov edi, 0x200013
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.CTSortImage
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 0x46fd25
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.MRSortImage
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 0x46fd25
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.PTSortImage
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 0x46fd25
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.CRSortImage
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 0x46fd25
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.RFSortImage
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 0x46fd25
call fcn.0053fed0
mov eax, dword [eax + 4]
push 0x5d9178
push str.MGSortImage
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 esi, dword [0x553af0]
push 0x57fe8c
push eax
call esi
add esp, 8
test eax, eax
jne 0x46fd4a
mov edi, 0x200013
jmp 0x46fd96
mov ecx, dword [esp + 0xc]
push 0x584b70
push ecx
call esi
add esp, 8
test eax, eax
jne 0x46fd64
mov edi, 0x80033
jmp 0x46fd96
mov edx, dword [esp + 0xc]
push 0x584b64
push edx
call esi
add esp, 8
test eax, eax
jne 0x46fd7e
mov edi, 0x540400
jmp 0x46fd96
mov eax, dword [esp + 0xc]
push 0x584b54
push eax
call esi
add esp, 8
test eax, eax
jne 0x46fd96
mov edi, 0x201041
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0053feb8
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4