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

Disassembly:
sub esp, 0x2b0
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x2ac], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2bc]
push esi
push edi
call fcn.0048f230
mov ebx, dword [esp + 0x2c8]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x280]
push eax
push ebx
push str.set_sort__d__d_n
call fcn.0048f0d0
xor esi, esi
add esp, 0xc
cmp dword [ebp + 0x280], esi
mov dword [esp + 0x54], 1
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
je 0x48d282
mov eax, dword [ebp + 0x278]
cmp eax, ebx
jne 0x48d1e6
push str.already_sorted_n
call fcn.0048f0d0
add esp, 4
jmp 0x48e1bb
movzx ecx, byte [eax + 0x58bf78]
cmp ecx, ebx
jne 0x48d282
lea edx, [ebp + 4]
push edx
call fcn.00401450
lea eax, [ebp + 0x1c]
push eax
call fcn.00401450
lea ecx, [ebp + 0x34]
push ecx
call fcn.00401450
push ebx
push str.SET_SORT_3__d_n
call fcn.0048f0d0
mov edi, dword [ebp + 0x94]
mov eax, dword [ebp + 0xa0]
mov ecx, dword [ebp + 0xa4]
mov edx, dword [ebp + 0xa8]
mov dword [ebp + 0xa0], edi
mov edi, dword [ebp + 0x98]
mov dword [ebp + 0xa4], edi
mov edi, dword [ebp + 0x9c]
mov dword [ebp + 0x9c], edx
xor edx, edx
add esp, 8
cmp dword [ebp + 0x27c], esi
mov dword [ebp + 0x278], ebx
sete dl
mov dword [ebp + 0xa8], edi
mov dword [ebp + 0x94], eax
mov dword [ebp + 0x98], ecx
mov dword [ebp + 0x27c], edx
jmp 0x48e1b5
push ebx
push ebp
call fcn.0048ca30
test eax, eax
jne 0x48e1bb
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x28c]
sub eax, 1
mov dword [esp + 0x24], ecx
je 0x48d307
sub eax, 1
jne 0x48d35c
cmp dword [ebp + 0x18], esi
jle 0x48d35c
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
lea ecx, [edx + eax]
lea edx, [edx + ebx*4]
add edx, eax
cmp ecx, edx
je 0x48d2fd
mov eax, dword [esp + 0x24]
lea ebx, [ebx]
mov ebx, dword [ecx]
cmp byte [ebx + 8], 0
je 0x48d2ef
add dword [esp + 0x30], 1
jmp 0x48d2f2
add eax, 1
add ecx, 4
cmp ecx, edx
jne 0x48d2e0
mov dword [esp + 0x24], eax
add esi, 4
sub edi, 1
jne 0x48d2c2
jmp 0x48d355
cmp dword [ebp + 0x18], esi
jle 0x48d35c
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
lea ecx, [edx + eax]
lea edx, [edx + ebx*4]
add edx, eax
cmp ecx, edx
je 0x48d34d
mov eax, dword [esp + 0x24]
lea ebx, [ebx]
mov ebx, dword [ecx]
cmp byte [ebx + 0xc], 0
je 0x48d33f
add dword [esp + 0x30], 1
jmp 0x48d342
add eax, 1
add ecx, 4
cmp ecx, edx
jne 0x48d330
mov dword [esp + 0x24], eax
add esi, 4
sub edi, 1
jne 0x48d312
mov ebx, dword [esp + 0x2c8]
cmp dword [esp + 0x30], 0
je 0x48d378
mov edx, dword [esp + 0x30]
lea eax, [edx*4]
push eax
call fcn.004a49a0
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x24], 0
je 0x48d394
mov ecx, dword [esp + 0x24]
lea edx, [ecx*4]
push edx
call fcn.004a49a0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
xor esi, esi
cmp dword [ebp + 0x30], esi
mov dword [esp + 0x20], eax
jle 0x48d3e4
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
lea eax, [ecx + edx]
lea ecx, [ecx + ebx*4]
add ecx, edx
cmp eax, ecx
je 0x48d3d5
mov edx, dword [esp + 0x20]
mov ebx, dword [eax]
mov dword [edx], ebx
add eax, 4
add edx, 4
cmp eax, ecx
jne 0x48d3c3
mov dword [esp + 0x20], edx
add esi, 1
cmp esi, dword [ebp + 0x30]
jl 0x48d3a7
mov ebx, dword [esp + 0x2c8]
xor esi, esi
cmp dword [ebp + 0x48], esi
jle 0x48d425
jmp 0x48d3f0
mov edx, dword [ebp + 0x34]
mov edx, dword [edx + esi*4]
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
lea eax, [ecx + edx]
lea ecx, [ecx + ebx*4]
add ecx, edx
cmp eax, ecx
je 0x48d416
mov edx, dword [eax]
mov dword [edi], edx
add eax, 4
add edi, 4
cmp eax, ecx
jne 0x48d408
add esi, 1
cmp esi, dword [ebp + 0x48]
jl 0x48d3f0
mov ebx, dword [esp + 0x2c8]
mov eax, dword [ebp + 0x28c]
sub eax, 1
je 0x48d48c
sub eax, 1
jne 0x48d4e1
xor esi, esi
cmp dword [ebp + 0x18], esi
jle 0x48d4e1
mov eax, dword [ebp + 4]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
lea ecx, [edx + eax]
lea edx, [edx + ebx*4]
add edx, eax
cmp ecx, edx
je 0x48d482
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx]
cmp byte [eax + 8], 0
mov eax, dword [eax + 4]
je 0x48d472
mov dword [ebx], eax
add ebx, 4
jmp 0x48d477
mov dword [edi], eax
add edi, 4
add ecx, 4
cmp ecx, edx
jne 0x48d460
mov dword [esp + 0x20], ebx
add esi, 1
cmp esi, dword [ebp + 0x18]
jl 0x48d444
jmp 0x48d4da
xor esi, esi
cmp dword [ebp + 0x18], esi
jle 0x48d4e1
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + esi*4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
lea ecx, [edx + eax]
lea edx, [edx + ebx*4]
add edx, eax
cmp ecx, edx
je 0x48d4d2
mov ebx, dword [esp + 0x20]
nop
mov eax, dword [ecx]
cmp byte [eax + 0xc], 0
mov eax, dword [eax + 8]
je 0x48d4c2
mov dword [ebx], eax
add ebx, 4
jmp 0x48d4c7
mov dword [edi], eax
add edi, 4
add ecx, 4
cmp ecx, edx
jne 0x48d4b0
mov dword [esp + 0x20], ebx
add esi, 1
cmp esi, dword [ebp + 0x18]
jl 0x48d493
mov ebx, dword [esp + 0x2c8]
lea ecx, [ebp + 4]
push ecx
call fcn.004013d0
cmp ebx, 0x19
ja case.default.0x48d4fa
movzx edx, byte [ebx + 0x48e218]
jmp dword [edx*4 + 0x48e1f0]
mov esi, fcn.0042dcf0
mov ebx, fcn.00424020
mov dword [esp + 0x10], 0x42ded0
mov edi, fcn.004241d0
mov dword [esp + 0x14], 1
jmp 0x48e0c8
mov esi, 0x42ded0
mov ebx, fcn.004241d0
mov dword [esp + 0x10], fcn.0042dcf0
mov edi, fcn.00424020
mov dword [esp + 0x14], 0
jmp 0x48e0c8
mov esi, 0x42dfa0
mov ebx, 0x424600
mov dword [esp + 0x10], 0x42e120
mov edi, 0x4247c0
mov dword [esp + 0x14], 1
jmp 0x48e0c8
mov esi, 0x42e120
mov ebx, 0x4247c0
mov dword [esp + 0x10], 0x42dfa0
mov edi, 0x424600
mov dword [esp + 0x14], 0
jmp 0x48e0c8
lea eax, [ebx - 4]
cmp eax, 0x13
mov dword [esp + 0x48], eax
ja case.0x48d5a8.6
movzx eax, byte [eax + 0x48e260]
jmp dword [eax*4 + 0x48e234]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x34c]
test al, 1
je 0x48d5f3
test al, 0x20
je 0x48d5cf
mov esi, 0x4324b0
mov dword [esp + 0x10], 0x432550
jmp 0x48d5dc
mov esi, fcn.0042dcf0
mov dword [esp + 0x10], 0x42ded0
mov ebx, 0x429a00
mov edi, 0x429aa0
mov dword [esp + 0x14], 1
jmp 0x48e0c8
mov esi, fcn.0042dcf0
mov ebx, fcn.00429930
mov edi, 0x4299e0
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], 0x42ded0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], fcn.0048beb0
mov dword [esp + 0x14], 1
jmp 0x48d991
mov edx, dword [ebp]
mov eax, dword [edx + 0x34c]
test al, 1
je 0x48d66f
test al, 0x20
je 0x48d64b
mov esi, 0x432550
mov dword [esp + 0x10], 0x4324b0
jmp 0x48d658
mov esi, 0x42ded0
mov dword [esp + 0x10], fcn.0042dcf0
mov ebx, 0x429aa0
mov edi, 0x429a00
mov dword [esp + 0x14], 0
jmp 0x48e0c8
mov esi, 0x42ded0
mov ebx, 0x4299e0
mov edi, fcn.00429930
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], fcn.0042dcf0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], 0x48bf60
mov dword [esp + 0x14], 0
jmp 0x48d991
mov eax, dword [ebp]
test byte [eax + 0x34c], 4
mov dword [esp + 0x14], 1
je 0x48d6d7
mov esi, fcn.0042e2a0
mov ebx, fcn.00429b40
mov dword [esp + 0x10], 0x42e370
mov edi, 0x429c20
jmp 0x48e0c8
mov esi, fcn.004325f0
mov ebx, fcn.00429cd0
mov edi, 0x429d80
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], 0x432690
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], fcn.0048bf80
jmp 0x48d991
mov ecx, dword [ebp]
test byte [ecx + 0x34c], 4
mov dword [esp + 0x14], 0
je 0x48d737
mov esi, 0x42e370
mov ebx, 0x429c20
mov dword [esp + 0x10], fcn.0042e2a0
mov edi, fcn.00429b40
jmp 0x48e0c8
mov esi, 0x432690
mov ebx, 0x429d80
mov edi, fcn.00429cd0
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], fcn.004325f0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], 0x48c070
jmp 0x48d991
mov edx, dword [ebp]
test byte [edx + 0x34c], 2
mov dword [esp + 0x14], 1
je 0x48d797
mov esi, fcn.0042e390
mov ebx, fcn.00424980
mov dword [esp + 0x10], 0x42e460
mov edi, 0x424a60
jmp 0x48e0c8
mov esi, fcn.004326b0
mov ebx, fcn.00429da0
mov edi, 0x429e50
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], 0x432750
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], fcn.0048bf80
jmp 0x48d991
mov eax, dword [ebp]
test byte [eax + 0x34c], 2
mov dword [esp + 0x14], 0
je 0x48d7f7
mov esi, 0x42e460
mov ebx, 0x424a60
mov dword [esp + 0x10], fcn.0042e390
mov edi, fcn.00424980
jmp 0x48e0c8
mov esi, 0x432750
mov ebx, 0x429e50
mov edi, fcn.00429da0
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], fcn.004326b0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], 0x48c070
jmp 0x48d991
mov ecx, dword [ebp]
test byte [ecx + 0x34c], 8
mov dword [esp + 0x14], 1
je 0x48d857
mov esi, fcn.0042e480
mov ebx, fcn.00424a80
mov dword [esp + 0x10], 0x42e550
mov edi, 0x424b60
jmp 0x48e0c8
mov esi, fcn.00432770
mov ebx, fcn.00429e70
mov edi, 0x429f20
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], 0x432810
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], fcn.0048bf80
jmp 0x48d991
mov edx, dword [ebp]
test byte [edx + 0x34c], 8
mov dword [esp + 0x14], 0
je 0x48d8b7
mov esi, 0x42e550
mov ebx, 0x424b60
mov dword [esp + 0x10], fcn.0042e480
mov edi, fcn.00424a80
jmp 0x48e0c8
mov esi, 0x432810
mov ebx, 0x429f20
mov edi, fcn.00429e70
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], fcn.00432770
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], 0x48c070
jmp 0x48d991
mov eax, dword [ebp]
test byte [eax + 0x34c], 0x10
mov dword [esp + 0x14], 1
je 0x48d917
mov esi, fcn.0042e570
mov ebx, fcn.00424b80
mov dword [esp + 0x10], 0x42e650
mov edi, 0x424c70
jmp 0x48e0c8
mov esi, fcn.00432830
mov ebx, fcn.00429f40
mov edi, 0x42a000
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], 0x4328e0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], fcn.0048c090
jmp 0x48d991
mov ecx, dword [ebp]
test byte [ecx + 0x34c], 0x10
mov dword [esp + 0x14], 0
jne 0x48d8fb
mov esi, 0x4328e0
mov ebx, 0x42a000
mov edi, fcn.00429f40
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], fcn.00432830
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], 0x48c1c0
jmp 0x48d991
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x2c], eax
je 0x48e0c8
lea ecx, [esp + 0x74]
push ecx
call fcn.00498ad0
mov eax, dword [esp + 0x48]
cmp eax, 0x13
ja case.0x48d9bf.2
movzx edx, byte [eax + 0x48e288]
jmp dword [edx*4 + 0x48e274]
mov dword [esp + 0x3c], 8
mov dword [esp + 0x20], 0
jmp 0x48da1b
mov eax, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
jmp 0x48da1b
mov dword [esp + 0x3c], 8
mov dword [esp + 0x20], 0x10
jmp 0x48da1b
mov dword [esp + 0x3c], 8
mov dword [esp + 0x20], 0x18
jmp 0x48da1b
mov dword [esp + 0x3c], 4
mov dword [esp + 0x20], 0x20
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
add eax, 5
mov dword [esp + 0x40], eax
imul eax, edi
push eax
call fcn.004a49a0
mov esi, eax
lea eax, [edi*4]
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x68], eax
call fcn.004a49a0
push str.find_uncached_items..._n
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
call fcn.0048f0d0
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x34]
mov ecx, edi
lea eax, [ecx + eax*4]
add esp, 4
cmp ecx, eax
mov dword [esp + 0x58], eax
je 0x48db00
mov ecx, dword [edi]
mov dword [esi], ecx
mov byte [esi + 4], 1
mov edx, dword [edi]
push edx
call fcn.0042c850
test eax, eax
je 0x48daa8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + ecx + 0x78]
push edx
lea eax, [esi + 5]
push eax
call fcn.00549ad0
add esp, 0xc
jmp 0x48daef
mov ecx, dword [edi]
push ecx
push 0x4200d0
lea edx, [ebp + 0x14c]
push edx
call fcn.00401610
test eax, eax
je 0x48dae2
test byte [eax + 0x34], 1
je 0x48dae2
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
push ecx
lea eax, [eax + edx + 4]
push eax
lea ecx, [esi + 5]
push ecx
call fcn.00549ad0
add esp, 0xc
jmp 0x48daef
mov eax, dword [esp + 0x34]
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x34], eax
add esi, dword [esp + 0x40]
add edi, 4
cmp edi, dword [esp + 0x58]
jne 0x48da78
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
lea eax, [edi + edx*4]
cmp edi, eax
mov dword [esp + 0x58], eax
je 0x48db9f
mov eax, dword [edi]
mov dword [esi], eax
mov byte [esi + 4], 0
mov ecx, dword [edi]
push ecx
call fcn.00423fb0
test eax, eax
je 0x48db47
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + eax + 0x78]
push ecx
lea edx, [esi + 5]
push edx
call fcn.00549ad0
add esp, 0xc
jmp 0x48db8e
mov eax, dword [edi]
push eax
push 0x4200d0
lea ecx, [ebp + 0x14c]
push ecx
call fcn.00401610
test eax, eax
je 0x48db81
test byte [eax + 0x34], 1
je 0x48db81
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push edx
lea edx, [eax + ecx + 4]
push edx
lea eax, [esi + 5]
push eax
call fcn.00549ad0
add esp, 0xc
jmp 0x48db8e
mov eax, dword [esp + 0x34]
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x34], eax
add esi, dword [esp + 0x40]
add edi, 4
cmp edi, dword [esp + 0x58]
jne 0x48db17
mov esi, dword [esp + 0x34]
sub esi, dword [esp + 0x50]
sar esi, 2
je 0x48dd17
push str.sorting_by_path..._n
call fcn.0048f0d0
mov edi, dword [esp + 0x54]
add esp, 4
push 0x41fc60
push esi
push edi
invalid