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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x70]
add ecx, dword [eax + 0x58]
push esi
mov esi, dword [ebx + 0x44]
add esi, dword [ebx + 0x2c]
add esi, dword [ebx + 0x14]
cmp esi, ecx
jne 0x48b5ad
cmp dword [esp + 0x74], 0
jne 0x48b5ad
push str.sort_all_results_n
call fcn.0048e370
add esp, 4
cmp dword [esp + 0x68], 0
je 0x48b583
mov edx, dword [esp + 0x6c]
push edx
lea eax, [ebx + 0x1c]
push eax
call fcn.00402b50
mov ecx, dword [esp + 0x70]
push ecx
lea edx, [ebx + 0x34]
push edx
call fcn.00402b50
lea ecx, [ebx + 4]
push ecx
call fcn.004013b0
jmp 0x48bccf
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [ebx + 0x1c]
push ecx
call fcn.00402690
mov edx, dword [esp + 0x70]
push edx
lea eax, [ebx + 0x34]
push eax
call fcn.00402690
lea ecx, [ebx + 4]
push ecx
call fcn.004013b0
jmp 0x48bccf
test esi, esi
je 0x48bccf
push ebp
push edi
lea edx, [esp + 0x34]
push edx
call fcn.00401350
lea eax, [esp + 0x4c]
push eax
call fcn.00401350
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401350
lea edx, [esi*4]
push edx
call fcn.004a3070
xor edi, edi
cmp dword [ebx + 0x30], edi
mov dword [esp + 0x10], eax
jle 0x48b628
lea ecx, [ecx]
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
lea ecx, [edx + esi]
lea edx, [edx + ebp*4]
add edx, esi
cmp ecx, edx
je 0x48b620
mov esi, dword [ecx]
mov esi, dword [esi]
mov dword [eax], esi
mov esi, dword [ecx]
add ecx, 4
add eax, 4
cmp ecx, edx
lea ebp, [esp + 0x14]
mov dword [esi], ebp
jne 0x48b608
add edi, 1
cmp edi, dword [ebx + 0x30]
jl 0x48b5f0
xor edi, edi
cmp dword [ebx + 0x48], edi
jle 0x48b668
nop
mov edx, dword [ebx + 0x34]
mov esi, dword [edx + edi*4]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
lea ecx, [edx + esi]
lea edx, [edx + ebp*4]
add edx, esi
cmp ecx, edx
je 0x48b660
mov esi, dword [ecx]
mov esi, dword [esi]
mov dword [eax], esi
mov esi, dword [ecx]
add ecx, 4
add eax, 4
cmp ecx, edx
lea ebp, [esp + 0x14]
mov dword [esi], ebp
jne 0x48b648
add edi, 1
cmp edi, dword [ebx + 0x48]
jl 0x48b630
mov ecx, dword [ebx + 0x28c]
sub ecx, 1
je 0x48b6cc
sub ecx, 1
jne 0x48b71a
xor edi, edi
cmp dword [ebx + 0x18], edi
jle 0x48b71a
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edi*4]
mov esi, dword [edx + 8]
mov ebp, dword [edx + 0xc]
lea ecx, [esi + edx]
lea esi, [esi + ebp*4]
add esi, edx
cmp ecx, esi
je 0x48b6c2
nop
mov edx, dword [ecx]
cmp byte [edx + 8], 0
mov edx, dword [edx + 4]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add ecx, 4
lea ebp, [esp + 0x14]
add eax, 4
cmp ecx, esi
mov dword [edx], ebp
jne 0x48b6a0
add edi, 1
cmp edi, dword [ebx + 0x18]
jl 0x48b687
jmp 0x48b71a
xor edi, edi
cmp dword [ebx + 0x18], edi
jle 0x48b71a
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edi*4]
mov esi, dword [edx + 8]
mov ebp, dword [edx + 0xc]
lea ecx, [esi + edx]
lea esi, [esi + ebp*4]
add esi, edx
cmp ecx, esi
je 0x48b712
jmp 0x48b6f0
mov edx, dword [ecx]
cmp byte [edx + 0xc], 0
mov edx, dword [edx + 8]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ecx]
mov edx, dword [edx + 8]
add ecx, 4
lea ebp, [esp + 0x14]
add eax, 4
cmp ecx, esi
mov dword [edx], ebp
jne 0x48b6f0
add edi, 1
cmp edi, dword [ebx + 0x18]
jl 0x48b6d3
lea eax, [esp + 0x1c]
push eax
call fcn.004013b0
mov ecx, dword [esp + 0x7c]
xor edi, edi
xor eax, eax
cmp dword [esp + 0x70], edi
je 0x48b927
sub ecx, 1
je 0x48b7c2
sub ecx, 1
jne 0x48b830
mov ecx, dword [esp + 0x80]
mov ebp, dword [ecx + 0x14]
test ebp, ebp
je 0x48b830
lea ebx, [ebx]
mov edx, dword [esp + 0x80]
mov ecx, dword [edx]
mov ecx, dword [ecx + ebp*4 - 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
sub ebp, 1
lea esi, [edx + esi*4]
add esi, ecx
lea ebx, [edx + ecx]
cmp esi, ebx
je 0x48b7bc
mov ecx, dword [esi - 4]
sub esi, 4
cmp byte [ecx + 8], 0
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x14]
cmp dword [ecx], edx
jne 0x48b7b8
cmp eax, edi
mov dword [ecx], 0
jne 0x48b7b1
lea eax, [esp + 0x1c]
push eax
call fcn.00402250
lea edi, [eax + 0xff0]
mov ecx, dword [esi]
mov dword [eax], ecx
add eax, 4
cmp esi, ebx
jne 0x48b782
test ebp, ebp
jne 0x48b760
jmp 0x48b830
mov edx, dword [esp + 0x80]
mov ebp, dword [edx + 0x14]
test ebp, ebp
je 0x48b830
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov ecx, dword [edx + ebp*4 - 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
sub ebp, 1
lea esi, [edx + esi*4]
add esi, ecx
lea ebx, [edx + ecx]
cmp esi, ebx
je 0x48b82c
mov ecx, dword [esi - 4]
sub esi, 4
cmp byte [ecx + 0xc], 0
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x14]
cmp dword [ecx], edx
jne 0x48b828
cmp eax, edi
mov dword [ecx], 0
jne 0x48b821
lea eax, [esp + 0x1c]
push eax
call fcn.00402250
lea edi, [eax + 0xff0]
mov ecx, dword [esi]
mov dword [eax], ecx
add eax, 4
cmp esi, ebx
jne 0x48b7f2
test ebp, ebp
jne 0x48b7d0
push edi
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00401530
lea eax, [esp + 0x34]
push eax
call fcn.004013b0
mov ecx, dword [esp + 0x74]
mov edi, dword [ecx + 0x14]
xor eax, eax
xor ebp, ebp
test edi, edi
je 0x48b8a5
mov edx, dword [esp + 0x74]
mov ecx, dword [edx]
mov ecx, dword [ecx + edi*4 - 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
sub edi, 1
lea esi, [edx + esi*4]
add esi, ecx
lea ebx, [edx + ecx]
cmp esi, ebx
je 0x48b8a1
mov edx, dword [esi - 4]
sub esi, 4
lea ecx, [esp + 0x14]
cmp dword [edx], ecx
jne 0x48b89d
cmp eax, ebp
jne 0x48b896
lea edx, [esp + 0x34]
push edx
call fcn.00402250
lea ebp, [eax + 0xff0]
mov ecx, dword [esi]
mov dword [eax], ecx
add eax, 4
cmp esi, ebx
jne 0x48b874
test edi, edi
jne 0x48b855
push ebp
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00401530
lea eax, [esp + 0x4c]
push eax
call fcn.004013b0
mov ecx, dword [esp + 0x78]
mov edi, dword [ecx + 0x14]
xor eax, eax
xor ebp, ebp
test edi, edi
je 0x48b921
lea ebx, [ebx]
mov edx, dword [esp + 0x78]
mov ecx, dword [edx]
mov ecx, dword [ecx + edi*4 - 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
sub edi, 1
lea esi, [edx + esi*4]
add esi, ecx
lea ebx, [edx + ecx]
cmp esi, ebx
je 0x48b91d
nop
mov edx, dword [esi - 4]
sub esi, 4
lea ecx, [esp + 0x14]
cmp dword [edx], ecx
jne 0x48b919
cmp eax, ebp
jne 0x48b912
lea edx, [esp + 0x4c]
push edx
call fcn.00402250
lea ebp, [eax + 0xff0]
mov ecx, dword [esi]
mov dword [eax], ecx
add eax, 4
cmp esi, ebx
jne 0x48b8f0
test edi, edi
jne 0x48b8d0
push ebp
jmp 0x48bb58
sub ecx, 1
je 0x48b9bd
sub ecx, 1
jne 0x48ba48
mov ecx, dword [esp + 0x80]
xor ebp, ebp
cmp dword [ecx + 0x14], eax
jle 0x48ba48
jmp 0x48b950
mov edx, dword [esp + 0x80]
mov ecx, dword [edx]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea ebx, [edx + ebx*4]
lea esi, [edx + ecx]
add ebx, ecx
cmp esi, ebx
je 0x48b9a9
mov edi, edi
mov ecx, dword [esi]
cmp byte [ecx + 8], 0
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x14]
cmp dword [ecx], edx
jne 0x48b9a2
cmp eax, edi
mov dword [ecx], 0
jne 0x48b99b
lea eax, [esp + 0x1c]
push eax
call fcn.00402250
lea edi, [eax + 0xff0]
mov ecx, dword [esi]
mov dword [eax], ecx
add eax, 4
add esi, 4
cmp esi, ebx
jne 0x48b970
mov edx, dword [esp + 0x80]
add ebp, 1
cmp ebp, dword [edx + 0x14]
jl 0x48b950
jmp 0x48ba48
lea eax, [esp + 0x1c]
push eax
call fcn.004013b0
mov ecx, dword [esp + 0x80]
xor eax, eax
xor edi, edi
xor ebp, ebp
cmp dword [ecx + 0x14], eax
jle 0x48ba48
lea esp, [esp]
mov edx, dword [esp + 0x80]
mov ecx, dword [edx]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea ebx, [edx + ebx*4]
lea esi, [edx + ecx]
add ebx, ecx
cmp esi, ebx
je 0x48ba39
mov edi, edi
mov ecx, dword [esi]
cmp byte [ecx + 0xc], 0
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x14]
cmp dword [ecx], edx
jne 0x48ba32
cmp eax, edi
mov dword [ecx], 0
jne 0x48ba2b
lea eax, [esp + 0x1c]
push eax
call fcn.00402250
lea edi, [eax + 0xff0]
mov ecx, dword [esi]
mov dword [eax], ecx
add eax, 4
add esi, 4
cmp esi, ebx
jne 0x48ba00
mov edx, dword [esp + 0x80]
add ebp, 1
cmp ebp, dword [edx + 0x14]
jl 0x48b9e0
push edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00401530
lea ecx, [esp + 0x34]
push ecx
call fcn.004013b0
mov edx, dword [esp + 0x74]
xor eax, eax
xor ebp, ebp
xor ebx, ebx
cmp dword [edx + 0x14], eax
jle 0x48bac8
lea ecx, [ecx]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov ecx, dword [edx + ebx*4]
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
lea edi, [edx + edi*4]
lea esi, [edx + ecx]
add edi, ecx
cmp esi, edi
je 0x48babc
jmp 0x48ba90
mov ecx, dword [esi]
lea edx, [esp + 0x14]
cmp dword [ecx], edx
jne 0x48bab5
cmp eax, ebp
jne 0x48baae
lea eax, [esp + 0x34]
push eax
call fcn.00402250
lea ebp, [eax + 0xff0]
mov ecx, dword [esi]
mov dword [eax], ecx
add eax, 4
add esi, 4
cmp esi, edi
jne 0x48ba90
mov edx, dword [esp + 0x74]
add ebx, 1
cmp ebx, dword [edx + 0x14]
jl 0x48ba70
push ebp
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00401530
lea ecx, [esp + 0x4c]
push ecx
call fcn.004013b0
mov ebp, dword [esp + 0x78]
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0x14], ebx
mov dword [esp + 0x80], ebx
jle 0x48bb50
mov edx, dword [ebp]
mov ecx, dword [edx + ebx*4]
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
lea edi, [edx + edi*4]
lea esi, [edx + ecx]
add edi, ecx
cmp esi, edi
je 0x48bb48
lea ebx, [ebx]
mov ecx, dword [esi]
lea edx, [esp + 0x14]
cmp dword [ecx], edx
jne 0x48bb41
cmp eax, dword [esp + 0x80]
jne 0x48bb3a
lea eax, [esp + 0x4c]
push eax
call fcn.00402250
lea ecx, [eax + 0xff0]
mov dword [esp + 0x80], ecx
mov edx, dword [esi]
mov dword [eax], edx
add eax, 4
add esi, 4
cmp esi, edi
jne 0x48bb10
add ebx, 1
cmp ebx, dword [ebp + 0x14]
jl 0x48baf2
mov ecx, dword [esp + 0x80]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
call fcn.00401530
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
xor edi, edi
cmp dword [ebx + 0x30], edi
jle 0x48bba8
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
lea ecx, [edx + esi]
lea edx, [edx + ebp*4]
add edx, esi
cmp ecx, edx
je 0x48bba0
lea ebx, [ebx]
mov esi, dword [ecx]
mov ebp, dword [eax]
add ecx, 4
add eax, 4
cmp ecx, edx
mov dword [esi], ebp
jne 0x48bb90
add edi, 1
cmp edi, dword [ebx + 0x30]
jl 0x48bb72
xor edi, edi
cmp dword [ebx + 0x48], edi
jle 0x48bbe0
nop
mov edx, dword [ebx + 0x34]
mov esi, dword [edx + edi*4]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
lea ecx, [edx + esi]
lea edx, [edx + ebp*4]
add edx, esi
cmp ecx, edx
je 0x48bbd8
mov esi, dword [ecx]
mov ebp, dword [eax]
add ecx, 4
add eax, 4
cmp ecx, edx
mov dword [esi], ebp
jne 0x48bbc8
add edi, 1
cmp edi, dword [ebx + 0x48]
jl 0x48bbb0
mov ecx, dword [ebx + 0x28c]
sub ecx, 1
je 0x48bc39
sub ecx, 1
jne 0x48bc77
xor edi, edi
cmp dword [ebx + 0x18], edi
jle 0x48bc77
nop
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + edi*4]
mov esi, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
lea edx, [esi + ecx]
lea esi, [esi + ebp*4]
add esi, ecx
cmp edx, esi
je 0x48bc2f
mov ecx, dword [edx]
mov ebp, dword [eax]
add eax, 4
cmp byte [ecx + 8], 0
mov ecx, dword [ecx + 4]
add edx, 4
cmp edx, esi
mov dword [ecx], ebp
jne 0x48bc18
add edi, 1
cmp edi, dword [ebx + 0x18]
jl 0x48bc00
jmp 0x48bc77
xor edi, edi
cmp dword [ebx + 0x18], edi
jle 0x48bc77
mov edx, dword [ebx + 4]
mov ecx, dword [edx + edi*4]
mov esi, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
lea edx, [esi + ecx]
lea esi, [esi + ebp*4]
add esi, ecx
cmp edx, esi
je 0x48bc6f
mov ecx, dword [edx]
mov ebp, dword [eax]
add eax, 4
cmp byte [ecx + 0xc], 0
mov ecx, dword [ecx + 8]
add edx, 4
cmp edx, esi
mov dword [ecx], ebp
jne 0x48bc58
add edi, 1
cmp edi, dword [ebx + 0x18]
jl 0x48bc40
mov edx, dword [esp + 0x10]
push edx
call fcn.004a30d0
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 4]
push ecx
call fcn.00401c40
lea edx, [esp + 0x34]
push edx
lea eax, [ebx + 0x1c]
push eax
call fcn.00401c40
lea ecx, [esp + 0x4c]
push ecx
add ebx, 0x34
push ebx
call fcn.00401c40
lea edx, [esp + 0x1c]
push edx
call fcn.00401370
lea eax, [esp + 0x34]
push eax
call fcn.00401370
lea ecx, [esp + 0x4c]
push ecx
call fcn.00401370
mov ebx, dword [esp + 0x68]
pop edi
pop ebp
mov esi, dword [esp + 0x64]
push esi
push str.SET_SORT_2__d_n
call fcn.0048e370
mov eax, dword [esp + 0x7c]
xor edx, edx
add esp, 8
cmp dword [esp + 0x68], edx
push ebx
sete dl
mov dword [ebx + 0x278], esi
mov dword [ebx + 0x28c], eax
mov dword [ebx + 0x27c], edx
call fcn.00447450
pop esi
pop ebx
add esp, 0x54
ret 0x1c