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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], eax
test eax, eax
jle 0x1026a7ad
mov eax, dword [esp + 0x70]
lea edx, [eax - 1]
and eax, 3
xor ecx, ecx
cmp edx, 3
jb 0x1026a77e
mov edx, dword [esp + 0x70]
and edx, 0xfffffffc
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + 0x3c]
xor ecx, ecx
nop dword [eax]
mov dword [esi - 0x30], ecx
lea edi, [ecx + 1]
mov dword [esi - 0x20], edi
lea edi, [ecx + 2]
mov dword [esi - 0x10], edi
lea edi, [ecx + 3]
mov dword [esi], edi
add ecx, 4
add esi, 0x40
cmp edx, ecx
jne 0x1026a760
test eax, eax
je 0x1026a7ad
mov edx, ecx
shl edx, 4
mov esi, dword [esp + 0x1c]
add edx, esi
add edx, 0xc
shl eax, 4
xor esi, esi
nop word cs:[eax + eax]
nop
mov dword [edx + esi], ecx
add ecx, 1
add esi, 0x10
cmp eax, esi
jne 0x1026a7a0
push 0x1026f1b0
push 0x10
mov edi, dword [esp + 0x78]
push edi
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
test edi, edi
jle 0x1026ad19
mov eax, dword [esp + 0xc]
add eax, 0x18
mov dword [esp + 0x48], eax
xor eax, eax
mov ecx, esi
jmp 0x1026a7f5
mov dword [ecx + edx + 8], 0
add eax, 1
cmp eax, dword [esp + 0x70]
je 0x1026acbf
mov edx, eax
shl edx, 4
movzx esi, word [ecx + edx + 4]
test esi, esi
je 0x1026a7e0
movzx ebx, word [ecx + edx + 6]
mov edi, ebx
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x1026a7e0
mov dword [esp + 0x20], edx
mov dword [esp + 0x54], eax
mov eax, esi
mov esi, dword [esp + 0xc]
mov ebx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x50], eax
lea edi, [eax + ecx]
add edi, 0xffffffff
mov eax, edi
cdq
idiv ecx
sub edi, edx
mov edx, ebx
mov ebx, dword [esi + 0x18]
movzx eax, word [ebx]
lea ebp, [edi + eax]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], ebp
cmp ebp, edx
mov dword [esp + 0x10], edi
jle 0x1026a887
mov dword [esp + 8], 0
mov dword [esp + 0x2c], 0x40000000
mov dword [esp + 4], 0x40000000
mov dword [esp], 0
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x38], 1
je 0x1026aa4c
jmp 0x1026abe0
xor ecx, ecx
mov dword [esp + 0x2c], 0x40000000
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x40000000
mov dword [esp + 0x24], ebx
mov dword [esp], edx
jmp 0x1026a90a
mov eax, dword [esp + 4]
cmp esi, eax
cmovl eax, esi
mov dword [esp + 4], eax
mov ecx, dword [esp + 8]
cmovl ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp]
mov eax, dword [esp + 0x18]
mov esi, eax
mov eax, dword [eax + 4]
add esi, 4
mov dword [esp + 0x14], esi
movzx esi, word [eax]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
add esi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
cmp esi, edx
jg 0x1026aa14
mov dword [esp + 8], ecx
mov esi, 0
mov ebx, 0
test edi, edi
jle 0x1026a9b0
xor ebx, ebx
mov eax, dword [esp + 0x28]
xor edx, edx
xor ecx, ecx
mov ebp, dword [esp + 0x18]
jmp 0x1026a972
mov ebp, dword [ebp + 4]
mov dword [esp + 0x34], ebp
movzx edi, word [ebp]
mov esi, edi
sub esi, eax
lea eax, [esi + edx]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov ebp, eax
sub ebp, edx
cmp dword [esp + 0x40], eax
cmovle ebp, esi
imul ebx, ebp
mov esi, ecx
mov eax, dword [esp + 0x44]
add eax, ebx
mov ebx, eax
add edx, ebp
mov eax, edi
mov ecx, esi
cmp dword [esp + 0x30], edi
mov ebp, dword [esp + 0x34]
jle 0x1026a9b0
mov dword [esp + 0x44], ebx
movzx esi, word [ebp + 2]
mov ebx, ecx
sub ebx, esi
jge 0x1026a930
mov ebx, esi
sub ebx, ecx
imul ebx, edx
mov ebp, dword [ebp + 4]
movzx edi, word [ebp]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x34], ebp
mov ebp, edi
jae 0x1026a9a0
sub ebp, ecx
jmp 0x1026a95a
sub ebp, eax
jmp 0x1026a95a
cmp dword [esp + 0x38], 0
je 0x1026a8c0
mov eax, dword [esp + 0x3c]
add eax, esi
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jle 0x1026a9e0
mov ecx, dword [esp + 8]
jmp 0x1026a8d6
mov eax, ebx
cmp esi, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp]
jl 0x1026aa03
jne 0x1026a8dd
cmp eax, dword [esp + 0x2c]
jge 0x1026a8dd
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x1026a8dd
test ecx, ecx
mov edx, dword [esp + 0x20]
je 0x1026aa2a
mov dword [esp + 8], ecx
mov eax, dword [ecx]
movzx eax, word [eax]
mov dword [esp], eax
jmp 0x1026aa39
mov dword [esp + 8], 0
mov dword [esp], 0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x38], 1
jne 0x1026abe0
mov ecx, ebx
cmp edi, eax
jle 0x1026aa6c
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [ecx + 4]
movzx eax, word [ecx]
cmp edi, eax
jg 0x1026aa60
jmp 0x1026aa76
mov ecx, ebx
test ebx, ebx
je 0x1026abe0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x1026aaaf
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
test ecx, ecx
mov ebx, dword [esp + 0x24]
je 0x1026abe0
mov dword [esp + 0x18], ecx
movzx ebp, word [ecx]
mov dword [esp + 0x30], ebp
sub ebp, edi
mov ecx, ebx
nop
mov edi, ecx
mov esi, eax
lea eax, [ecx + 4]
mov ecx, dword [ecx + 4]
movzx edx, word [ecx]
cmp ebp, edx
jge 0x1026aac0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], edi
movzx eax, word [edi]
xor ebx, ebx
mov ebp, 0
cmp word [esp + 0x30], ax
jbe 0x1026ab80
xor ebp, ebp
xor ecx, ecx
xor esi, esi
mov edx, dword [esp + 0x24]
jmp 0x1026ab41
mov edx, dword [edx + 4]
mov dword [esp + 0x34], edx
movzx edi, word [edx]
mov ebx, edi
sub ebx, eax
lea eax, [ebx + ecx]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov edx, eax
sub edx, ecx
cmp dword [esp + 0x40], eax
cmovle edx, ebx
imul ebp, edx
mov ebx, esi
mov eax, dword [esp + 0x44]
add eax, ebp
mov ebp, eax
add ecx, edx
mov eax, edi
mov esi, ebx
cmp edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
jae 0x1026ab80
mov dword [esp + 0x44], ebp
movzx ebx, word [edx + 2]
mov ebp, esi
sub ebp, ebx
jge 0x1026ab00
mov ebp, ebx
sub ebp, esi
imul ebp, ecx
mov edx, dword [edx + 4]
movzx edi, word [edx]
mov esi, dword [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x34], edx
mov edx, edi
jge 0x1026ab70
sub edx, esi
jmp 0x1026ab29
sub edx, eax
jmp 0x1026ab29
mov eax, dword [esp + 0x3c]
add eax, ebx
cmp eax, dword [esp + 0x38]
jge 0x1026aa90
cmp ebx, dword [esp + 4]
jg 0x1026aa90
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
jl 0x1026abc5
cmp ebp, dword [esp + 0x2c]
jl 0x1026abc5
jne 0x1026aaa0
cmp esi, dword [esp]
jge 0x1026aaa0
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 0x2c], ebp
jmp 0x1026aaa0
cmp dword [esp + 8], 0
je 0x1026ac80
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
cmp ecx, dword [eax + 4]
jg 0x1026ac80
mov esi, ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1026ac80
mov ebx, dword [esp]
mov eax, ebx
mov word [ecx], bx
mov word [ecx + 2], si
mov edx, dword [ecx + 4]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x1c], edx
mov edi, dword [esp + 8]
mov edx, dword [edi]
movzx esi, word [edx]
cmp ebx, esi
jle 0x1026ac3a
mov esi, dword [edx + 4]
add edx, 4
mov edi, edx
mov edx, esi
mov esi, dword [esp + 0x50]
mov dword [edi], ecx
mov ebx, dword [edx + 4]
add dword [esp], esi
test ebx, ebx
je 0x1026ac95
lea edi, [edx + 4]
nop dword [eax]
mov esi, ebx
movzx ebx, word [ebx]
cmp dword [esp], ebx
jl 0x1026ac95
mov ebp, dword [esp + 0xc]
mov ebx, dword [ebp + 0x1c]
mov dword [edi], ebx
mov dword [ebp + 0x1c], edx
lea edi, [esi + 4]
mov ebx, dword [esi + 4]
mov edx, esi
test ebx, ebx
jne 0x1026ac50
jmp 0x1026ac97
mov ecx, dword [esp + 0x1c]
mov dword [ecx + edx + 8], 0xffffffff
mov eax, dword [esp + 0x54]
jmp 0x1026a7e8
mov esi, edx
mov dword [ecx + 4], esi
movzx ecx, word [esi]
mov edx, dword [esp]
cmp edx, ecx
jle 0x1026aca7
mov word [esi], dx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov word [ecx + edx + 8], ax
mov eax, dword [esp + 4]
mov word [ecx + edx + 0xa], ax
jmp 0x1026ac8c
push 0x1026f1f0
push 0x10
mov esi, dword [esp + 0x78]
push esi
push ecx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test esi, esi
jle 0x1026ad14
add ecx, 0xc
jmp 0x1026ad09
cmp word [ecx - 2], 0xffff
sete al
xor al, 1
movzx eax, al
mov dword [ecx], eax
add ecx, 0x10
add dword [esp + 0x58], 0xffffffff
je 0x1026ad14
cmp word [ecx - 4], 0xffff
je 0x1026acf0
xor eax, eax
jmp 0x1026acf8
add esp, 0x5c
jmp 0x1026ad2b
push 0x1026f1f0
push 0x10
push edi
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret